aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGary Wu <gary.wu@futurewei.com>2019-06-07 14:11:53 -0700
committerYang Xu <yang.xu@futurewei.com>2019-06-07 21:24:34 +0000
commit4d483605bc6ba57349eed01d10ebcbc90b2bce31 (patch)
tree04b8bdc422c3b72364d11150160eafcb4eeb1e7e
parentecba22c3fd5aab50eb637c970d08e94269f6fde9 (diff)
Add rancher_vm_private_ip output for heat template
Issue-ID: INT-1055 Signed-off-by: Gary Wu <gary.wu@futurewei.com> Change-Id: If35a35c3435a9c0796e7784b095c84c5c31c46b9
-rw-r--r--deployment/heat/onap-rke/onap-oom.yaml4
-rw-r--r--deployment/heat/onap-rke/parts/onap-oom-3.yaml4
2 files changed, 8 insertions, 0 deletions
diff --git a/deployment/heat/onap-rke/onap-oom.yaml b/deployment/heat/onap-rke/onap-oom.yaml
index 1b97a022f..baab5570e 100644
--- a/deployment/heat/onap-rke/onap-oom.yaml
+++ b/deployment/heat/onap-rke/onap-oom.yaml
@@ -1333,6 +1333,10 @@ outputs:
description: The IP address of the rancher instance
value: { get_attr: [rancher_floating_ip, floating_ip_address] }
+ rancher_vm_private_ip:
+ description: The private IP address of the rancher instance
+ value: { get_attr: [rancher_floating_ip, fixed_ip_address] }
+
k8s_01_vm_ip:
description: The IP address of the k8s_01 instance
value: { get_attr: [k8s_01_floating_ip, floating_ip_address] }
diff --git a/deployment/heat/onap-rke/parts/onap-oom-3.yaml b/deployment/heat/onap-rke/parts/onap-oom-3.yaml
index 3b3cf7022..ca71d61fd 100644
--- a/deployment/heat/onap-rke/parts/onap-oom-3.yaml
+++ b/deployment/heat/onap-rke/parts/onap-oom-3.yaml
@@ -6,3 +6,7 @@ outputs:
description: The IP address of the rancher instance
value: { get_attr: [rancher_floating_ip, floating_ip_address] }
+ rancher_vm_private_ip:
+ description: The private IP address of the rancher instance
+ value: { get_attr: [rancher_floating_ip, fixed_ip_address] }
+