]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Allow get_unused_ip method to skip v6 and fix iter
authorKevin Benton <blak111@gmail.com>
Wed, 6 Jan 2016 20:48:28 +0000 (12:48 -0800)
committerKevin Benton <blak111@gmail.com>
Wed, 6 Jan 2016 21:27:54 +0000 (13:27 -0800)
commit8e5424865386dfce5c01864a63474711caad760b
treefbfa6112ae63f8c14a7251f8a50a849871527a23
parent3bcc1c3d4cbc42e81583a0bd48499bc8ef44dd80
Allow get_unused_ip method to skip v6 and fix iter

Skip IPv6 subnets when looking for an unused IP in the
floating IP tests since floating IPs cannot be requested
with v6 addresses.

This also fixes the iterator for the non-allocation pool
case.

Closes-Bug: #1531706
Change-Id: Id0b2c28970ab61e45755818e3e0798daa4453ce7
neutron/tests/api/admin/test_floating_ips_admin_actions.py
neutron/tests/api/base.py