]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Don't process network_delete events on OVS agent
authorKevin Benton <blak111@gmail.com>
Wed, 24 Jun 2015 09:15:29 +0000 (02:15 -0700)
committerKevin Benton <blak111@gmail.com>
Wed, 24 Jun 2015 09:15:29 +0000 (02:15 -0700)
commitf527f8cf426ee63b592225d5e691ac107085784d
tree0e385bd72537cbea3f32a273c57ec4701d3095bc
parent48205601dd754a59673146497699e2f93f1e982f
Don't process network_delete events on OVS agent

There is no reason to reclaim the local VLAN on a network_delete
event since it will be reclaimed when the last port is deleted anyway.

This method was racey with recent port creation events and lead to
occasional traces when it would yank the local VLAN out from underneath
an ongoing port wiring process.

Change-Id: I5eee6175c053006b35b6efe274d27931a9d5d89f
Closes-Bug: #1468251
neutron/plugins/openvswitch/agent/ovs_neutron_agent.py
neutron/tests/unit/plugins/openvswitch/agent/test_ovs_neutron_agent.py