]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix handling of CIDR in allowed address pairs
authorKevin Benton <blak111@gmail.com>
Fri, 17 Oct 2014 03:53:21 +0000 (20:53 -0700)
committerKevin Benton <kevinbenton@buttewifi.com>
Wed, 26 Nov 2014 04:09:21 +0000 (04:09 +0000)
commit93f2536be5fe6f136e24caa11a5cea2282fb332d
treeb9105657c81b10be7363d6fe08ab3207608eb1c5
parent463eb73e2a99ad1af2c1f8bba466654b6468af5b
Fix handling of CIDR in allowed address pairs

A CIDR in allowed address pairs would screw up
the calculation of remote security group member
IP addresses due to a call that assumed each entry
was an IP. This patch fixes that an adds a remote
security group reference to the address pairs SG
test case to exercise this code-path.

Closes-Bug: #1382562
Change-Id: I2676f4b56bce7449579d67fb221b3edb7b885103
(cherry picked from commit a1e78b2e8836053d8ffb29bce0f862e8a5f19c2f)
neutron/db/securitygroups_rpc_base.py
neutron/tests/unit/test_security_groups_rpc.py