]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Implement default subnet pool configuration settings
authorCarl Baldwin <carl.baldwin@hp.com>
Thu, 26 Mar 2015 18:10:10 +0000 (18:10 +0000)
committerCarl Baldwin <carl.baldwin@hp.com>
Wed, 1 Apr 2015 16:05:57 +0000 (16:05 +0000)
commit342859455690fed57adc9296c457f1bd7a7a93a2
tree98d1a1a4e3fea5b9226887420a9b58164f67c434
parentfb8ea72240700573e97a70597418453374fbd02f
Implement default subnet pool configuration settings

The default_ipv6_subnet_pool option was added [1] as an integration
point between prefix delegation work and subnet allocation work.  This
patch completes the integration with subnet allocation.  This
addresses the use case where a deployer wants all ipv6 addresses to
come -- by default -- from a globally routable pool of ipv6 addresses.

In a deployment with this option set, an API user can still access the
old behavior by passing None explicitly as subnetpool_id when creating
a subnet.

This patch also adds the default_ipv4_subnet_pool for completeness.

[1] https://review.openstack.org/#/c/166973

Change-Id: I301189b5cd31d7c5fa4a40fa3e04f8e6ac77592b
Partially-Implements: blueprint subnet-allocation
etc/neutron.conf
neutron/api/v2/attributes.py
neutron/common/config.py
neutron/db/db_base_plugin_v2.py
neutron/tests/unit/opencontrail/test_contrail_plugin.py
neutron/tests/unit/test_db_plugin.py