neutron/neutron/agent
Kevin Benton a38b5df5cd Set IPset hash type to 'net' instead of 'ip'
The previous hash type was 'ip' and this caused a major
issue with the allowed address pairs extension since it
results in CIDRs being passed to ipset. When the hash type
is 'ip', a CIDR is completely enumerated into all of its
addresses so 10.100.0.0/16 results in ~65k entries. This
meant a single allowed_address_pairs entry could easily
exhaust an entire set.

This patch changes the hash type to 'net', which is designed
to handle a CIDRs as a single entry.

This patch also changes the names of the ipsets because
creating an ipset with different parameters will cause an
error and our ipset manager code isn't robust enough to handle
that at this time. There is another ongoing patch to fix
that but it won't be ready in time.[1]

The related bug was closed by increasing the set limit, which
did alleviate the problem. However, this change would also
address the issue because the gate tests run an allowed address
pairs extension test with the CIDR mentioned above.

1. I59e2e1c090cb95ee1bd14dbb53b6ff2c5e2713fd

Related-Bug: #1439817
Closes-Bug: #1444397
Change-Id: I8177699b157cd3eac46e2f481f47b5d966c49b07
2015-04-17 01:16:41 +00:00
..
common Move values for network_type to plugins.common.constants.py 2015-04-12 23:59:31 -07:00
dhcp Merge "Reload DHCP interface when its port is updated" 2015-03-29 16:57:50 +00:00
l3 Merge "Some cleanup in L3 HA code" 2015-04-15 15:24:14 +00:00
linux Set IPset hash type to 'net' instead of 'ip' 2015-04-17 01:16:41 +00:00
metadata Merge "Improves the description string for the config parameter metadata_workers." 2015-04-10 06:02:51 +00:00
ovsdb Merge "allow OVSDB connection schema to be configurable" 2015-04-14 06:40:14 +00:00
windows OVS agent support on Hyper-V 2015-03-25 13:48:33 -07:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
dhcp_agent.py Allow metadata proxy running with nobody user/group 2015-04-06 18:31:37 +02:00
firewall.py Add missing methods to NoopFirewallDriver 2014-09-28 22:16:57 +04:00
l2population_rpc.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00
l3_agent.py Allow metadata proxy running with nobody user/group 2015-04-06 18:31:37 +02:00
metadata_agent.py Allow metadata proxy running with nobody user/group 2015-04-06 18:31:37 +02:00
rpc.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00
securitygroups_rpc.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00