neutron/neutron/tests/common
Kevin Benton cc791b04f0 Fix usage of netaddr '.broadcast'
netaddr 0.7.16 changed the behavior of ipnetworks with /31 and /32
prefixes to make their 'broadcast' attribute return none. this patch
replaces the use of the attribute with a -1 index lookup to get the
last address instead.

for stable kilo we also fix neutron/db/db_base_plugin_v2.py which had
the checks in neutron/ipam/utils.py for Liberty.

closes-bug: #1490380
(cherry picked from commit 6324f7f23d)

conflicts:
	neutron/ipam/utils.py
	neutron/plugins/linuxbridge/agent/linuxbridge_neutron_agent.py

Change-Id: I97d71c4051882ddd9e496c78cfbce840ad7a2b67
2015-08-31 15:23:35 +02:00
..
agents Refactor management of namespaces in the L3 Agent 2015-03-04 21:28:23 +00:00
__init__.py Test HA router failover 2014-11-24 12:05:09 +02:00
base.py Simplify base test cases 2015-03-26 18:01:22 -07:00
helpers.py Add full-stack tests framework 2015-03-26 20:21:40 +02:00
net_helpers.py Fix usage of netaddr '.broadcast' 2015-08-31 15:23:35 +02:00