]> 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 <blak111@gmail.com>
Fri, 24 Oct 2014 17:05:44 +0000 (10:05 -0700)
commita1e78b2e8836053d8ffb29bce0f862e8a5f19c2f
tree353de1a4e3791f90fc7999ff2669239ba88114af
parent17204e8f02fdad046dabdb8b31397289d72c877b
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
neutron/db/securitygroups_rpc_base.py
neutron/tests/unit/test_security_groups_rpc.py