Add new vm_availability_zone and use it for virtual environments
Change-Id: I4ee0abef632fdec03a6a673d28e23142e3e65861
diff --git a/tcp_tests/templates/_heat_environments/bm-eu-cloud.env b/tcp_tests/templates/_heat_environments/bm-eu-cloud.env
index 149a7af..56a080b 100644
--- a/tcp_tests/templates/_heat_environments/bm-eu-cloud.env
+++ b/tcp_tests/templates/_heat_environments/bm-eu-cloud.env
@@ -36,6 +36,7 @@
vsrx_flavor: oc_vsrx
key_pair: system_key_8133
bm_availability_zone: BM
+ vm_availability_zone: nova
net_public: public
foundation_image: system.foundation
diff --git a/tcp_tests/templates/_heat_environments/bm-ovs-cloud.env b/tcp_tests/templates/_heat_environments/bm-ovs-cloud.env
index 86d4085..9a801f4 100644
--- a/tcp_tests/templates/_heat_environments/bm-ovs-cloud.env
+++ b/tcp_tests/templates/_heat_environments/bm-ovs-cloud.env
@@ -32,6 +32,7 @@
foundation_flavor: system.virtual.foundation
key_pair: system_key_8133
bm_availability_zone: BM
+ vm_availability_zone: nova
net_public: public
foundation_image: system.foundation
diff --git a/tcp_tests/templates/_heat_environments/microcloud-8116-cookied-cicd-queens-dvr-sl.sh b/tcp_tests/templates/_heat_environments/create_environment_example.sh
similarity index 100%
rename from tcp_tests/templates/_heat_environments/microcloud-8116-cookied-cicd-queens-dvr-sl.sh
rename to tcp_tests/templates/_heat_environments/create_environment_example.sh
diff --git a/tcp_tests/templates/_heat_environments/eu-cloud.env b/tcp_tests/templates/_heat_environments/eu-cloud.env
index b2f1396..887f538 100644
--- a/tcp_tests/templates/_heat_environments/eu-cloud.env
+++ b/tcp_tests/templates/_heat_environments/eu-cloud.env
@@ -37,6 +37,7 @@
key_pair: system_key_8133
bm_availability_zone: BM
+ vm_availability_zone: nova
net_public: public
foundation_image: system.foundation
diff --git a/tcp_tests/templates/_heat_environments/fragments/Compute.yaml b/tcp_tests/templates/_heat_environments/fragments/Compute.yaml
index 39ff118..6efefa2 100644
--- a/tcp_tests/templates/_heat_environments/fragments/Compute.yaml
+++ b/tcp_tests/templates/_heat_environments/fragments/Compute.yaml
@@ -30,6 +30,8 @@
role:
type: comma_delimited_list
default: [salt_minion]
+ availability_zone:
+ type: string
resources:
instance_port01:
@@ -66,6 +68,7 @@
flavor: { get_param: instance_flavor }
image: { list_join: ['', [ 'ubuntu-vcp-', { get_param: mcp_version } ]] }
key_name: { get_param: key_pair }
+ availability_zone: { get_param: availability_zone }
name:
list_join:
- '.'
diff --git a/tcp_tests/templates/_heat_environments/fragments/FoundationNode.yaml b/tcp_tests/templates/_heat_environments/fragments/FoundationNode.yaml
index 533edc0..83d91c1 100644
--- a/tcp_tests/templates/_heat_environments/fragments/FoundationNode.yaml
+++ b/tcp_tests/templates/_heat_environments/fragments/FoundationNode.yaml
@@ -46,7 +46,7 @@
role:
type: comma_delimited_list
default: [foundation_jenkins_slave]
- bm_availability_zone:
+ availability_zone:
type: string
resources:
@@ -90,7 +90,7 @@
flavor: { get_param: instance_flavor }
image: { get_param: instance_image }
key_name: { get_param: key_pair }
- availability_zone: { get_param: bm_availability_zone }
+ availability_zone: { get_param: availability_zone }
name:
list_join:
- '.'
diff --git a/tcp_tests/templates/_heat_environments/fragments/Instance.yaml b/tcp_tests/templates/_heat_environments/fragments/Instance.yaml
index 9ffe121..b86f40d 100644
--- a/tcp_tests/templates/_heat_environments/fragments/Instance.yaml
+++ b/tcp_tests/templates/_heat_environments/fragments/Instance.yaml
@@ -30,6 +30,8 @@
role:
type: comma_delimited_list
default: [salt_minion]
+ availability_zone:
+ type: string
resources:
instance_port01:
@@ -66,6 +68,7 @@
flavor: { get_param: instance_flavor }
image: { list_join: ['', [ 'ubuntu-vcp-', { get_param: mcp_version } ]] }
key_name: { get_param: key_pair }
+ availability_zone: { get_param: availability_zone }
name:
list_join:
- '.'
diff --git a/tcp_tests/templates/_heat_environments/fragments/MasterNode.yaml b/tcp_tests/templates/_heat_environments/fragments/MasterNode.yaml
index 24123b3..25abaf9 100644
--- a/tcp_tests/templates/_heat_environments/fragments/MasterNode.yaml
+++ b/tcp_tests/templates/_heat_environments/fragments/MasterNode.yaml
@@ -36,7 +36,7 @@
role:
type: comma_delimited_list
default: [salt_master]
- bm_availability_zone:
+ availability_zone:
type: string
resources:
@@ -83,7 +83,7 @@
flavor: { get_param: cfg01_flavor }
image: { list_join: ['', [ 'cfg01-day01-', { get_param: mcp_version } ]] }
key_name: { get_param: key_pair }
- availability_zone: { get_param: bm_availability_zone }
+ availability_zone: { get_param: availability_zone }
name:
list_join:
- '.'
diff --git a/tcp_tests/templates/_heat_environments/fragments/MultipleInstance.yaml b/tcp_tests/templates/_heat_environments/fragments/MultipleInstance.yaml
index bf14ee0..c6fcc02 100644
--- a/tcp_tests/templates/_heat_environments/fragments/MultipleInstance.yaml
+++ b/tcp_tests/templates/_heat_environments/fragments/MultipleInstance.yaml
@@ -50,6 +50,9 @@
type: string
env_name:
type: string
+ availability_zone:
+ type: string
+
resources:
instance01:
@@ -58,6 +61,7 @@
env_name: { get_param: env_name }
mcp_version: { get_param: mcp_version }
key_pair: { get_param: key_pair }
+ availability_zone: { get_param: availability_zone }
control_net_static_ip: {get_param: instance01_control_net_static_ip }
tenant_net_static_ip: {get_param: instance01_tenant_net_static_ip }
external_net_static_ip: {get_param: instance01_external_net_static_ip }
@@ -74,6 +78,7 @@
env_name: { get_param: env_name }
mcp_version: { get_param: mcp_version }
key_pair: { get_param: key_pair }
+ availability_zone: { get_param: availability_zone }
control_net_static_ip: {get_param: instance02_control_net_static_ip }
tenant_net_static_ip: {get_param: instance02_tenant_net_static_ip }
external_net_static_ip: {get_param: instance02_external_net_static_ip }
@@ -90,6 +95,7 @@
env_name: { get_param: env_name }
mcp_version: { get_param: mcp_version }
key_pair: { get_param: key_pair }
+ availability_zone: { get_param: availability_zone }
control_net_static_ip: {get_param: instance03_control_net_static_ip }
tenant_net_static_ip: {get_param: instance03_tenant_net_static_ip }
external_net_static_ip: {get_param: instance03_external_net_static_ip }
diff --git a/tcp_tests/templates/_heat_environments/fragments/VsrxNode.yaml b/tcp_tests/templates/_heat_environments/fragments/VsrxNode.yaml
index e0e3a84..e965058 100644
--- a/tcp_tests/templates/_heat_environments/fragments/VsrxNode.yaml
+++ b/tcp_tests/templates/_heat_environments/fragments/VsrxNode.yaml
@@ -37,6 +37,8 @@
type: string
mcp_version:
type: string
+ availability_zone:
+ type: string
resources:
instance_port01:
@@ -73,6 +75,7 @@
flavor: { get_param: instance_flavor }
image: { get_param: instance_image }
key_name: { get_param: key_pair }
+ availability_zone: { get_param: availability_zone }
name:
list_join:
- '.'
diff --git a/tcp_tests/templates/_heat_environments/microcloud-8133.env b/tcp_tests/templates/_heat_environments/microcloud-8133.env
deleted file mode 100644
index cd77154..0000000
--- a/tcp_tests/templates/_heat_environments/microcloud-8133.env
+++ /dev/null
@@ -1,43 +0,0 @@
-
-resource_registry:
- "MCP::MultipleInstance": fragments/MultipleInstance.yaml
- "MCP::Flavors": fragments/Flavors.yaml
- "MCP::MasterNode": fragments/MasterNode.yaml
- "MCP::Compute": fragments/Compute.yaml
- "MCP::Networks": fragments/Networks.yaml
- "MCP::SingleInstance": fragments/Instance.yaml
- "MCP::FoundationNode": fragments/FoundationNode.yaml
-
-parameter_defaults:
-
- cfg_flavor: system.virtual.salt_master
- ctl_flavor: system.golden.openstack.control
- cid_flavor: system.golden.cicd.control
- ntw_flavor: system.compact.opencontrail.control
- nal_flavor: system.compact.opencontrail.analytics
- dbs_flavor: system.golden.openstack.database
- msg_flavor: system.golden.openstack.message_queue
- mon_flavor: system.golden.stacklight.server
- log_flavor: system.golden.stacklight.log
- mtr_flavor: system.golden.stacklight.telemetry
- cmp_flavor: system.virtual.openstack.compute
- kvm_fake_flavor: system.virtual.fake_kvm
- osd_flavor: system.virtual.ceph.osd
- cmn_flavor: system.golden.ceph.mon
- rgw_flavor: system.golden.ceph.rgw
- foundation_flavor: system.virtual.foundation
-
- key_pair: system_key_8133
-
- net_public: public
-
- nameservers: 172.18.208.44
- control_subnet_cidr: "10.6.0.0/24"
- tenant_subnet_cidr: "10.8.0.0/24"
- external_subnet_cidr: "10.9.0.0/24"
- management_subnet_cidr: "10.7.0.0/24"
- management_subnet_cfg01_ip: 10.7.0.15
- management_subnet_gateway_ip: 10.7.0.1
- management_subnet_pool_start: 10.7.0.20
- management_subnet_pool_end: 10.7.0.60
- salt_master_control_ip: 10.6.0.15
diff --git a/tcp_tests/templates/bm-cicd-pike-ovs-maas/underlay.hot b/tcp_tests/templates/bm-cicd-pike-ovs-maas/underlay.hot
index 7b8216f..e711b81 100644
--- a/tcp_tests/templates/bm-cicd-pike-ovs-maas/underlay.hot
+++ b/tcp_tests/templates/bm-cicd-pike-ovs-maas/underlay.hot
@@ -21,6 +21,9 @@
foundation_flavor:
type: string
+ bm_availability_zone:
+ type: string
+
resources:
subnets:
type: MCP::Subnets
@@ -42,6 +45,7 @@
env_name: { get_param: env_name }
mcp_version: { get_param: mcp_version }
cfg01_flavor: { get_param: cfg_flavor }
+ availability_zone: { get_param: bm_availability_zone }
management_net: 'system-phys-2401'
control_net: 'system-phys-2404'
tenant_net: 'system-phys-2406'
@@ -65,6 +69,7 @@
mcp_version: { get_param: mcp_version }
instance_domain: {get_param: instance_domain}
instance_name: foundation
+ availability_zone: { get_param: bm_availability_zone }
management_net: 'system-phys-2401'
control_net: 'system-phys-2404'
tenant_net: 'system-phys-2406'
diff --git a/tcp_tests/templates/bm-cicd-queens-ovs-maas/underlay.hot b/tcp_tests/templates/bm-cicd-queens-ovs-maas/underlay.hot
index 060ddab..8365a2f 100644
--- a/tcp_tests/templates/bm-cicd-queens-ovs-maas/underlay.hot
+++ b/tcp_tests/templates/bm-cicd-queens-ovs-maas/underlay.hot
@@ -21,6 +21,9 @@
foundation_flavor:
type: string
+ bm_availability_zone:
+ type: string
+
resources:
subnets:
type: MCP::Subnets
@@ -42,6 +45,7 @@
env_name: { get_param: env_name }
mcp_version: { get_param: mcp_version }
cfg01_flavor: { get_param: cfg_flavor }
+ availability_zone: { get_param: bm_availability_zone }
management_net: 'system-phys-2401'
control_net: 'system-phys-2404'
tenant_net: 'system-phys-2406'
@@ -65,6 +69,7 @@
mcp_version: { get_param: mcp_version }
instance_domain: {get_param: instance_domain}
instance_name: foundation
+ availability_zone: { get_param: bm_availability_zone }
management_net: 'system-phys-2401'
control_net: 'system-phys-2404'
tenant_net: 'system-phys-2406'
diff --git a/tcp_tests/templates/heat-bm-cicd-queens-contrail-sl/underlay.hot b/tcp_tests/templates/heat-bm-cicd-queens-contrail-sl/underlay.hot
index b018a20..d8c2e9f 100644
--- a/tcp_tests/templates/heat-bm-cicd-queens-contrail-sl/underlay.hot
+++ b/tcp_tests/templates/heat-bm-cicd-queens-contrail-sl/underlay.hot
@@ -22,6 +22,8 @@
type: string
foundation_flavor:
type: string
+ bm_availability_zone:
+ type: string
resources:
subnets:
@@ -44,6 +46,7 @@
env_name: { get_param: env_name }
mcp_version: { get_param: mcp_version }
cfg01_flavor: { get_param: cfg_flavor }
+ availability_zone: { get_param: bm_availability_zone }
management_net: 'system-phys-2421'
control_net: 'system-phys-2422'
tenant_net: 'system-phys-2423'
@@ -67,6 +70,7 @@
mcp_version: { get_param: mcp_version }
instance_domain: {get_param: instance_domain}
instance_name: foundation
+ availability_zone: { get_param: bm_availability_zone }
management_net: 'system-phys-2421'
control_net: 'system-phys-2422'
tenant_net: 'system-phys-2423'
diff --git a/tcp_tests/templates/heat-cicd-k8s-calico-sl/underlay.hot b/tcp_tests/templates/heat-cicd-k8s-calico-sl/underlay.hot
index d1f77b4..6f4bb14 100644
--- a/tcp_tests/templates/heat-cicd-k8s-calico-sl/underlay.hot
+++ b/tcp_tests/templates/heat-cicd-k8s-calico-sl/underlay.hot
@@ -53,6 +53,11 @@
foundation_image:
type: string
+ bm_availability_zone:
+ type: string
+ vm_availability_zone:
+ type: string
+
resources:
networks:
type: MCP::Networks
@@ -80,6 +85,7 @@
env_name: { get_param: env_name }
mcp_version: { get_param: mcp_version }
cfg01_flavor: { get_param: cfg_flavor }
+ availability_zone: { get_param: bm_availability_zone }
management_net: { list_join: ['-', [ 'management_net', { get_param: env_name } ]] }
control_net: { list_join: ['-', [ 'control_net', { get_param: env_name } ]] }
tenant_net: { list_join: ['-', [ 'tenant_net', { get_param: env_name } ]] }
@@ -107,6 +113,7 @@
instance03_name: ctl03
instance01_role: k8s_controller
instance_flavor: {get_param: ctl_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -158,6 +165,7 @@
instance02_name: kvm02
instance03_name: kvm03
instance_flavor: {get_param: kvm_fake_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -209,6 +217,7 @@
instance02_name: cid02
instance03_name: cid03
instance_flavor: {get_param: cid_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -260,6 +269,7 @@
instance02_name: mon02
instance03_name: mon03
instance_flavor: {get_param: mon_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -311,6 +321,7 @@
instance02_name: log02
instance03_name: log03
instance_flavor: {get_param: log_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -362,6 +373,7 @@
instance02_name: mtr02
instance03_name: mtr03
instance_flavor: {get_param: mtr_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -411,6 +423,7 @@
instance_domain: {get_param: instance_domain}
instance_name: prx01
instance_flavor: {get_param: cid_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
control_net_static_ip:
list_join:
@@ -436,6 +449,7 @@
instance_domain: {get_param: instance_domain}
instance_name: prx02
instance_flavor: {get_param: cid_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
control_net_static_ip:
list_join:
@@ -461,6 +475,7 @@
instance_domain: {get_param: instance_domain}
instance_name: cmp001
instance_flavor: {get_param: cmp_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
control_net_static_ip:
list_join:
@@ -486,6 +501,7 @@
instance_domain: {get_param: instance_domain}
instance_name: cmp002
instance_flavor: {get_param: cmp_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
control_net_static_ip:
list_join:
@@ -511,6 +527,7 @@
instance_domain: {get_param: instance_domain}
instance_name: cmp003
instance_flavor: {get_param: cmp_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
control_net_static_ip:
list_join:
@@ -536,6 +553,7 @@
instance_domain: {get_param: instance_domain}
instance_name: cmp004
instance_flavor: {get_param: cmp_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
control_net_static_ip:
list_join:
@@ -562,6 +580,7 @@
instance_name: foundation
instance_image: { get_param: foundation_image }
instance_flavor: {get_param: foundation_flavor}
+ availability_zone: { get_param: bm_availability_zone }
management_net: { list_join: ['-', [ 'management_net', { get_param: env_name } ]] }
control_net: { list_join: ['-', [ 'control_net', { get_param: env_name } ]] }
tenant_net: { list_join: ['-', [ 'tenant_net', { get_param: env_name } ]] }
diff --git a/tcp_tests/templates/heat-cicd-k8s-contrail41-sl/underlay.hot b/tcp_tests/templates/heat-cicd-k8s-contrail41-sl/underlay.hot
index 6bf5b77..fa01312 100644
--- a/tcp_tests/templates/heat-cicd-k8s-contrail41-sl/underlay.hot
+++ b/tcp_tests/templates/heat-cicd-k8s-contrail41-sl/underlay.hot
@@ -59,6 +59,11 @@
foundation_image:
type: string
+ bm_availability_zone:
+ type: string
+ vm_availability_zone:
+ type: string
+
resources:
networks:
type: MCP::Networks
@@ -86,6 +91,7 @@
env_name: { get_param: env_name }
mcp_version: { get_param: mcp_version }
cfg01_flavor: { get_param: cfg_flavor }
+ availability_zone: { get_param: bm_availability_zone }
management_net: { list_join: ['-', [ 'management_net', { get_param: env_name } ]] }
control_net: { list_join: ['-', [ 'control_net', { get_param: env_name } ]] }
tenant_net: { list_join: ['-', [ 'tenant_net', { get_param: env_name } ]] }
@@ -113,6 +119,7 @@
instance03_name: ctl03
instance01_role: k8s_controller
instance_flavor: {get_param: ctl_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -164,6 +171,7 @@
instance02_name: kvm02
instance03_name: kvm03
instance_flavor: {get_param: kvm_fake_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -215,6 +223,7 @@
instance02_name: cid02
instance03_name: cid03
instance_flavor: {get_param: cid_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -266,6 +275,7 @@
instance02_name: mon02
instance03_name: mon03
instance_flavor: {get_param: mon_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -317,6 +327,7 @@
instance02_name: log02
instance03_name: log03
instance_flavor: {get_param: log_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -368,6 +379,7 @@
instance02_name: mtr02
instance03_name: mtr03
instance_flavor: {get_param: mtr_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -419,6 +431,7 @@
instance02_name: cmn02
instance03_name: cmn03
instance_flavor: {get_param: cmn_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -470,6 +483,7 @@
instance02_name: rgw02
instance03_name: rgw03
instance_flavor: {get_param: rgw_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -521,6 +535,7 @@
instance02_name: osd002
instance03_name: osd003
instance_flavor: {get_param: osd_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -570,6 +585,7 @@
instance_domain: {get_param: instance_domain}
instance_name: prx01
instance_flavor: {get_param: cid_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
control_net_static_ip:
list_join:
@@ -595,6 +611,7 @@
instance_domain: {get_param: instance_domain}
instance_name: prx02
instance_flavor: {get_param: cid_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
control_net_static_ip:
list_join:
@@ -619,6 +636,7 @@
instance_domain: {get_param: instance_domain}
instance_name: cmp001
instance_flavor: {get_param: cmp_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
control_net_static_ip:
list_join:
@@ -644,6 +662,7 @@
instance_domain: {get_param: instance_domain}
instance_name: cmp002
instance_flavor: {get_param: cmp_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
control_net_static_ip:
list_join:
@@ -670,6 +689,7 @@
instance_name: foundation
instance_image: { get_param: foundation_image }
instance_flavor: {get_param: foundation_flavor}
+ availability_zone: { get_param: bm_availability_zone }
management_net: { list_join: ['-', [ 'management_net', { get_param: env_name } ]] }
control_net: { list_join: ['-', [ 'control_net', { get_param: env_name } ]] }
tenant_net: { list_join: ['-', [ 'tenant_net', { get_param: env_name } ]] }
diff --git a/tcp_tests/templates/heat-cicd-k8s-genie/underlay.hot b/tcp_tests/templates/heat-cicd-k8s-genie/underlay.hot
index c6287c6..f05b7c6 100644
--- a/tcp_tests/templates/heat-cicd-k8s-genie/underlay.hot
+++ b/tcp_tests/templates/heat-cicd-k8s-genie/underlay.hot
@@ -53,6 +53,11 @@
foundation_image:
type: string
+ bm_availability_zone:
+ type: string
+ vm_availability_zone:
+ type: string
+
resources:
networks:
type: MCP::Networks
@@ -81,6 +86,7 @@
env_name: { get_param: env_name }
mcp_version: { get_param: mcp_version }
cfg01_flavor: { get_param: cfg_flavor }
+ availability_zone: { get_param: bm_availability_zone }
management_net: { list_join: ['-', [ 'management_net', { get_param: env_name } ]] }
control_net: { list_join: ['-', [ 'control_net', { get_param: env_name } ]] }
tenant_net: { list_join: ['-', [ 'tenant_net', { get_param: env_name } ]] }
@@ -108,6 +114,7 @@
instance03_name: ctl03
instance01_role: [k8s_controller]
instance_flavor: {get_param: ctl_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -159,6 +166,7 @@
instance02_name: kvm02
instance03_name: kvm03
instance_flavor: {get_param: kvm_fake_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -210,6 +218,7 @@
instance02_name: cid02
instance03_name: cid03
instance_flavor: {get_param: cid_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -259,6 +268,7 @@
instance_domain: {get_param: instance_domain}
instance_name: prx01
instance_flavor: {get_param: cid_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
control_net_static_ip:
list_join:
@@ -284,6 +294,7 @@
instance_domain: {get_param: instance_domain}
instance_name: prx02
instance_flavor: {get_param: cid_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
control_net_static_ip:
list_join:
@@ -309,6 +320,7 @@
instance_domain: {get_param: instance_domain}
instance_name: cmp001
instance_flavor: {get_param: cmp_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
control_net_static_ip:
list_join:
@@ -334,6 +346,7 @@
instance_domain: {get_param: instance_domain}
instance_name: cmp002
instance_flavor: {get_param: cmp_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
control_net_static_ip:
list_join:
@@ -359,6 +372,7 @@
instance_domain: {get_param: instance_domain}
instance_name: cmp003
instance_flavor: {get_param: cmp_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
control_net_static_ip:
list_join:
@@ -384,6 +398,7 @@
instance_domain: {get_param: instance_domain}
instance_name: cmp004
instance_flavor: {get_param: cmp_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
control_net_static_ip:
list_join:
@@ -410,6 +425,7 @@
instance_name: foundation
instance_image: { get_param: foundation_image }
instance_flavor: {get_param: foundation_flavor}
+ availability_zone: { get_param: bm_availability_zone }
management_net: { list_join: ['-', [ 'management_net', { get_param: env_name } ]] }
control_net: { list_join: ['-', [ 'control_net', { get_param: env_name } ]] }
tenant_net: { list_join: ['-', [ 'tenant_net', { get_param: env_name } ]] }
diff --git a/tcp_tests/templates/heat-cicd-pike-contrail41-sl/underlay.hot b/tcp_tests/templates/heat-cicd-pike-contrail41-sl/underlay.hot
index e5fe830..9aa42b1 100644
--- a/tcp_tests/templates/heat-cicd-pike-contrail41-sl/underlay.hot
+++ b/tcp_tests/templates/heat-cicd-pike-contrail41-sl/underlay.hot
@@ -70,6 +70,11 @@
foundation_image:
type: string
+ bm_availability_zone:
+ type: string
+ vm_availability_zone:
+ type: string
+
resources:
networks:
type: MCP::Networks
@@ -97,6 +102,7 @@
env_name: { get_param: env_name }
mcp_version: { get_param: mcp_version }
cfg01_flavor: { get_param: cfg_flavor }
+ availability_zone: { get_param: bm_availability_zone }
management_net: { list_join: ['-', [ 'management_net', { get_param: env_name } ]] }
control_net: { list_join: ['-', [ 'control_net', { get_param: env_name } ]] }
tenant_net: { list_join: ['-', [ 'tenant_net', { get_param: env_name } ]] }
@@ -123,6 +129,7 @@
instance02_name: ctl02
instance03_name: ctl03
instance_flavor: {get_param: ctl_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -174,6 +181,7 @@
instance02_name: dbs02
instance03_name: dbs03
instance_flavor: {get_param: dbs_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -225,6 +233,7 @@
instance02_name: kvm02
instance03_name: kvm03
instance_flavor: {get_param: kvm_fake_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -276,6 +285,7 @@
instance02_name: msg02
instance03_name: msg03
instance_flavor: {get_param: msg_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -327,6 +337,7 @@
instance02_name: cid02
instance03_name: cid03
instance_flavor: {get_param: cid_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -378,6 +389,7 @@
instance02_name: ntw02
instance03_name: ntw03
instance_flavor: {get_param: ntw_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -429,6 +441,7 @@
instance02_name: nal02
instance03_name: nal03
instance_flavor: {get_param: nal_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -480,6 +493,7 @@
instance02_name: mon02
instance03_name: mon03
instance_flavor: {get_param: mon_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -531,6 +545,7 @@
instance02_name: log02
instance03_name: log03
instance_flavor: {get_param: log_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -582,6 +597,7 @@
instance02_name: mtr02
instance03_name: mtr03
instance_flavor: {get_param: mtr_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -633,6 +649,7 @@
instance02_name: cmn02
instance03_name: cmn03
instance_flavor: {get_param: cmn_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -683,6 +700,7 @@
instance02_name: rgw02
instance03_name: rgw03
instance_flavor: {get_param: rgw_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -733,6 +751,7 @@
instance02_name: osd002
instance03_name: osd003
instance_flavor: {get_param: osd_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -782,6 +801,7 @@
instance_domain: {get_param: instance_domain}
instance_name: prx01
instance_flavor: {get_param: prx_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
control_net_static_ip:
list_join:
@@ -807,6 +827,7 @@
instance_domain: {get_param: instance_domain}
instance_name: prx02
instance_flavor: {get_param: prx_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
control_net_static_ip:
list_join:
@@ -831,6 +852,7 @@
instance_domain: {get_param: instance_domain}
instance_name: cmp001
instance_flavor: {get_param: cmp_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
control_net_static_ip:
list_join:
@@ -856,6 +878,7 @@
instance_domain: {get_param: instance_domain}
instance_name: cmp002
instance_flavor: {get_param: cmp_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
control_net_static_ip:
list_join:
@@ -882,6 +905,7 @@
instance_name: foundation
instance_image: { get_param: foundation_image }
instance_flavor: {get_param: foundation_flavor}
+ availability_zone: { get_param: bm_availability_zone }
management_net: { list_join: ['-', [ 'management_net', { get_param: env_name } ]] }
control_net: { list_join: ['-', [ 'control_net', { get_param: env_name } ]] }
tenant_net: { list_join: ['-', [ 'tenant_net', { get_param: env_name } ]] }
@@ -914,6 +938,7 @@
instance_domain: {get_param: instance_domain}
instance_name: vsrx
instance_flavor: {get_param: vsrx_flavor}
+ availability_zone: { get_param: vm_availability_zone }
management_net: { list_join: ['-', [ 'management_net', { get_param: env_name } ]] }
control_net: { list_join: ['-', [ 'control_net', { get_param: env_name } ]] }
tenant_net: { list_join: ['-', [ 'tenant_net', { get_param: env_name } ]] }
diff --git a/tcp_tests/templates/heat-cicd-pike-dvr-sl/underlay.hot b/tcp_tests/templates/heat-cicd-pike-dvr-sl/underlay.hot
index 543bcd8..a5882c3 100644
--- a/tcp_tests/templates/heat-cicd-pike-dvr-sl/underlay.hot
+++ b/tcp_tests/templates/heat-cicd-pike-dvr-sl/underlay.hot
@@ -73,6 +73,11 @@
foundation_image:
type: string
+ bm_availability_zone:
+ type: string
+ vm_availability_zone:
+ type: string
+
resources:
networks:
type: MCP::Networks
@@ -100,6 +105,7 @@
env_name: { get_param: env_name }
mcp_version: { get_param: mcp_version }
cfg01_flavor: { get_param: cfg_flavor }
+ availability_zone: { get_param: bm_availability_zone }
management_net: { list_join: ['-', [ 'management_net', { get_param: env_name } ]] }
control_net: { list_join: ['-', [ 'control_net', { get_param: env_name } ]] }
tenant_net: { list_join: ['-', [ 'tenant_net', { get_param: env_name } ]] }
@@ -126,6 +132,7 @@
instance02_name: ctl02
instance03_name: ctl03
instance_flavor: {get_param: ctl_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -177,6 +184,7 @@
instance02_name: dbs02
instance03_name: dbs03
instance_flavor: {get_param: dbs_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -228,6 +236,7 @@
instance02_name: kvm02
instance03_name: kvm03
instance_flavor: {get_param: kvm_fake_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -279,6 +288,7 @@
instance02_name: msg02
instance03_name: msg03
instance_flavor: {get_param: msg_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -330,6 +340,7 @@
instance02_name: cid02
instance03_name: cid03
instance_flavor: {get_param: cid_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -381,6 +392,7 @@
instance02_name: mon02
instance03_name: mon03
instance_flavor: {get_param: mon_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -432,6 +444,7 @@
instance02_name: log02
instance03_name: log03
instance_flavor: {get_param: log_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -483,6 +496,7 @@
instance02_name: mtr02
instance03_name: mtr03
instance_flavor: {get_param: mtr_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -532,6 +546,7 @@
instance_domain: {get_param: instance_domain}
instance_name: prx01
instance_flavor: {get_param: prx_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
control_net_static_ip:
list_join:
@@ -557,6 +572,7 @@
instance_domain: {get_param: instance_domain}
instance_name: prx02
instance_flavor: {get_param: prx_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
control_net_static_ip:
list_join:
@@ -582,6 +598,7 @@
instance_domain: {get_param: instance_domain}
instance_name: cmp001
instance_flavor: {get_param: cmp_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
control_net_static_ip:
list_join:
@@ -607,6 +624,7 @@
instance_domain: {get_param: instance_domain}
instance_name: cmp002
instance_flavor: {get_param: cmp_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
control_net_static_ip:
list_join:
@@ -633,6 +651,7 @@
instance_name: foundation
instance_image: { get_param: foundation_image }
instance_flavor: {get_param: foundation_flavor}
+ availability_zone: { get_param: bm_availability_zone }
management_net: { list_join: ['-', [ 'management_net', { get_param: env_name } ]] }
control_net: { list_join: ['-', [ 'control_net', { get_param: env_name } ]] }
tenant_net: { list_join: ['-', [ 'tenant_net', { get_param: env_name } ]] }
@@ -668,6 +687,7 @@
instance02_name: cmn02
instance03_name: cmn03
instance_flavor: {get_param: cmn_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -719,6 +739,7 @@
instance02_name: rgw02
instance03_name: rgw03
instance_flavor: {get_param: rgw_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -770,6 +791,7 @@
instance02_name: osd002
instance03_name: osd003
instance_flavor: {get_param: osd_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -821,6 +843,7 @@
instance02_name: gtw02
instance03_name: gtw03
instance_flavor: {get_param: gtw_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -872,6 +895,7 @@
instance02_name: kmn02
instance03_name: kmn03
instance_flavor: {get_param: kmn_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -921,6 +945,7 @@
instance_domain: {get_param: instance_domain}
instance_name: dns01
instance_flavor: {get_param: dns_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
control_net_static_ip:
list_join:
@@ -946,6 +971,7 @@
instance_domain: {get_param: instance_domain}
instance_name: dns02
instance_flavor: {get_param: dns_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
control_net_static_ip:
list_join:
@@ -973,6 +999,7 @@
instance02_name: mdb02
instance03_name: mdb03
instance_flavor: {get_param: mdb_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
diff --git a/tcp_tests/templates/heat-cicd-queens-dvr-sl/underlay.hot b/tcp_tests/templates/heat-cicd-queens-dvr-sl/underlay.hot
index 7c415b7..210390f 100644
--- a/tcp_tests/templates/heat-cicd-queens-dvr-sl/underlay.hot
+++ b/tcp_tests/templates/heat-cicd-queens-dvr-sl/underlay.hot
@@ -73,6 +73,11 @@
foundation_image:
type: string
+ bm_availability_zone:
+ type: string
+ vm_availability_zone:
+ type: string
+
resources:
networks:
type: MCP::Networks
@@ -100,6 +105,7 @@
env_name: { get_param: env_name }
mcp_version: { get_param: mcp_version }
cfg01_flavor: { get_param: cfg_flavor }
+ availability_zone: { get_param: bm_availability_zone }
management_net: { list_join: ['-', [ 'management_net', { get_param: env_name } ]] }
control_net: { list_join: ['-', [ 'control_net', { get_param: env_name } ]] }
tenant_net: { list_join: ['-', [ 'tenant_net', { get_param: env_name } ]] }
@@ -126,6 +132,7 @@
instance02_name: ctl02
instance03_name: ctl03
instance_flavor: {get_param: ctl_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -177,6 +184,7 @@
instance02_name: dbs02
instance03_name: dbs03
instance_flavor: {get_param: dbs_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -228,6 +236,7 @@
instance02_name: kvm02
instance03_name: kvm03
instance_flavor: {get_param: kvm_fake_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -279,6 +288,7 @@
instance02_name: msg02
instance03_name: msg03
instance_flavor: {get_param: msg_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -330,6 +340,7 @@
instance02_name: cid02
instance03_name: cid03
instance_flavor: {get_param: cid_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -381,6 +392,7 @@
instance02_name: mon02
instance03_name: mon03
instance_flavor: {get_param: mon_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -432,6 +444,7 @@
instance02_name: log02
instance03_name: log03
instance_flavor: {get_param: log_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -483,6 +496,7 @@
instance02_name: mtr02
instance03_name: mtr03
instance_flavor: {get_param: mtr_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -532,6 +546,7 @@
instance_domain: {get_param: instance_domain}
instance_name: prx01
instance_flavor: {get_param: prx_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
control_net_static_ip:
list_join:
@@ -557,6 +572,7 @@
instance_domain: {get_param: instance_domain}
instance_name: prx02
instance_flavor: {get_param: prx_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
control_net_static_ip:
list_join:
@@ -582,6 +598,7 @@
instance_domain: {get_param: instance_domain}
instance_name: cmp001
instance_flavor: {get_param: cmp_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
control_net_static_ip:
list_join:
@@ -607,6 +624,7 @@
instance_domain: {get_param: instance_domain}
instance_name: cmp002
instance_flavor: {get_param: cmp_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
control_net_static_ip:
list_join:
@@ -633,6 +651,7 @@
instance_name: foundation
instance_image: { get_param: foundation_image }
instance_flavor: {get_param: foundation_flavor}
+ availability_zone: { get_param: bm_availability_zone }
management_net: { list_join: ['-', [ 'management_net', { get_param: env_name } ]] }
control_net: { list_join: ['-', [ 'control_net', { get_param: env_name } ]] }
tenant_net: { list_join: ['-', [ 'tenant_net', { get_param: env_name } ]] }
@@ -668,6 +687,7 @@
instance02_name: cmn02
instance03_name: cmn03
instance_flavor: {get_param: cmn_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -719,6 +739,7 @@
instance02_name: rgw02
instance03_name: rgw03
instance_flavor: {get_param: rgw_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -770,6 +791,7 @@
instance02_name: osd002
instance03_name: osd003
instance_flavor: {get_param: osd_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -821,6 +843,7 @@
instance02_name: gtw02
instance03_name: gtw03
instance_flavor: {get_param: gtw_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -872,6 +895,7 @@
instance02_name: kmn02
instance03_name: kmn03
instance_flavor: {get_param: kmn_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join:
@@ -921,6 +945,7 @@
instance_domain: {get_param: instance_domain}
instance_name: dns01
instance_flavor: {get_param: dns_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
control_net_static_ip:
list_join:
@@ -946,6 +971,7 @@
instance_domain: {get_param: instance_domain}
instance_name: dns02
instance_flavor: {get_param: dns_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
control_net_static_ip:
list_join:
@@ -973,6 +999,7 @@
instance02_name: mdb02
instance03_name: mdb03
instance_flavor: {get_param: mdb_flavor}
+ availability_zone: { get_param: vm_availability_zone }
underlay_userdata: { get_file: ./underlay-userdata.yaml }
instance01_control_net_static_ip:
list_join: