]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
nec plugin: allow to delete resource with ERROR status
authorAkihiro Motoki <motoki@da.jp.nec.com>
Sat, 15 Mar 2014 15:16:23 +0000 (00:16 +0900)
committerAkihiro Motoki <motoki@da.jp.nec.com>
Wed, 26 Mar 2014 15:34:06 +0000 (00:34 +0900)
commitf45c1c52423dcbb2ea7690d56b3edc232d16636e
treed0480efd06983543739746605e56fb3e79284968
parent96c0928a46119e9bbebf69f1734875f864f1e51f
nec plugin: allow to delete resource with ERROR status

Previously if a resource is in ERROR status and there is no
corresponding resource on OpenFlow controller, the resource
cannot be deleted through an API request.
This commit rearrange ERROR status check to allow resource
with ERROR status to be deleted.

Closes-Bug: #1295754
Change-Id: I709f5e2066eb5d12ec0f42dff15797acddc2009e
neutron/plugins/nec/nec_plugin.py
neutron/plugins/nec/packet_filter.py
neutron/plugins/nec/router_drivers.py
neutron/tests/unit/nec/test_nec_plugin.py
neutron/tests/unit/nec/test_packet_filter.py