From: Gary Wu Date: Wed, 7 Feb 2018 05:21:31 +0000 (-0800) Subject: Fix return of rancher IP address X-Git-Tag: sniroemulator-1.0.0~289 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=5d325d0db34ffe738da71c260c5c259f94d46ff4;p=integration.git Fix return of rancher IP address Change-Id: I4aa4711ffe1cdd10b69271ca305b95a2f6f406dd Issue-ID: INT-278 Signed-off-by: Gary Wu --- diff --git a/deployment/heat/onap-oom/onap-oom.yaml b/deployment/heat/onap-oom/onap-oom.yaml index e54a7b0f2..42c12a77a 100644 --- a/deployment/heat/onap-oom/onap-oom.yaml +++ b/deployment/heat/onap-oom/onap-oom.yaml @@ -197,7 +197,7 @@ resources: params: __docker_proxy__: { get_param: docker_proxy } __apt_proxy__: { get_param: apt_proxy } - __rancher_ip_addr__: { get_attr: [rancher_vm, first_address] } + __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] } __k8s_ip_addr__: { get_attr: [k8s_floating_ip, floating_ip_address] } __openstack_tenant_id__: { get_param: openstack_tenant_id } __openstack_tenant_name__: { get_param: openstack_tenant_name } @@ -227,7 +227,7 @@ resources: outputs: rancher_vm_ip: description: The IP address of the rancher instance - value: { get_attr: [rancher_vm, first_address] } + value: { get_attr: [rancher_floating_ip, floating_ip_address] } k8s_vm_ip: description: The IP address of the k8s instance