diff options
author | Marco Platania <platania@research.att.com> | 2017-04-17 16:58:44 -0400 |
---|---|---|
committer | Marco Platania <platania@research.att.com> | 2017-04-17 16:58:44 -0400 |
commit | 6f86bee471736d25c9f0815477f308c79833a2ee (patch) | |
tree | b48d20d543020d83b6f28b2ce7bde3e7cce7e812 /boot/dns_install.sh | |
parent | fb023aae59c444285a5a7847b85295d105926cd2 (diff) |
Add floating IPs for DCAE
Change-Id: I3996a21ec735a0ad14d5e42e67d006063f9db72c
Signed-off-by: Marco Platania <platania@research.att.com>
Diffstat (limited to 'boot/dns_install.sh')
-rw-r--r-- | boot/dns_install.sh | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/boot/dns_install.sh b/boot/dns_install.sh index ca5e894d..710ff98d 100644 --- a/boot/dns_install.sh +++ b/boot/dns_install.sh @@ -36,9 +36,6 @@ curl -k $NEXUS_REPO/org.openecomp.demo/boot/$ARTIFACTS_VERSION/named.conf.local if [[ $CLOUD_ENV == "openstack" ]] then sed -i "s/dns_ip_addr/"$(cat /opt/config/dns_ip_addr.txt)"/g" /etc/bind/named.conf.options - A=$(cat /opt/config/dcae_ip_addr.txt | cut -d"." -f1) - B=$(cat /opt/config/dcae_ip_addr.txt | cut -d"." -f2) - C=$(cat /opt/config/dcae_ip_addr.txt | cut -d"." -f3) sed -i "s/aai_ip_addr/"$(cat /opt/config/aai_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org sed -i "s/appc_ip_addr/"$(cat /opt/config/appc_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org sed -i "s/dcae_ip_addr/"$(cat /opt/config/dcae_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org @@ -51,7 +48,7 @@ then sed -i "s/sdc_ip_addr/"$(cat /opt/config/sdc_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org sed -i "s/sdnc_ip_addr/"$(cat /opt/config/sdnc_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org sed -i "s/vid_ip_addr/"$(cat /opt/config/vid_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org - sed -i "s/dcae_coll_ip_addr/"$A.$B.$C"/g" /etc/bind/zones/db.simpledemo.openecomp.org + sed -i "s/dcae_coll_ip_addr/"$(cat /opt/config/dcae_coll_float_ip.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org fi # Configure Bind |