Merge "Improve log message when port losts its vlan tag" into stable/queens
This commit is contained in:
commit
12e485591a
|
@ -1496,9 +1496,11 @@ class OVSNeutronAgent(l2population_rpc.L2populationRpcCallBackTunnelMixin,
|
||||||
):
|
):
|
||||||
LOG.info(
|
LOG.info(
|
||||||
"Port '%(port_name)s' has lost "
|
"Port '%(port_name)s' has lost "
|
||||||
"its vlan tag '%(vlan_tag)d'!",
|
"its vlan tag '%(vlan_tag)d'! "
|
||||||
|
"Current vlan tag on this port is '%(new_vlan_tag)d'.",
|
||||||
{'port_name': port.port_name,
|
{'port_name': port.port_name,
|
||||||
'vlan_tag': lvm.vlan}
|
'vlan_tag': lvm.vlan,
|
||||||
|
'new_vlan_tag': port_tags[port.port_name]}
|
||||||
)
|
)
|
||||||
changed_ports.add(port.vif_id)
|
changed_ports.add(port.vif_id)
|
||||||
if changed_ports:
|
if changed_ports:
|
||||||
|
|
Loading…
Reference in New Issue