OVS-DVR: Suppress a confusing error log about csnat port
Complain only when the port was seen on a different subnet. Change-Id: If4a310da06f9b0076a9f62926a16b574a8c109ce
This commit is contained in:
parent
dca3cdfae9
commit
8dbacebf67
|
@ -600,6 +600,8 @@ class OVSDVRNeutronAgent(object):
|
|||
# dvr routed subnet
|
||||
ovsport = self.local_ports[port.vif_id]
|
||||
subs = list(ovsport.get_subnets())
|
||||
if subs[0] == fixed_ips[0]['subnet_id']:
|
||||
return
|
||||
LOG.error(_LE("Centralized-SNAT port %(port)s on subnet "
|
||||
"%(port_subnet)s already seen on a different "
|
||||
"subnet %(orig_subnet)s"), {
|
||||
|
|
Loading…
Reference in New Issue