aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2018-01-19 15:03:59 -0800
committerGary Wu <gary.i.wu@huawei.com>2018-01-19 15:03:59 -0800
commit14ee41dd36ee23df8c66eca68fc5c9abf5141b93 (patch)
tree2cd4389c3c1a47cf7e4ea24edd8e5d1eb4b5ae40
parent558ac6e99b556814826370d81219fb137c070607 (diff)
Add output of k8s instance IP
Change-Id: I683df9b2370be79e08e4021f3bbb7034aa45d05a Issue-ID: INT-381 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
-rw-r--r--deployment/heat/onap-oom/onap-oom.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/deployment/heat/onap-oom/onap-oom.yaml b/deployment/heat/onap-oom/onap-oom.yaml
index 25dd61be7..6241c0ae3 100644
--- a/deployment/heat/onap-oom/onap-oom.yaml
+++ b/deployment/heat/onap-oom/onap-oom.yaml
@@ -163,3 +163,7 @@ resources:
template:
get_file: k8s_vm_entrypoint.sh
+outputs:
+ k8s_vm_ip:
+ description: The IP address of the k8s instance
+ value: { get_attr: [k8s_vm, first_address] }