diff options
author | Gary Wu <gary.i.wu@huawei.com> | 2018-02-06 21:21:31 -0800 |
---|---|---|
committer | Gary Wu <gary.i.wu@huawei.com> | 2018-02-06 21:22:50 -0800 |
commit | 5d325d0db34ffe738da71c260c5c259f94d46ff4 (patch) | |
tree | e0a5bed91123deab11d60daea061e43638598c52 /deployment | |
parent | 374498a7796e1755086579c8160206feb2375079 (diff) |
Fix return of rancher IP address
Change-Id: I4aa4711ffe1cdd10b69271ca305b95a2f6f406dd
Issue-ID: INT-278
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'deployment')
-rw-r--r-- | deployment/heat/onap-oom/onap-oom.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
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 |