Merge "Add allocation-pool support for the public_net"

This commit is contained in:
Zuul 2020-07-14 15:21:01 +00:00 committed by Gerrit Code Review
commit b3a214a501
6 changed files with 38 additions and 0 deletions

View File

@ -61,6 +61,18 @@ parameter_defaults:
# Type: string # Type: string
public_net: public public_net: public
# Allocation Pools for the public network
# Type: comma_delimited_list
public_net_allocation_pools: []
# CIDR for external network subnet
# Type: string
public_net_cidr: 10.0.0.0/24
# IP version for the public subnet
# Type: number
public_net_ip_version: 4
# Whether this network should be shared across all tenants # Whether this network should be shared across all tenants
# Type: boolean # Type: boolean
public_net_shared: False public_net_shared: False

View File

@ -22,6 +22,9 @@ environments:
templates/undercloud-networks.yaml: templates/undercloud-networks.yaml:
parameters: parameters:
- public_net - public_net
- public_net_cidr
- public_net_allocation_pools
- public_net_ip_version
- public_net_shared - public_net_shared
- provision_net - provision_net
- provision_net_shared - provision_net_shared

View File

@ -31,6 +31,11 @@ parameters:
description: CIDR for external network subnet description: CIDR for external network subnet
default: 10.0.0.0/24 default: 10.0.0.0/24
public_net_allocation_pools:
type: comma_delimited_list
description: Allocation Pools for the public network
default: []
public_subnet_ip_version: public_subnet_ip_version:
type: number type: number
description: IP version for the public subnet description: IP version for the public subnet

View File

@ -31,6 +31,11 @@ parameters:
description: CIDR for external network subnet description: CIDR for external network subnet
default: 10.0.0.0/24 default: 10.0.0.0/24
public_net_allocation_pools:
type: comma_delimited_list
description: Allocation Pools for the public network
default: []
public_net_router_address: public_net_router_address:
type: string type: string
description: Router address for the public network subnet description: Router address for the public network subnet
@ -78,6 +83,7 @@ resources:
network: {get_resource: public_network} network: {get_resource: public_network}
name: {get_param: public_net} name: {get_param: public_net}
cidr: {get_param: public_net_cidr} cidr: {get_param: public_net_cidr}
allocation_pools: {get_param: public_net_allocation_pools}
gateway_ip: null gateway_ip: null
enable_dhcp: false enable_dhcp: false
ip_version: {get_param: public_net_ip_version} ip_version: {get_param: public_net_ip_version}

View File

@ -86,6 +86,11 @@ parameters:
description: CIDR for external network subnet description: CIDR for external network subnet
default: 10.0.0.0/24 default: 10.0.0.0/24
public_net_allocation_pools:
type: comma_delimited_list
description: Allocation Pools for the public network
default: []
public_net_router_address: public_net_router_address:
type: string type: string
description: Router address for the public network subnet description: Router address for the public network subnet
@ -215,6 +220,7 @@ resources:
network: {get_resource: public_network} network: {get_resource: public_network}
name: {get_param: public_net} name: {get_param: public_net}
cidr: {get_param: public_net_cidr} cidr: {get_param: public_net_cidr}
allocation_pools: {get_param: public_net_allocation_pools}
gateway_ip: null gateway_ip: null
enable_dhcp: false enable_dhcp: false
ip_version: {get_param: public_net_ip_version} ip_version: {get_param: public_net_ip_version}

View File

@ -31,6 +31,11 @@ parameters:
description: CIDR for external network subnet description: CIDR for external network subnet
default: 10.0.0.0/24 default: 10.0.0.0/24
public_net_allocation_pools:
type: comma_delimited_list
description: Allocation Pools for the public network
default: []
public_net_ip_version: public_net_ip_version:
type: number type: number
description: IP version for the public subnet description: IP version for the public subnet
@ -70,6 +75,7 @@ resources:
network: {get_resource: public_network} network: {get_resource: public_network}
name: {get_param: public_net} name: {get_param: public_net}
cidr: {get_param: public_net_cidr} cidr: {get_param: public_net_cidr}
allocation_pools: {get_param: public_net_allocation_pools}
gateway_ip: null gateway_ip: null
enable_dhcp: false enable_dhcp: false
ip_version: {get_param: public_net_ip_version} ip_version: {get_param: public_net_ip_version}