]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Change firewall to DOWN when admin state down
authorXuhan Peng <xuhanp@cn.ibm.com>
Fri, 14 Feb 2014 09:20:01 +0000 (04:20 -0500)
committerThomas Goirand <thomas@goirand.fr>
Thu, 13 Mar 2014 07:20:36 +0000 (15:20 +0800)
commit2e3df969c2e165619c0d55618ef6117b86e65ab4
tree506d95efb770b87ab359c5c6602c367fa4d4bfac
parentcc77f5495ef19fb54a2ded83e7c4d701e58ffbf6
Change firewall to DOWN when admin state down

Currently firewall remains in status "ACTIVE" after admin state
is changed to DOWN.

This fix sets firewall status to "DOWN" if admin state is updated
from "UP" to "DOWN". "DOWN" status is used by other network resources
so use "DOWN" to keep consistent.

Change-Id: If316b114c4df78368b43c2a15a820bb1177b3a54
Closes-Bug: 1279213
neutron/services/firewall/agents/l3reference/firewall_l3_agent.py
neutron/services/firewall/fwaas_plugin.py
neutron/tests/unit/services/firewall/agents/l3reference/test_firewall_l3_agent.py