]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Disallow unsharing used firewall policy
authorKoteswara Rao Kelam <koteswara.kelam@hp.com>
Fri, 26 Sep 2014 11:34:11 +0000 (04:34 -0700)
committerKoteswara Rao Kelam <koteswara.kelam@hp.com>
Mon, 29 Sep 2014 09:24:45 +0000 (02:24 -0700)
commitea3a0a428fac308f9ab65d0beb733de380cace56
tree91b469ba414dea1096fa980e9a745ac049459806
parentff9745c9527399df52f56b022a698cd63e48d537
Disallow unsharing used firewall policy

When admin policy p1 is shared and is used by firewall f1 of different tenant,
then updating p1 with shared=False should not be allowed as it is in use.

Change-Id: I7c753f9d8a25a7edc40233316398475c8ad3efe9
Closes-bug: #1334994
neutron/db/firewall/firewall_db.py
neutron/tests/unit/db/firewall/test_db_firewall.py