Merge "Log INFO message when setting admin state up flag to False for OVS port"

This commit is contained in:
Jenkins 2016-01-13 02:52:18 +00:00 committed by Gerrit Code Review
commit 6576b7061e
1 changed files with 3 additions and 0 deletions

View File

@ -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: