Move networks settings to underlay.hot
Change-Id: Idb5287d6693fbdc358f4ddc0fb601279800d2b3c
diff --git a/tcp_tests/templates/heat-cicd-k8s-genie/underlay.hot b/tcp_tests/templates/heat-cicd-k8s-genie/underlay.hot
index f05b7c6..49ea8be 100644
--- a/tcp_tests/templates/heat-cicd-k8s-genie/underlay.hot
+++ b/tcp_tests/templates/heat-cicd-k8s-genie/underlay.hot
@@ -14,16 +14,31 @@
type: string
control_subnet_cidr:
type: string
+ default: "10.6.0.0/24"
+ tenant_subnet_cidr:
+ type: string
+ default: "10.8.0.0/24"
+ external_subnet_cidr:
+ type: string
+ default: "192.168.200.0/24"
management_subnet_cidr:
type: string
- management_subnet_pool_start:
- type: string
- management_subnet_pool_end:
- type: string
+ default: "10.7.0.0/24"
management_subnet_cfg01_ip:
type: string
+ default: 10.7.0.15
management_subnet_gateway_ip:
type: string
+ default: 10.7.0.1
+ management_subnet_pool_start:
+ type: string
+ default: 10.7.0.20
+ management_subnet_pool_end:
+ type: string
+ default: 10.7.0.90
+ salt_master_control_ip:
+ type: string
+ default: 10.6.0.15
key_pair:
type: string
@@ -75,6 +90,13 @@
control_net: { list_join: ['-', [ 'control_net', { get_param: env_name } ]] }
tenant_net: { list_join: ['-', [ 'tenant_net', { get_param: env_name } ]] }
external_net: { list_join: ['-', [ 'external_net', { get_param: env_name } ]] }
+ control_subnet_cidr: { get_param: control_subnet_cidr }
+ tenant_subnet_cidr: { get_param: tenant_subnet_cidr }
+ external_subnet_cidr: { get_param: external_subnet_cidr }
+ management_subnet_cidr: { get_param: management_subnet_cidr }
+ management_subnet_gateway_ip: { get_param: management_subnet_gateway_ip }
+ management_subnet_pool_start: { get_param: management_subnet_pool_start }
+ management_subnet_pool_end: { get_param: management_subnet_pool_end }
#flavors:
# type: MCP::Flavors
@@ -91,6 +113,8 @@
control_net: { list_join: ['-', [ 'control_net', { get_param: env_name } ]] }
tenant_net: { list_join: ['-', [ 'tenant_net', { get_param: env_name } ]] }
external_net: { list_join: ['-', [ 'external_net', { get_param: env_name } ]] }
+ salt_master_control_ip: { get_param: salt_master_control_ip }
+ management_subnet_cfg01_ip: { get_param: management_subnet_cfg01_ip }
tenant_net_static_ip:
list_join:
- '.'
@@ -430,6 +454,7 @@
control_net: { list_join: ['-', [ 'control_net', { get_param: env_name } ]] }
tenant_net: { list_join: ['-', [ 'tenant_net', { get_param: env_name } ]] }
external_net: { list_join: ['-', [ 'external_net', { get_param: env_name } ]] }
+ management_subnet_gateway_ip: { get_param: management_subnet_gateway_ip }
underlay_userdata: { get_file: ./underlay--user-data-foundation.yaml }
management_net_static_ip:
list_join: