aboutsummaryrefslogtreecommitdiffstats
path: root/network/external.yaml
diff options
context:
space:
mode:
authorDan Prince <dprince@redhat.com>2015-06-12 14:05:19 -0400
committerDan Prince <dprince@redhat.com>2015-06-12 14:05:19 -0400
commit344af04c0760f7944b49b783501582db92dc5fb9 (patch)
treee967ba3f3bd190355938933075a507f5f6789ffa /network/external.yaml
parent5033fd06894c3ac9ff99a82cb74020868da42306 (diff)
Flexible IP allocations for isolated nets
This patch adds new '<net name>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
Diffstat (limited to 'network/external.yaml')
-rw-r--r--network/external.yaml6
1 files changed, 5 insertions, 1 deletions
diff --git a/network/external.yaml b/network/external.yaml
index e9aa5b32..e015dd88 100644
--- a/network/external.yaml
+++ b/network/external.yaml
@@ -33,7 +33,10 @@ parameters:
default: external_subnet
description: The name of the external subnet in Neutron.
type: string
-
+ ExternalAllocationPools:
+ default: [{'start': '10.0.0.4', 'end': '10.0.0.250'}]
+ description: Ip allocation pool range for the external network.
+ type: json
resources:
ExternalNetwork:
@@ -51,6 +54,7 @@ resources:
enable_dhcp: {get_param: ExternalNetEnableDHCP}
name: {get_param: ExternalSubnetName}
network: {get_resource: ExternalNetwork}
+ allocation_pools: {get_resource: ExternalAllocationPools}
outputs:
OS::stack_id: