]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
In port_dead, handle case when port already deleted
authorRamu Ramamurthy <ramu.ramamurthy@us.ibm.com>
Thu, 19 Nov 2015 23:43:19 +0000 (18:43 -0500)
committerRamu Ramamurthy <ramu.ramamurthy@us.ibm.com>
Mon, 30 Nov 2015 18:46:05 +0000 (13:46 -0500)
commit76cc53c611a639d915761d1fa3c879cda2ba3502
tree1387142adb468e87912404f92e9fc86b2aa1453f
parenta93b889ae517d29332848854b0757a92ffb4f76b
In port_dead, handle case when port already deleted

db_get_val can return None if the port got deleted concurrently.
In this case there is no need to mark it dead and add drop flow for it.

Change-Id: I5ef9665770df3a9bbaf79049b219fadd73e20309
Partial-Bug: #1493414
neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py
neutron/tests/unit/plugins/ml2/drivers/openvswitch/agent/test_ovs_neutron_agent.py