From 344af04c0760f7944b49b783501582db92dc5fb9 Mon Sep 17 00:00:00 2001 From: Dan Prince Date: Fri, 12 Jun 2015 14:05:19 -0400 Subject: Flexible IP allocations for isolated nets This patch adds new 'AllocationPool' parameters to all of the isolated network nested stacks so that users can easily control the allocation ranges on these networks. Change-Id: I44b564831446c62e3489a69d992e0fb1f642b085 --- network/tenant.yaml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'network/tenant.yaml') diff --git a/network/tenant.yaml b/network/tenant.yaml index db7f99f3..055b87b8 100644 --- a/network/tenant.yaml +++ b/network/tenant.yaml @@ -33,6 +33,10 @@ parameters: default: tenant_subnet description: The name of the tenant subnet in Neutron. type: string + TenantAllocationPools: + default: [{'start': '172.16.0.4', 'end': '172.16.0.250'}] + description: Ip allocation pool range for the tenant network. + type: json resources: TenantNetwork: @@ -50,6 +54,7 @@ resources: enable_dhcp: {get_param: TenantNetEnableDHCP} name: {get_param: TenantSubnetName} network: {get_resource: TenantNetwork} + allocation_pools: {get_param: TenantAllocationPools} outputs: OS::stack_id: -- cgit 1.2.3-korg