Add empty node to deployment
PROD-35900
Change-Id: I9cb41194dcdad513a85662cc25298339b3f42bdb
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 0d2c6bb..4b8fac8 100644
--- a/tcp_tests/templates/heat-cicd-queens-dvr-sl/underlay.hot
+++ b/tcp_tests/templates/heat-cicd-queens-dvr-sl/underlay.hot
@@ -1065,6 +1065,34 @@
instance_config_host: { get_attr: [cfg01_node, instance_address] }
+ empty_node:
+ type: MCP::SingleInstance2Volumes
+ depends_on: [cfg01_node]
+ properties:
+ env_name: { get_param: env_name }
+ mcp_version: { get_param: mcp_version }
+ instance_domain: {get_param: instance_domain}
+ instance_name: xtra
+ role: none
+ instance_flavor: {get_param: osd_flavor}
+ availability_zone: { get_param: vm_availability_zone }
+ underlay_userdata: { get_file: ./underlay-userdata.yaml }
+ control_net_static_ip:
+ list_join:
+ - '.'
+ - [ { get_attr: [subnets, control_net_prefix] }, '205' ]
+ tenant_net_static_ip:
+ list_join:
+ - '.'
+ - [ { get_attr: [subnets, tenant_net_prefix] }, '205' ]
+ external_net_static_ip:
+ list_join:
+ - '.'
+ - [ { get_attr: [subnets, external_net_prefix] }, '205' ]
+
+ instance_config_host: { get_attr: [cfg01_node, instance_address] }
+
+
outputs:
foundation_public_ip:
description: foundation node IP address (floating) from external network
@@ -1072,4 +1100,10 @@
get_attr:
- foundation_node
- instance_floating_address
+ cfg_public_ip:
+ description: CFG node IP address (floating) from external network
+ value:
+ get_attr:
+ - cfg01_node
+ - instance_floating_address
...