Merge "Add extra debug log with current and new port statuses in ML2 plugin"
This commit is contained in:
commit
52c4678201
@ -2210,6 +2210,8 @@ class Ml2Plugin(db_base_plugin_v2.NeutronDbPluginV2,
|
|||||||
updated = False
|
updated = False
|
||||||
network = None
|
network = None
|
||||||
port_id = port.id
|
port_id = port.id
|
||||||
|
LOG.debug("Current status of the port %s is: %s; "
|
||||||
|
"New status is: %s", port_id, port.status, status)
|
||||||
if ((port.status != status and
|
if ((port.status != status and
|
||||||
port['device_owner'] != const.DEVICE_OWNER_DVR_INTERFACE) or
|
port['device_owner'] != const.DEVICE_OWNER_DVR_INTERFACE) or
|
||||||
port['device_owner'] == const.DEVICE_OWNER_DVR_INTERFACE):
|
port['device_owner'] == const.DEVICE_OWNER_DVR_INTERFACE):
|
||||||
|
Loading…
Reference in New Issue
Block a user