Adding extra parameters to outputs
The patch adds extra paramters to heat template output to be
used for generating extra context with proper interfaces, metallb
network cidr etc.
Related-PROD: PRODX-2342
Change-Id: Ia6dcd701d4abb366b248d3021049f9e3ca248098
diff --git a/de/heat-templates/scripts/instance_boot.sh b/de/heat-templates/scripts/instance_boot.sh
index 1e12aee..0901dbe 100644
--- a/de/heat-templates/scripts/instance_boot.sh
+++ b/de/heat-templates/scripts/instance_boot.sh
@@ -13,6 +13,7 @@
NODE_METADATA='$node_metadata'
DOCKER_EE_URL='$docker_ee_url'
DOCKER_EE_RELEASE='$docker_ee_release'
+FLOATING_NETWORK_PREFIXES=$private_floating_network_cidr
#
# End of block
#
diff --git a/de/heat-templates/top.yaml b/de/heat-templates/top.yaml
index 53fe0ba..5345916 100644
--- a/de/heat-templates/top.yaml
+++ b/de/heat-templates/top.yaml
@@ -112,6 +112,15 @@
docker_ee_release:
type: string
default: 'stable-19.03'
+ tunnel_interface:
+ type: string
+ default: ''
+ live_migration_interface:
+ type: string
+ default: ''
+ metallb_address_pools:
+ type: comma_delimited_list
+ default: ''
resources:
key_pair:
@@ -380,4 +389,9 @@
value: { get_param: private_floating_network_pool_end }
private_floating_network_gateway:
value: { get_param: private_floating_network_gateway }
-
+ tunnel_interface:
+ value: { get_param: tunnel_interface }
+ live_migration_interface:
+ value: { get_param: live_migration_interface }
+ metallb_address_pools:
+ value: { get_param: metallb_address_pools }