summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Platania <platania@research.att.com>2018-04-04 11:26:09 -0400
committerMarco Platania <platania@research.att.com>2018-04-04 11:26:09 -0400
commit47c7215bb817328216c3aa42ff9b8e238ed8c607 (patch)
tree32d259a1d9ffd2301347305a8b547263d74b1a67
parent638615104024658d5c49ee4f385e1d092a4c0f5b (diff)
Fix DNS issues with MUSIC, OOF and AAF FQDNs
Change-Id: I3f470164cdbeb1b038587aee31dc76a32fe8a4a0 Issue-ID: INT-444 Signed-off-by: Marco Platania <platania@research.att.com>
-rw-r--r--boot/bind_zones_onap6
-rw-r--r--boot/dns_install.sh10
2 files changed, 8 insertions, 8 deletions
diff --git a/boot/bind_zones_onap b/boot/bind_zones_onap
index b5a13577..d0cdf838 100644
--- a/boot/bind_zones_onap
+++ b/boot/bind_zones_onap
@@ -83,11 +83,11 @@ vm1.mr.simpledemo.onap.org. IN A mr_ip_addr
vm1.openo.simpledemo.onap.org. IN A openo_ip_addr
-vm1.music.simpledemo.openecomp.org. IN A music_ip_addr
+vm1.music.simpledemo.onap.org. IN A music_ip_addr
-vm1.oof.simpledemo.openecomp.org. IN A oof_ip_addr
+vm1.oof.simpledemo.onap.org. IN A oof_ip_addr
-vm1.nbi.simpledemo.openecomp.org. IN A nbi_ip_addr
+vm1.nbi.simpledemo.onap.org. IN A nbi_ip_addr
;CNAMES
diff --git a/boot/dns_install.sh b/boot/dns_install.sh
index fbe3df75..d6d18c96 100644
--- a/boot/dns_install.sh
+++ b/boot/dns_install.sh
@@ -91,7 +91,7 @@ then
sed -i "s/music_ip_addr/"$(cat /opt/config/music_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org
sed -i "s/oof_ip_addr/"$(cat /opt/config/oof_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org
sed -i "s/aaf_ip_addr/"$(cat /opt/config/aaf_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org
- sed -i "s/aaf_ip_addr/"$(cat /opt/config/nbi_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org
+ sed -i "s/nbi_ip_addr/"$(cat /opt/config/nbi_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org
sed -i "s/aai1_ip_addr/"$(cat /opt/config/aai1_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.onap.org
sed -i "s/aai2_ip_addr/"$(cat /opt/config/aai2_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.onap.org
@@ -108,10 +108,10 @@ then
sed -i "s/vid_ip_addr/"$(cat /opt/config/vid_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.onap.org
sed -i "s/clamp_ip_addr/"$(cat /opt/config/clamp_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.onap.org
sed -i "s/openo_ip_addr/"$(cat /opt/config/openo_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.onap.org
- sed -i "s/music_ip_addr/"$(cat /opt/config/music_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org
- sed -i "s/oof_ip_addr/"$(cat /opt/config/oof_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org
- sed -i "s/aaf_ip_addr/"$(cat /opt/config/aaf_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org
- sed -i "s/aaf_ip_addr/"$(cat /opt/config/nbi_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org
+ sed -i "s/music_ip_addr/"$(cat /opt/config/music_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.onap.org
+ sed -i "s/oof_ip_addr/"$(cat /opt/config/oof_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.onap.org
+ sed -i "s/aaf_ip_addr/"$(cat /opt/config/aaf_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.onap.org
+ sed -i "s/nbi_ip_addr/"$(cat /opt/config/nbi_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.onap.org
fi
# Configure Bind