summaryrefslogtreecommitdiffstats
path: root/boot/dcae_install.sh
diff options
context:
space:
mode:
authorMarco Platania <platania@research.att.com>2017-04-17 16:58:44 -0400
committerMarco Platania <platania@research.att.com>2017-04-17 16:58:44 -0400
commit6f86bee471736d25c9f0815477f308c79833a2ee (patch)
treeb48d20d543020d83b6f28b2ce7bde3e7cce7e812 /boot/dcae_install.sh
parentfb023aae59c444285a5a7847b85295d105926cd2 (diff)
Add floating IPs for DCAE
Change-Id: I3996a21ec735a0ad14d5e42e67d006063f9db72c Signed-off-by: Marco Platania <platania@research.att.com>
Diffstat (limited to 'boot/dcae_install.sh')
-rw-r--r--boot/dcae_install.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/boot/dcae_install.sh b/boot/dcae_install.sh
index 54d135da..f9de935b 100644
--- a/boot/dcae_install.sh
+++ b/boot/dcae_install.sh
@@ -25,6 +25,13 @@ NEXUS_USER=$(cat /opt/config/nexus_username.txt)
NEXUS_PASSWORD=$(cat /opt/config/nexus_password.txt)
NEXUS_URL_SNAPSHOTS=$(cat /opt/config/nexus_url_snapshots.txt)
DOCKER_REGISTRY=$(cat /opt/config/nexus_docker_repo.txt)
+DCAE_CODE_VERSION=$(cat /opt/config/dcae_code_version.txt)
+
+DCAE_COLL_FLOAT_IP=$(cat /opt/config/dcae_coll_float_ip.txt)
+DCAE_DB_FLOAT_IP=$(cat /opt/config/dcae_db_float_ip.txt)
+DCAE_HDP1_FLOAT_IP=$(cat /opt/config/dcae_hdp1_float_ip.txt)
+DCAE_HDP2_FLOAT_IP=$(cat /opt/config/dcae_hdp2_float_ip.txt)
+DCAE_HDP3_FLOAT_IP=$(cat /opt/config/dcae_hdp3_float_ip.txt)
# Add host name to /etc/host to avoid warnings in openstack images
if [[ $CLOUD_ENV == "openstack" ]]
@@ -72,7 +79,7 @@ mkdir -p /opt/app/dcae-controller
cat > /opt/app/dcae-controller/config.yaml << EOF_CONFIG
ZONE: $ZONE
STATE: $STATE
-DCAE-VERSION: $ARTIFACTS_VERSION
+DCAE-VERSION: $DCAE_CODE_VERSION
HORIZON-URL: $HORIZON_URL/$OPENSTACK_USER
KEYSTONE-URL: $KEYSTONE_URL
OPENSTACK-TENANT-ID: $OPENSTACK_TENANT_ID