Log INFO message when setting admin state up flag to False for OVS port
Disabling admin state can cause confusion in OVS agent logs as to why VLAN 4095 is set to a particular port. This commit adds an extra INFO log message when admin state is disabled. There is no log emitted upon enabling admin state as there is already a detailed log entry logged in treat_devices_added_or_updated() function. Change-Id: I1301db8fea75af211f66a1914d1f0b706a6d5b36 Closes-Bug: 1463891
This commit is contained in:
parent
ebb0dffd2f
commit
7ca04daa71
@ -1333,6 +1333,9 @@ class OVSNeutronAgent(sg_rpc.SecurityGroupAgentRpcCallbackMixin,
|
||||
physical_network, segmentation_id,
|
||||
fixed_ips, device_owner, ovs_restarted)
|
||||
else:
|
||||
LOG.info(_LI("VIF port: %s admin state up disabled, "
|
||||
"putting on the dead VLAN"), vif_port.vif_id)
|
||||
|
||||
self.port_dead(vif_port)
|
||||
port_needs_binding = False
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user