Merge "Add extra logs to the network update callback in L3 agent" into stable/train
This commit is contained in:
commit
9e3b4c6f12
|
@ -585,7 +585,10 @@ class L3NATAgent(ha.AgentMixin,
|
||||||
|
|
||||||
def network_update(self, context, **kwargs):
|
def network_update(self, context, **kwargs):
|
||||||
network_id = kwargs['network']['id']
|
network_id = kwargs['network']['id']
|
||||||
|
LOG.debug("Got network %s update", network_id)
|
||||||
for ri in self.router_info.values():
|
for ri in self.router_info.values():
|
||||||
|
LOG.debug("Checking if router %s is plugged to the network %s",
|
||||||
|
ri, network_id)
|
||||||
ports = list(ri.internal_ports)
|
ports = list(ri.internal_ports)
|
||||||
if ri.ex_gw_port:
|
if ri.ex_gw_port:
|
||||||
ports.append(ri.ex_gw_port)
|
ports.append(ri.ex_gw_port)
|
||||||
|
|
Loading…
Reference in New Issue