Add Public IP for AAF 01/63901/2
authorInstrumental <jonathan.gathman@att.com>
Thu, 30 Aug 2018 21:13:24 +0000 (16:13 -0500)
committerInstrumental <jonathan.gathman@att.com>
Thu, 30 Aug 2018 21:37:27 +0000 (16:37 -0500)
Issue-ID: AAF-420
Change-Id: Ie6d77603fd8711dc48037523e6018d9d345aec76
Signed-off-by: Instrumental <jonathan.gathman@att.com>
heat/ONAP/onap_openstack.yaml

index 76526fc..2053c9d 100644 (file)
@@ -2459,6 +2459,7 @@ resources:
               __docker_version__: { get_param: aaf_docker }
               __aaf_repo__: { get_param: aaf_repo }
               __gerrit_branch__: { get_param: aaf_branch }
+              __public_ip__: { get_attr: [aaf_floating_ip, floating_ip_address] }
               __local_ip__: { get_param: aaf_ip_addr }
             template: |
               #!/bin/bash
@@ -2467,6 +2468,7 @@ resources:
               echo "__docker_version__" > /opt/config/docker_version.txt
               echo "__aaf_repo__" > /opt/config/remote_repo.txt
               echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
+              echo "__public_ip__" > /opt/config/public_ip.txt
               echo "__local_ip__" > /opt/config/local_ip.txt
 
               cd /opt