]> 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)
committerXuhan Peng <xuhanp@cn.ibm.com>
Fri, 28 Feb 2014 10:02:04 +0000 (05:02 -0500)
commitfc5e52b476fe7260493b17979e81513e8f4f7a78
treed7761422e41856b99f333a70f66a76d35582a913
parent86cdcd3605b4ca630b343f2e3a07b32754455a73
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