]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add explicit address family to AddressScope
authorRyan Tidwell <ryan.tidwell@hpe.com>
Sat, 10 Oct 2015 00:07:51 +0000 (17:07 -0700)
committerRyan Tidwell <ryan.tidwell@hpe.com>
Mon, 14 Dec 2015 19:02:27 +0000 (11:02 -0800)
commit6894e7db22df67651ada3f6e0e2196d57dc51497
treedd6f99fe5bb557d24e856aac2af30b32416ec895
parentcdd2d6c07db154c6a4cb59903cb2e01ec58be3db
Add explicit address family to AddressScope

Adds an ip_version field for enforcing an address family on
an AddressScope.  All SubnetPools in an AddressScope must be
from the same address family. A SubnetPool cannot be created
in an AddressScope with a different address family.

Change-Id: Ibc6de08e0ef58a5da954d13f274f6003012a76cd
Partially-Implements: blueprint address-scopes
neutron/common/exceptions.py
neutron/db/address_scope_db.py
neutron/db/db_base_plugin_v2.py
neutron/db/migration/alembic_migrations/versions/EXPAND_HEAD
neutron/db/migration/alembic_migrations/versions/mitaka/expand/c3a73f615e4_add_ip_version_to_address_scope.py [new file with mode: 0644]
neutron/extensions/address_scope.py
neutron/tests/api/test_address_scopes.py
neutron/tests/api/test_address_scopes_negative.py
neutron/tests/api/test_subnetpools.py
neutron/tests/api/test_subnetpools_negative.py
neutron/tests/unit/extensions/test_address_scope.py