diff --git a/environments/base.yaml b/environments/base.yaml index 632d000..6980e72 100644 --- a/environments/base.yaml +++ b/environments/base.yaml @@ -61,6 +61,18 @@ parameter_defaults: # Type: string public_net: public + # Allocation Pools for the public network + # Type: json + 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 # Type: boolean public_net_shared: False diff --git a/sample-env-generator/environments.yaml b/sample-env-generator/environments.yaml index b9cbb07..bd1851c 100644 --- a/sample-env-generator/environments.yaml +++ b/sample-env-generator/environments.yaml @@ -15,6 +15,9 @@ environments: - baremetal_prefix - node_count - public_net + - public_net_cidr + - public_net_allocation_pools + - public_net_ip_version - public_net_shared - provision_net - provision_net_shared diff --git a/templates/quintupleo.yaml b/templates/quintupleo.yaml index d77ad39..f723c95 100644 --- a/templates/quintupleo.yaml +++ b/templates/quintupleo.yaml @@ -69,6 +69,11 @@ parameters: description: Name of the overcloud external network default: public + public_net_allocation_pools: + type: json + description: Allocation Pools for the public network + default: [] + public_net_cidr: type: string description: CIDR for external network subnet @@ -200,6 +205,7 @@ resources: network: {get_resource: public_network} name: {get_param: public_net} cidr: {get_param: public_net_cidr} + allocation_pools: {get_param: public_net_allocation_pools} gateway_ip: null enable_dhcp: false