]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Remove port from ovsdb after its deletion
authorElena Ezhova <eezhova@mirantis.com>
Wed, 24 Dec 2014 14:09:32 +0000 (17:09 +0300)
committerElena Ezhova <eezhova@mirantis.com>
Tue, 10 Feb 2015 15:18:06 +0000 (18:18 +0300)
commitd6a55c17360d1aa8ca91849199987ae71e8600ee
treec4ee1deace39a6269391888a928eb639452fed2c
parent874dd6db8a7cdfe69727cce97a57f16f7160992b
Remove port from ovsdb after its deletion

When port is being deleted via API it is not removed
from ovsdb and corresponding iptables chains remain
even though the port does not exist.

This patch adds a notification for the ovs neutron agent,
upon which the port is deleted from ovsdb.

Co-Authored-By: Akash Gangil <akashg1611@gmail.com>
Closes-Bug: #1333365
Change-Id: Iccda3bee98d561ef3a06d0317d3d68d6b1dfb76b
neutron/plugins/ml2/plugin.py
neutron/plugins/ml2/rpc.py
neutron/plugins/openvswitch/agent/ovs_neutron_agent.py
neutron/tests/unit/ml2/test_rpcapi.py
neutron/tests/unit/openvswitch/test_ovs_neutron_agent.py