]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Properly synchronize status for ports deleted from backend
authorSalvatore Orlando <salv.orlando@gmail.com>
Tue, 24 Sep 2013 14:40:51 +0000 (07:40 -0700)
committerSalvatore Orlando <salv.orlando@gmail.com>
Tue, 24 Sep 2013 14:40:51 +0000 (07:40 -0700)
commit0764fc75c1b93e2361704ee40b68a5098d7b73b2
tree9e8742340689dd859e21e95a2585dec8e87918f7
parent090aa26bf5c9a3e7f6532c70bbad3451c0a09bf8
Properly synchronize status for ports deleted from backend

Ensure that the status for a port is properly synchronized even
when the port itself does not exist anymore in the backend, avoiding
raising exceptions due to missing results in the NVP query.

This patch also adjusts a comment and improves exception handling
in _nvp_get_port_id

Bug 1229331

Change-Id: Ibaa581006c994a543c1795dd3f1d50086583b953
neutron/plugins/nicira/NeutronPlugin.py
neutron/plugins/nicira/common/sync.py