diff options
author | Marco Platania <platania@research.att.com> | 2018-04-03 11:14:54 -0400 |
---|---|---|
committer | Marco Platania <platania@research.att.com> | 2018-04-03 11:14:54 -0400 |
commit | 78ef99f0d6df2bf296ad1c669b65a961203dc5ce (patch) | |
tree | b79c69e5a994915c339e3d4d5c75d1ed66f073f0 /boot | |
parent | e76f2617f635bf5a799c333404485881300bfd53 (diff) |
Add NBI configuration to DNS
Change-Id: I456d612171ab6f00a7f0390b585ea6208e047918
Issue-ID: INT-456
Signed-off-by: Marco Platania <platania@research.att.com>
Diffstat (limited to 'boot')
-rw-r--r-- | boot/bind_zones | 7 | ||||
-rw-r--r-- | boot/bind_zones_onap | 7 | ||||
-rw-r--r-- | boot/db_simpledemo_onap_org | 7 | ||||
-rw-r--r-- | boot/db_simpledemo_openecomp_org | 5 | ||||
-rw-r--r-- | boot/dns_install.sh | 2 |
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 |