Add to stack outputs ceph frontend network ips
Related-Prod: PRODX-57906
Change-Id: I57e7a6b81b9e269090896357adc49fc59e24f024
diff --git a/hco/fragments/VMInstance.yaml b/hco/fragments/VMInstance.yaml
index 40be33b..4c4e2a2 100644
--- a/hco/fragments/VMInstance.yaml
+++ b/hco/fragments/VMInstance.yaml
@@ -104,3 +104,6 @@
server_k8s_ipv4:
description: List of assigned network addresses
value: { get_attr: [ k8s_network_port, fixed_ips, 0, ip_address ] }
+ server_ceph_frontend_ip:
+ description: IP address of server in storage frontend network
+ value: { get_attr: [server, networks, { get_param: storage_frontend_network}, 0]}
diff --git a/hco/top.yaml b/hco/top.yaml
index 9060e25..9a34116 100644
--- a/hco/top.yaml
+++ b/hco/top.yaml
@@ -283,6 +283,9 @@
workers_ips:
description: Public IP addresses of the deployed worker instances
value: { get_attr: [workers, server_public_ip] }
+ masters_storage_ips:
+ description: Ceph storage frontend IP addresses of the deployed masters instances
+ value: { get_attr: [masters, server_ceph_frontend_ip] }
storage_frontend_network_cidr:
description: Storage network which is used as clientNet in Ceph CR
value: { get_param: storage_frontend_network_cidr }