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
This commit is contained in:
parent
5033fd0689
commit
344af04c07
|
@ -33,7 +33,10 @@ parameters:
|
||||||
default: external_subnet
|
default: external_subnet
|
||||||
description: The name of the external subnet in Neutron.
|
description: The name of the external subnet in Neutron.
|
||||||
type: string
|
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:
|
resources:
|
||||||
ExternalNetwork:
|
ExternalNetwork:
|
||||||
|
@ -51,6 +54,7 @@ resources:
|
||||||
enable_dhcp: {get_param: ExternalNetEnableDHCP}
|
enable_dhcp: {get_param: ExternalNetEnableDHCP}
|
||||||
name: {get_param: ExternalSubnetName}
|
name: {get_param: ExternalSubnetName}
|
||||||
network: {get_resource: ExternalNetwork}
|
network: {get_resource: ExternalNetwork}
|
||||||
|
allocation_pools: {get_resource: ExternalAllocationPools}
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
OS::stack_id:
|
OS::stack_id:
|
||||||
|
|
|
@ -33,6 +33,10 @@ parameters:
|
||||||
default: internal_api_subnet
|
default: internal_api_subnet
|
||||||
description: The name of the internal API subnet in Neutron.
|
description: The name of the internal API subnet in Neutron.
|
||||||
type: string
|
type: string
|
||||||
|
InternalApiAllocationPools:
|
||||||
|
default: [{'start': '172.16.2.4', 'end': '172.16.2.250'}]
|
||||||
|
description: Ip allocation pool range for the internal API network.
|
||||||
|
type: json
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
InternalApiNetwork:
|
InternalApiNetwork:
|
||||||
|
@ -50,6 +54,7 @@ resources:
|
||||||
enable_dhcp: {get_param: InternalApiNetEnableDHCP}
|
enable_dhcp: {get_param: InternalApiNetEnableDHCP}
|
||||||
name: {get_param: InternalApiSubnetName}
|
name: {get_param: InternalApiSubnetName}
|
||||||
network: {get_resource: InternalApiNetwork}
|
network: {get_resource: InternalApiNetwork}
|
||||||
|
allocation_pools: {get_param: InternalApiAllocationPools}
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
OS::stack_id:
|
OS::stack_id:
|
||||||
|
|
|
@ -33,6 +33,10 @@ parameters:
|
||||||
default: storage_subnet
|
default: storage_subnet
|
||||||
description: The name of the storage subnet in Neutron.
|
description: The name of the storage subnet in Neutron.
|
||||||
type: string
|
type: string
|
||||||
|
StorageAllocationPools:
|
||||||
|
default: [{'start': '172.16.1.4', 'end': '172.16.1.250'}]
|
||||||
|
description: Ip allocation pool range for the storage network.
|
||||||
|
type: json
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
StorageNetwork:
|
StorageNetwork:
|
||||||
|
@ -50,6 +54,7 @@ resources:
|
||||||
enable_dhcp: {get_param: StorageNetEnableDHCP}
|
enable_dhcp: {get_param: StorageNetEnableDHCP}
|
||||||
name: {get_param: StorageSubnetName}
|
name: {get_param: StorageSubnetName}
|
||||||
network: {get_resource: StorageNetwork}
|
network: {get_resource: StorageNetwork}
|
||||||
|
allocation_pools: {get_param: StorageAllocationPools}
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
OS::stack_id:
|
OS::stack_id:
|
||||||
|
|
|
@ -33,6 +33,10 @@ parameters:
|
||||||
default: storage_mgmt_subnet
|
default: storage_mgmt_subnet
|
||||||
description: The name of the Storage management subnet in Neutron.
|
description: The name of the Storage management subnet in Neutron.
|
||||||
type: string
|
type: string
|
||||||
|
StorageMgmtAllocationPools:
|
||||||
|
default: [{'start': '172.16.3.4', 'end': '172.16.3.250'}]
|
||||||
|
description: Ip allocation pool range for the storage mgmt network.
|
||||||
|
type: json
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
StorageMgmtNetwork:
|
StorageMgmtNetwork:
|
||||||
|
@ -50,6 +54,7 @@ resources:
|
||||||
enable_dhcp: {get_param: StorageMgmtNetEnableDHCP}
|
enable_dhcp: {get_param: StorageMgmtNetEnableDHCP}
|
||||||
name: {get_param: StorageMgmtSubnetName}
|
name: {get_param: StorageMgmtSubnetName}
|
||||||
network: {get_resource: StorageMgmtNetwork}
|
network: {get_resource: StorageMgmtNetwork}
|
||||||
|
allocation_pools: {get_param: StorageMgmtAllocationPools}
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
OS::stack_id:
|
OS::stack_id:
|
||||||
|
|
|
@ -33,6 +33,10 @@ parameters:
|
||||||
default: tenant_subnet
|
default: tenant_subnet
|
||||||
description: The name of the tenant subnet in Neutron.
|
description: The name of the tenant subnet in Neutron.
|
||||||
type: string
|
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:
|
resources:
|
||||||
TenantNetwork:
|
TenantNetwork:
|
||||||
|
@ -50,6 +54,7 @@ resources:
|
||||||
enable_dhcp: {get_param: TenantNetEnableDHCP}
|
enable_dhcp: {get_param: TenantNetEnableDHCP}
|
||||||
name: {get_param: TenantSubnetName}
|
name: {get_param: TenantSubnetName}
|
||||||
network: {get_resource: TenantNetwork}
|
network: {get_resource: TenantNetwork}
|
||||||
|
allocation_pools: {get_param: TenantAllocationPools}
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
OS::stack_id:
|
OS::stack_id:
|
||||||
|
|
Loading…
Reference in New Issue