summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--boot/so_vm_init.sh1
-rw-r--r--heat/ONAP/onap_openstack.yaml2
2 files changed, 3 insertions, 0 deletions
diff --git a/boot/so_vm_init.sh b/boot/so_vm_init.sh
index c6886011..9cfba5ea 100644
--- a/boot/so_vm_init.sh
+++ b/boot/so_vm_init.sh
@@ -8,6 +8,7 @@ OPENSTACK_USERNAME=$(cat /opt/config/openstack_username.txt)
OPENSTACK_APIKEY=$(cat /opt/config/api_key.txt)
export MSO_DOCKER_IMAGE_VERSION=$(cat /opt/config/docker_version.txt)
export MTU=$(/sbin/ifconfig | grep MTU | sed 's/.*MTU://' | sed 's/ .*//' | sort -n | head -1)
+export OPENO_IP=$(cat /opt/config/openo_ip.txt)
# Deployments in OpenStack require a keystone file
if [ -e /opt/config/keystone.txt ]
diff --git a/heat/ONAP/onap_openstack.yaml b/heat/ONAP/onap_openstack.yaml
index cf01778b..1f4fb91c 100644
--- a/heat/ONAP/onap_openstack.yaml
+++ b/heat/ONAP/onap_openstack.yaml
@@ -734,6 +734,7 @@ resources:
__dmaap_topic__: { get_param: dmaap_topic }
__artifacts_version__: { get_param: artifacts_version }
__dns_ip_addr__: { get_param: dns_ip_addr }
+ __openo_ip__: { get_param: openo_ip_addr }
__docker_version__: { get_param: so_docker }
__gerrit_branch__: { get_param: so_branch }
__cloud_env__: { get_param: cloud_env }
@@ -750,6 +751,7 @@ resources:
echo "__nexus_password__" > /opt/config/nexus_password.txt
echo "__artifacts_version__" > /opt/config/artifacts_version.txt
echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
+ echo "__openo_ip__" > /opt/config/openo_ip.txt
echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
echo "__openstack_username__" > /opt/config/openstack_username.txt
echo "__openstack_tenant_id__" > /opt/config/tenant_id.txt