]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Proper validation for inserting firewall rule
authorKoteswara Rao Kelam <koti.kelam@gmail.com>
Tue, 17 Jun 2014 14:03:10 +0000 (07:03 -0700)
committerKoteswara Rao Kelam <koteswara.kelam@hp.com>
Wed, 6 Aug 2014 13:18:22 +0000 (06:18 -0700)
commitc86b1f7723e4a4f768773a68fc3ac197ac751482
treed2873c0b5b079f0ac2d24c4412b2295057ee5165
parent1d8afc7593fa04b8f804e13711ee36ea5bda0957
Proper validation for inserting firewall rule

Say rule r2 is associated with policy p2. If user tries to insert rule r1
into a policy p1 before/after r2, error should be thrown saying that rule
r2 is not associated with policy p1.

Change-Id: Ifa415acc9533b7a323f966ee42d476460e68c9d3
Closes-bug: 1330898
neutron/db/firewall/firewall_db.py
neutron/tests/unit/db/firewall/test_db_firewall.py