From ca89d071b3c249fba55a824f7f4fc247b7c22948 Mon Sep 17 00:00:00 2001 From: Miguel Angel Ajo Date: Tue, 4 Oct 2016 18:17:44 +0200 Subject: [PATCH] Reduce the scope of the subnet pool prefix in neutron Some of the clouds used for CI use the 10.2xx.0.0/16 range for VMs, and collide with the wider 10.0.0.0/8. This setting allows for creation of 256 subnets out of the pool. Change-Id: I48c86f94098f1501f0e7f90a265dda7e81440eb0 Closes-Bug: 1629133 --- lib/neutron_plugins/services/l3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/neutron_plugins/services/l3 b/lib/neutron_plugins/services/l3 index 54dae2b4c7..d998c065cf 100644 --- a/lib/neutron_plugins/services/l3 +++ b/lib/neutron_plugins/services/l3 @@ -85,7 +85,7 @@ PUBLIC_SUBNET_NAME=${PUBLIC_SUBNET_NAME:-"public-subnet"} # Subnetpool defaults SUBNETPOOL_NAME=${SUBNETPOOL_NAME:-"shared-default-subnetpool"} -SUBNETPOOL_PREFIX_V4=${SUBNETPOOL_PREFIX_V4:-10.0.0.0/8} +SUBNETPOOL_PREFIX_V4=${SUBNETPOOL_PREFIX_V4:-10.0.0.0/16} SUBNETPOOL_PREFIX_V6=${SUBNETPOOL_PREFIX_V6:-2001:db8:8000::/48} SUBNETPOOL_SIZE_V4=${SUBNETPOOL_SIZE_V4:-24}