aboutsummaryrefslogtreecommitdiffstats
path: root/boot
diff options
context:
space:
mode:
Diffstat (limited to 'boot')
-rw-r--r--boot/bind_zones7
-rw-r--r--boot/bind_zones_onap7
-rw-r--r--boot/db_simpledemo_onap_org7
-rw-r--r--boot/db_simpledemo_openecomp_org5
-rw-r--r--boot/dns_install.sh2
5 files changed, 25 insertions, 3 deletions
diff --git a/boot/bind_zones b/boot/bind_zones
index 1dfd6d02..bfdbcb54 100644
--- a/boot/bind_zones
+++ b/boot/bind_zones
@@ -87,6 +87,8 @@ vm1.music.simpledemo.openecomp.org. IN A music_ip_addr
vm1.oof.simpledemo.openecomp.org. IN A oof_ip_addr
+vm1.nbi.simpledemo.openecomp.org. IN A nbi_ip_addr
+
;CNAMES
;A&AI
@@ -149,4 +151,7 @@ esr.api.simpledemo.openecomp.org. IN CNAME vm1.openo.simpledemo.openecomp.org
music.api.simpledemo.openecomp.org. IN CNAME vm1.music.simpledemo.openecomp.org.
;OOF
-oof.api.simpledemo.openecomp.org. IN CNAME vm1.oof.simpledemo.openecomp.org. \ No newline at end of file
+oof.api.simpledemo.openecomp.org. IN CNAME vm1.oof.simpledemo.openecomp.org.
+
+;NBI
+nbi.api.simpledemo.openecomp.org. IN CNAME vm1.nbi.simpledemo.openecomp.org. \ No newline at end of file
diff --git a/boot/bind_zones_onap b/boot/bind_zones_onap
index 425f3d1e..b5a13577 100644
--- a/boot/bind_zones_onap
+++ b/boot/bind_zones_onap
@@ -87,6 +87,8 @@ vm1.music.simpledemo.openecomp.org. IN A music_ip_addr
vm1.oof.simpledemo.openecomp.org. IN A oof_ip_addr
+vm1.nbi.simpledemo.openecomp.org. IN A nbi_ip_addr
+
;CNAMES
;A&AI
@@ -149,4 +151,7 @@ esr.api.simpledemo.onap.org. IN CNAME vm1.openo.simpledemo.onap.org.
music.api.simpledemo.onap.org. IN CNAME vm1.music.simpledemo.onap.org.
;OOF
-oof.api.simpledemo.onap.org. IN CNAME vm1.oof.simpledemo.onap.org. \ No newline at end of file
+oof.api.simpledemo.onap.org. IN CNAME vm1.oof.simpledemo.onap.org.
+
+;NBI
+nbi.api.simpledemo.onap.org. IN CNAME vm1.nbi.simpledemo.onap.org. \ No newline at end of file
diff --git a/boot/db_simpledemo_onap_org b/boot/db_simpledemo_onap_org
index c3a2df84..d5c3f8a5 100644
--- a/boot/db_simpledemo_onap_org
+++ b/boot/db_simpledemo_onap_org
@@ -87,6 +87,8 @@ vm1.music.simpledemo.onap.org. IN A 10.0.15.1
vm1.oof.simpledemo.onap.org. IN A 10.0.16.1
+vm1.nbi.simpledemo.onap.org. IN A 10.0.17.1
+
;CNAMES
;A&AI
@@ -151,4 +153,7 @@ esr.api.simpledemo.onap.org. IN CNAME vm1.openo.simpledemo.onap.org.
music.api.simpledemo.onap.org. IN CNAME vm1.music.simpledemo.onap.org.
;OOF
-oof.api.simpledemo.onap.org. IN CNAME vm1.oof.simpledemo.onap.org. \ No newline at end of file
+oof.api.simpledemo.onap.org. IN CNAME vm1.oof.simpledemo.onap.org.
+
+;NBI
+nbi.api.simpledemo.onap.org. IN CNAME vm1.nbi.simpledemo.onap.org. \ No newline at end of file
diff --git a/boot/db_simpledemo_openecomp_org b/boot/db_simpledemo_openecomp_org
index e867a26f..e3fa1f62 100644
--- a/boot/db_simpledemo_openecomp_org
+++ b/boot/db_simpledemo_openecomp_org
@@ -87,6 +87,8 @@ vm1.music.simpledemo.openecomp.org. IN A 10.0.15.1
vm1.oof.simpledemo.openecomp.org. IN A 10.0.16.1
+vm1.nbi.simpledemo.openecomp.org. IN A 10.0.17.1
+
;CNAMES
;A&AI
@@ -152,3 +154,6 @@ music.api.simpledemo.openecomp.org. IN CNAME vm1.music.simpledemo.openecomp.org.
;OOF
oof.api.simpledemo.openecomp.org. IN CNAME vm1.oof.simpledemo.openecomp.org.
+
+;NBI
+nbi.api.simpledemo.openecomp.org. IN CNAME vm1.nbi.simpledemo.openecomp.org. \ No newline at end of file
diff --git a/boot/dns_install.sh b/boot/dns_install.sh
index 239bfce5..fbe3df75 100644
--- a/boot/dns_install.sh
+++ b/boot/dns_install.sh
@@ -91,6 +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/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
@@ -110,6 +111,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
fi
# Configure Bind