]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix unable to add allow all IPv4/6 security group rule
authorAaron Rosen <arosen@nicira.com>
Thu, 21 Nov 2013 13:28:28 +0000 (05:28 -0800)
committerAaron Rosen <arosen@nicira.com>
Sun, 1 Dec 2013 18:44:39 +0000 (10:44 -0800)
commit9335ffd7c3eaad0d66d7d19e7760ae12476a5ea2
tree5f212fa560be3e9893514fb910660eb2c116adcc
parent426ada771a0114ef2b1ba24b2161d718758598ae
Fix unable to add allow all IPv4/6 security group rule

Previously, if one tried to add a rule to allow all ingress ipv4 neutron
would respond that the rule was already part of the security group.
This happened as the filter for querying existing rules uses a wildcard for
remote_group_id thus returning a false match. This patch addresses
this issue.

Change-Id: I0320013a3869d25fb424995354721929465d2848
Closes-bug: #1252806
neutron/db/securitygroups_db.py
neutron/tests/unit/test_extension_security_group.py