Browse Source

Merge "Improve log message when port losts its vlan tag" into stable/rocky

changes/20/740220/1
Zuul 1 month ago
committed by Gerrit Code Review
parent
commit
845dfb68c4
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py

+ 4
- 2
neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py View File

@@ -1539,9 +1539,11 @@ class OVSNeutronAgent(l2population_rpc.L2populationRpcCallBackTunnelMixin,
):
LOG.info(
"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,
'vlan_tag': lvm.vlan}
'vlan_tag': lvm.vlan,
'new_vlan_tag': port_tags[port.port_name]}
)
changed_ports.add(port.vif_id)
if changed_ports:


Loading…
Cancel
Save