Move node labeling and net configuration to bootstrap
The patch moves node labeling and network interface along with
bridge, veth pairs from pipelines to heat bootstrap script. Net
configuration is set by netplan therefore it is made in matter
of permanent config.
Related-PROD: PRODX-2361
Change-Id: I12a5e839ad453b73d6f505859ef80838289a4184
diff --git a/de/heat-templates/srv-group.yaml b/de/heat-templates/srv-group.yaml
index a2cf684..dee472b 100644
--- a/de/heat-templates/srv-group.yaml
+++ b/de/heat-templates/srv-group.yaml
@@ -49,6 +49,7 @@
$wait_condition_notify: { get_attr: [ wait_handle, curl_cli ] }
$ucp_license_key: { get_file: ./scripts/license.lic }
$ucp_master_host: { get_param: ucp_master_host }
+ $node_metadata: { get_param: metadata }
server:
type: OS::Nova::Server
@@ -90,6 +91,9 @@
server_private_ip:
description: IP address of server in private network
value: { get_attr: [ server_port, fixed_ips, 0, ip_address] }
+ server_private_floating_ip:
+ description: IP address of server in private floating network
+ value: { get_attr: [server, networks, { get_param: private_floating_network }, 0]}
server_public_ip:
description: Floating IP address of server in public network
value: { get_attr: [ server_floating_ip, floating_ip_address ] }