Add output of k8s instance IP 05/28705/1
authorGary Wu <gary.i.wu@huawei.com>
Fri, 19 Jan 2018 23:03:59 +0000 (15:03 -0800)
committerGary Wu <gary.i.wu@huawei.com>
Fri, 19 Jan 2018 23:03:59 +0000 (15:03 -0800)
Change-Id: I683df9b2370be79e08e4021f3bbb7034aa45d05a
Issue-ID: INT-381
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
deployment/heat/onap-oom/onap-oom.yaml

index 25dd61b..6241c0a 100644 (file)
@@ -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] }