Add vbmc ironic baremetal IPs to stack outputs
Related-Prod: PRODX-4769
Change-Id: I4dac0a5bbdff39000fd71dad69151ce81c6b90a5
diff --git a/de/heat-templates/fragments/SrvInstancesBMCeph.yaml b/de/heat-templates/fragments/SrvInstancesBMCeph.yaml
index 0d6a330..6d84308 100644
--- a/de/heat-templates/fragments/SrvInstancesBMCeph.yaml
+++ b/de/heat-templates/fragments/SrvInstancesBMCeph.yaml
@@ -169,6 +169,9 @@
server_private_floating_ip:
description: IP address of server in private floating network
value: { get_attr: [private_floating_server_port, fixed_ips, 0, ip_address] }
+ server_ironic_baremetal_ip:
+ description: IP address of server in ironic baremetal network
+ value: { get_attr: [ironic_baremetal_server_port, fixed_ips, 0, ip_address] }
server_public_ip:
description: Floating IP address of server in public network
value: { get_attr: [server, networks, { get_param: accessible_network}, 0]}
diff --git a/de/heat-templates/fragments/SrvInstancesBMCephOSD.yaml b/de/heat-templates/fragments/SrvInstancesBMCephOSD.yaml
index b36bfa8..5435c1e 100644
--- a/de/heat-templates/fragments/SrvInstancesBMCephOSD.yaml
+++ b/de/heat-templates/fragments/SrvInstancesBMCephOSD.yaml
@@ -188,6 +188,9 @@
server_private_floating_ip:
description: IP address of server in private floating network
value: { get_attr: [private_floating_server_port, fixed_ips, 0, ip_address] }
+ server_ironic_baremetal_ip:
+ description: IP address of server in ironic baremetal network
+ value: { get_attr: [ironic_baremetal_server_port, fixed_ips, 0, ip_address] }
server_public_ip:
description: Floating IP address of server in public network
value: { get_attr: [server, networks, { get_param: accessible_network}, 0]}
diff --git a/de/heat-templates/fragments/SrvInstancesVMCeph.yaml b/de/heat-templates/fragments/SrvInstancesVMCeph.yaml
index 0fe648f..cdf9069 100644
--- a/de/heat-templates/fragments/SrvInstancesVMCeph.yaml
+++ b/de/heat-templates/fragments/SrvInstancesVMCeph.yaml
@@ -191,6 +191,9 @@
server_private_floating_ip:
description: IP address of server in private floating network
value: { get_attr: [private_floating_server_port, fixed_ips, 0, ip_address] }
+ server_ironic_baremetal_ip:
+ description: IP address of server in ironic baremetal network
+ value: { get_attr: [ironic_baremetal_server_port, fixed_ips, 0, ip_address] }
server_public_ip:
description: Floating IP address of server in public network
value: { get_attr: [ server_floating_ip, floating_ip_address ] }
diff --git a/de/heat-templates/fragments/SrvInstancesVMCephOSD.yaml b/de/heat-templates/fragments/SrvInstancesVMCephOSD.yaml
index ed5bf0d..8ba5d55 100644
--- a/de/heat-templates/fragments/SrvInstancesVMCephOSD.yaml
+++ b/de/heat-templates/fragments/SrvInstancesVMCephOSD.yaml
@@ -211,6 +211,9 @@
server_private_floating_ip:
description: IP address of server in private floating network
value: { get_attr: [private_floating_server_port, fixed_ips, 0, ip_address] }
+ server_ironic_baremetal_ip:
+ description: IP address of server in ironic baremetal network
+ value: { get_attr: [ironic_baremetal_server_port, fixed_ips, 0, ip_address] }
server_public_ip:
description: Floating IP address of server in public network
value: { get_attr: [ server_floating_ip, floating_ip_address ] }
diff --git a/de/heat-templates/top.yaml b/de/heat-templates/top.yaml
index 6ec1e76..e14423c 100644
--- a/de/heat-templates/top.yaml
+++ b/de/heat-templates/top.yaml
@@ -634,6 +634,9 @@
vbmcs_ips:
description: Private IP addresses of the deployed virtualbmcs instances
value: { get_attr: [vbmcs, server_public_ip] }
+ vbmc_ironic_baremetal_ips:
+ description: The IPs of ironic baremetal network assigned to vbmc hosts.
+ value: { get_attr: [vbmcs, server_ironic_baremetal_ip] }
worker_private_floating_ips:
description: IPs might be used as gateway
value: { get_attr: [workers, server_private_floating_ip] }