summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--boot/bind_zones9
-rw-r--r--boot/bind_zones_onap144
-rw-r--r--boot/db_simpledemo_onap_org134
-rw-r--r--boot/db_simpledemo_openecomp_org8
-rw-r--r--boot/dns_install.sh22
-rw-r--r--boot/esr_vm_init.sh19
-rw-r--r--boot/msb_vm_init.sh102
-rw-r--r--boot/named.conf.local5
-rw-r--r--boot/openo_all_serv.sh3
-rw-r--r--boot/openo_install.sh2
-rwxr-xr-xboot/uui_vm_init.sh8
-rwxr-xr-xboot/vfc_vm_init.sh6
-rw-r--r--heat/ONAP/onap_openstack.env1
-rw-r--r--heat/ONAP/onap_openstack.yaml4
-rw-r--r--heat/ONAP/onap_openstack_float.env1
-rw-r--r--heat/ONAP/onap_openstack_float.yaml4
-rw-r--r--heat/ONAP/onap_openstack_nofloat.env1
-rw-r--r--heat/ONAP/onap_openstack_nofloat.yaml11
-rw-r--r--heat/vCPE/vbng/base_vcpe_vbng.env2
-rw-r--r--heat/vCPE/vbrgemu/base_vcpe_vbrgemu.env2
-rw-r--r--heat/vCPE/vgmux/base_vcpe_vgmux.env6
-rw-r--r--vnfs/VESreporting_vFW5.0/vpp_measurement_reporter.c2
-rw-r--r--vnfs/VESreporting_vLB5.0/vpp_measurement_reporter.c2
-rw-r--r--vnfs/vCPE/scripts/v_gmux_install.sh1
-rw-r--r--vnfs/vCPE/vpp-ves-agent-for-vgmux/src/patches/Vpp-Add-VES-agent-for-vG-MUX.patch2
25 files changed, 433 insertions, 68 deletions
diff --git a/boot/bind_zones b/boot/bind_zones
index 0c8a114b..3823aa66 100644
--- a/boot/bind_zones
+++ b/boot/bind_zones
@@ -69,6 +69,10 @@ vm1.portal.simpledemo.openecomp.org. IN A portal_ip_addr
c1.vm1.portal.simpledemo.openecomp.org. IN A portal_ip_addr
c2.vm1.portal.simpledemo.openecomp.org. IN A portal_ip_addr
+vm1.robot.simpledemo.openecomp.org. IN A robot_ip_addr
+c1.vm1.robot.simpledemo.openecomp.org. IN A robot_ip_addr
+c2.vm1.robot.simpledemo.openecomp.org. IN A robot_ip_addr
+
vm1.clamp.simpledemo.openecomp.org. IN A clamp_ip_addr
c1.vm1.clamp.simpledemo.openecomp.org. IN A clamp_ip_addr
c2.vm1.clamp.simpledemo.openecomp.org. IN A clamp_ip_addr
@@ -124,6 +128,10 @@ collector.api.simpledemo.openecomp.org. IN A dcae_coll_ip_addr
;CLAMP
clamp.api.simpledemo.openecomp.org. IN CNAME vm1.clamp.simpledemo.openecomp.org.
+;ROBOT/SNIRO
+robot.api.simpledemo.openecomp.org. IN CNAME vm1.robot.simpledemo.openecomp.org.
+sniro.api.simpledemo.openecomp.org. IN CNAME vm1.robot.simpledemo.openecomp.org.
+
;AAF
;aaf.api.simpledemo.openecomp.org. IN CNAME vm1.aaf.simpledemo.openecomp.org.
@@ -133,3 +141,4 @@ mvim.api.simpledemo.openecomp.org. IN CNAME vm1.openo.simpledemo.openecomp.or
vnfsdk.api.simpledemo.openecomp.org. IN CNAME vm1.openo.simpledemo.openecomp.org.
vfc.api.simpledemo.openecomp.org. IN CNAME vm1.openo.simpledemo.openecomp.org.
uui.api.simpledemo.openecomp.org. IN CNAME vm1.openo.simpledemo.openecomp.org.
+esr.api.simpledemo.openecomp.org. IN CNAME vm1.openo.simpledemo.openecomp.org.
diff --git a/boot/bind_zones_onap b/boot/bind_zones_onap
new file mode 100644
index 00000000..29891646
--- /dev/null
+++ b/boot/bind_zones_onap
@@ -0,0 +1,144 @@
+;
+; BIND data file for local loopback interface
+;
+$TTL 604800
+@ IN SOA simpledemo.onap.org. admin.simpledemo.onap.org. (
+ 20170221 ; Serial
+ 604800 ; Refresh
+ 86400 ; Retry
+ 2419200 ; Expire
+ 604800 ) ; Negative Cache TTL
+;
+; name servers - NS records
+ IN NS simpledemo.onap.org.
+
+; name servers - A records
+simpledemo.onap.org. IN A dns_ip_addr
+
+;
+vm1.aai.simpledemo.onap.org. IN A aai1_ip_addr
+c1.vm1.aai.simpledemo.onap.org. IN A aai1_ip_addr
+c2.vm1.aai.simpledemo.onap.org. IN A aai1_ip_addr
+c3.vm1.aai.simpledemo.onap.org. IN A aai1_ip_addr
+
+vm2.aai.simpledemo.onap.org. IN A aai2_ip_addr
+c1.vm2.aai.simpledemo.onap.org. IN A aai2_ip_addr
+c2.vm2.aai.simpledemo.onap.org. IN A aai2_ip_addr
+c3.vm2.aai.simpledemo.onap.org. IN A aai2_ip_addr
+
+vm1.appc.simpledemo.onap.org. IN A appc_ip_addr
+c1.vm1.appc.simpledemo.onap.org. IN A appc_ip_addr
+c2.vm1.appc.simpledemo.onap.org. IN A appc_ip_addr
+
+vm1.sdc.simpledemo.onap.org. IN A sdc_ip_addr
+c1.vm1.sdc.simpledemo.onap.org. IN A sdc_ip_addr
+c2.vm1.sdc.simpledemo.onap.org. IN A sdc_ip_addr
+c3.vm1.sdc.simpledemo.onap.org. IN A sdc_ip_addr
+c4.vm1.sdc.simpledemo.onap.org. IN A sdc_ip_addr
+
+vm1.dcae.simpledemo.onap.org. IN A dcae_ip_addr
+c1.vm1.dcae.simpledemo.onap.org. IN A dcae_ip_addr
+c2.vm1.dcae.simpledemo.onap.org. IN A dcae_ip_addr
+c3.vm1.dcae.simpledemo.onap.org IN A dcae_ip_addr
+
+vm1.mso.simpledemo.onap.org. IN A so_ip_addr
+c1.vm1.mso.simpledemo.onap.org. IN A so_ip_addr
+c1.vm1.mso.simpledemo.onap.org. IN A so_ip_addr
+
+vm1.policy.simpledemo.onap.org. IN A policy_ip_addr
+c1.vm1.policy.simpledemo.onap.org. IN A policy_ip_addr
+c2.vm1.policy.simpledemo.onap.org. IN A policy_ip_addr
+c3.vm1.policy.simpledemo.onap.org. IN A policy_ip_addr
+c4.vm1.policy.simpledemo.onap.org. IN A policy_ip_addr
+c5.vm1.policy.simpledemo.onap.org. IN A policy_ip_addr
+c6.vm1.policy.simpledemo.onap.org. IN A policy_ip_addr
+c7.vm1.policy.simpledemo.onap.org. IN A policy_ip_addr
+c8.vm1.policy.simpledemo.onap.org. IN A policy_ip_addr
+
+vm1.sdnc.simpledemo.onap.org. IN A sdnc_ip_addr
+c1.vm1.sdnc.simpledemo.onap.org. IN A sdnc_ip_addr
+c2.vm1.sdnc.simpledemo.onap.org. IN A sdnc_ip_addr
+c3.vm1.sdnc.simpledemo.onap.org. IN A sdnc_ip_addr
+c4.vm1.sdnc.simpledemo.onap.org. IN A sdnc_ip_addr
+
+vm1.vid.simpledemo.onap.org. IN A vid_ip_addr
+c1.vm1.vid.simpledemo.onap.org. IN A vid_ip_addr
+c2.vm1.vid.simpledemo.onap.org. IN A vid_ip_addr
+
+vm1.portal.simpledemo.onap.org. IN A portal_ip_addr
+c1.vm1.portal.simpledemo.onap.org. IN A portal_ip_addr
+c2.vm1.portal.simpledemo.onap.org. IN A portal_ip_addr
+
+vm1.robot.simpledemo.onap.org. IN A robot_ip_addr
+c1.vm1.robot.simpledemo.onap.org. IN A robot_ip_addr
+c2.vm1.robot.simpledemo.onap.org. IN A robot_ip_addr
+
+vm1.clamp.simpledemo.onap.org. IN A clamp_ip_addr
+c1.vm1.clamp.simpledemo.onap.org. IN A clamp_ip_addr
+c2.vm1.clamp.simpledemo.onap.org. IN A clamp_ip_addr
+
+;vm1.aaf.simpledemo.onap.org. IN A aaf_ip_addr
+
+vm1.mr.simpledemo.onap.org. IN A mr_ip_addr
+
+vm1.openo.simpledemo.onap.org. IN A openo_ip_addr
+
+
+;CNAMES
+;A&AI
+aai.api.simpledemo.onap.org. IN CNAME vm1.aai.simpledemo.onap.org.
+aai.ui.simpledemo.onap.org. IN CNAME vm1.aai.simpledemo.onap.org.
+aai.searchservice.simpledemo.onap.org. IN CNAME vm1.aai.simpledemo.onap.org.
+aai.hbase.simpledemo.onap.org. IN CNAME vm2.aai.simpledemo.onap.org.
+aai.gremlinserver.simpledemo.onap.org. IN CNAME vm2.aai.simpledemo.onap.org.
+aai.elasticsearch.simpledemo.onap.org. IN CNAME vm2.aai.simpledemo.onap.org.
+
+;APPC
+appc.api.simpledemo.onap.org. IN CNAME vm1.appc.simpledemo.onap.org.
+
+;ASDC
+sdc.api.simpledemo.onap.org. IN CNAME vm1.sdc.simpledemo.onap.org.
+
+;DCAE
+dcae.api.simpledemo.onap.org. IN CNAME vm1.dcae.simpledemo.onap.org.
+
+;SO
+mso.api.simpledemo.onap.org. IN CNAME vm1.mso.simpledemo.onap.org.
+
+;Policy
+policy.api.simpledemo.onap.org. IN CNAME vm1.policy.simpledemo.onap.org.
+
+;SDNC
+sdnc.api.simpledemo.onap.org. IN CNAME vm1.sdnc.simpledemo.onap.org.
+
+;VID
+vid.api.simpledemo.onap.org. IN CNAME vm1.vid.simpledemo.onap.org.
+
+;PORTAL
+portal.api.simpledemo.onap.org. IN CNAME vm1.portal.simpledemo.onap.org.
+
+;Message Router
+;mr.api.simpledemo.onap.org. IN CNAME vm1.mr.simpledemo.onap.org.
+ueb.api.simpledemo.onap.org. IN CNAME vm1.mr.simpledemo.onap.org.
+mr.api.simpledemo.onap.org. IN A dcae_coll_ip_addr
+collector.api.simpledemo.onap.org. IN A dcae_coll_ip_addr
+;dbc.api.simpledemo.onap.org. IN CNAME vm1.mr.simpledemo.onap.org.
+;drprov.api.simpledemo.onap.org. IN CNAME vm1.mr.simpledemo.onap.org.
+
+;CLAMP
+clamp.api.simpledemo.onap.org. IN CNAME vm1.clamp.simpledemo.onap.org.
+
+;ROBOT/SNIRO
+robot.api.simpledemo.onap.org. IN CNAME vm1.robot.simpledemo.onap.org.
+sniro.api.simpledemo.onap.org. IN CNAME vm1.robot.simpledemo.onap.org.
+
+;AAF
+;aaf.api.simpledemo.onap.org. IN CNAME vm1.aaf.simpledemo.onap.org.
+
+;OPEN-O
+msb.api.simpledemo.onap.org. IN CNAME vm1.openo.simpledemo.onap.org.
+mvim.api.simpledemo.onap.org. IN CNAME vm1.openo.simpledemo.onap.org.
+vnfsdk.api.simpledemo.onap.org. IN CNAME vm1.openo.simpledemo.onap.org.
+vfc.api.simpledemo.onap.org. IN CNAME vm1.openo.simpledemo.onap.org.
+uui.api.simpledemo.onap.org. IN CNAME vm1.openo.simpledemo.onap.org.
+esr.api.simpledemo.onap.org. IN CNAME vm1.openo.simpledemo.onap.org. \ No newline at end of file
diff --git a/boot/db_simpledemo_onap_org b/boot/db_simpledemo_onap_org
new file mode 100644
index 00000000..ca583c9b
--- /dev/null
+++ b/boot/db_simpledemo_onap_org
@@ -0,0 +1,134 @@
+;
+; BIND data file for local loopback interface
+;
+$TTL 604800
+@ IN SOA simpledemo.onap.org. admin.simpledemo.onap.org. (
+ 20170221 ; Serial
+ 604800 ; Refresh
+ 86400 ; Retry
+ 2419200 ; Expire
+ 604800 ) ; Negative Cache TTL
+;
+; name servers - NS records
+ IN NS simpledemo.onap.org.
+
+; name servers - A records
+simpledemo.onap.org. IN A 10.0.0.1
+
+;
+vm1.aai.simpledemo.onap.org. IN A 10.0.1.1
+c1.vm1.aai.simpledemo.onap.org. IN A 10.0.1.1
+c2.vm1.aai.simpledemo.onap.org. IN A 10.0.1.1
+c3.vm1.aai.simpledemo.onap.org. IN A 10.0.1.1
+
+vm2.aai.simpledemo.onap.org. IN A 10.0.1.2
+c1.vm2.aai.simpledemo.onap.org. IN A 10.0.1.2
+c2.vm2.aai.simpledemo.onap.org. IN A 10.0.1.2
+c3.vm2.aai.simpledemo.onap.org. IN A 10.0.1.2
+
+vm1.appc.simpledemo.onap.org. IN A 10.0.2.1
+c1.vm1.appc.simpledemo.onap.org. IN A 10.0.2.1
+c2.vm1.appc.simpledemo.onap.org. IN A 10.0.2.1
+
+vm1.sdc.simpledemo.onap.org. IN A 10.0.3.1
+c1.vm1.sdc.simpledemo.onap.org. IN A 10.0.3.1
+c2.vm1.sdc.simpledemo.onap.org. IN A 10.0.3.1
+c3.vm1.sdc.simpledemo.onap.org. IN A 10.0.3.1
+c4.vm1.sdc.simpledemo.onap.org. IN A 10.0.3.1
+
+vm1.dcae.simpledemo.onap.org. IN A 10.0.4.1
+c1.vm1.dcae.simpledemo.onap.org. IN A 10.0.4.1
+c2.vm1.dcae.simpledemo.onap.org. IN A 10.0.4.1
+c3.vm1.dcae.simpledemo.onap.org IN A 10.0.4.1
+
+vm1.mso.simpledemo.onap.org. IN A 10.0.5.1
+c1.vm1.mso.simpledemo.onap.org. IN A 10.0.5.1
+c1.vm1.mso.simpledemo.onap.org. IN A 10.0.5.1
+
+vm1.policy.simpledemo.onap.org. IN A 10.0.6.1
+c1.vm1.policy.simpledemo.onap.org. IN A 10.0.6.1
+c2.vm1.policy.simpledemo.onap.org. IN A 10.0.6.1
+c3.vm1.policy.simpledemo.onap.org. IN A 10.0.6.1
+c4.vm1.policy.simpledemo.onap.org. IN A 10.0.6.1
+c5.vm1.policy.simpledemo.onap.org. IN A 10.0.6.1
+c6.vm1.policy.simpledemo.onap.org. IN A 10.0.6.1
+c7.vm1.policy.simpledemo.onap.org. IN A 10.0.6.1
+c8.vm1.policy.simpledemo.onap.org. IN A 10.0.6.1
+
+vm1.sdnc.simpledemo.onap.org. IN A 10.0.7.1
+c1.vm1.sdnc.simpledemo.onap.org. IN A 10.0.7.1
+c2.vm1.sdnc.simpledemo.onap.org. IN A 10.0.7.1
+c3.vm1.sdnc.simpledemo.onap.org. IN A 10.0.7.1
+c4.vm1.sdnc.simpledemo.onap.org. IN A 10.0.7.1
+
+vm1.vid.simpledemo.onap.org. IN A 10.0.8.1
+c1.vm1.vid.simpledemo.onap.org. IN A 10.0.8.1
+c2.vm1.vid.simpledemo.onap.org. IN A 10.0.8.1
+
+vm1.portal.simpledemo.onap.org. IN A 10.0.9.1
+c1.vm1.portal.simpledemo.onap.org. IN A 10.0.9.1
+c2.vm1.portal.simpledemo.onap.org. IN A 10.0.9.1
+
+vm1.robot.simpledemo.onap.org. IN A 10.0.10.1
+c1.vm1.robot.simpledemo.onap.org. IN A 10.0.10.1
+c2.vm1.robot.simpledemo.onap.org. IN A 10.0.10.1
+
+vm1.aaf.simpledemo.onap.org. IN A 10.0.13.1
+
+vm1.mr.simpledemo.onap.org. IN A 10.0.11.1
+
+vm1.clamp.simpledemo.onap.org. IN A 10.0.12.1
+c1.vm1.clamp.simpledemo.onap.org. IN A 10.0.12.1
+c2.vm1.clamp.simpledemo.onap.org. IN A 10.0.12.1
+
+
+;CNAMES
+;A&AI
+aai.api.simpledemo.onap.org. IN CNAME vm1.aai.simpledemo.onap.org.
+aai.ui.simpledemo.onap.org. IN CNAME vm1.aai.simpledemo.onap.org.
+aai.searchservice.simpledemo.onap.org. IN CNAME vm1.aai.simpledemo.onap.org.
+aai.hbase.simpledemo.onap.org. IN CNAME vm2.aai.simpledemo.onap.org.
+aai.gremlinserver.simpledemo.onap.org. IN CNAME vm2.aai.simpledemo.onap.org.
+aai.elasticsearch.simpledemo.onap.org. IN CNAME vm2.aai.simpledemo.onap.org.
+
+;APPC
+appc.api.simpledemo.onap.org. IN CNAME vm1.appc.simpledemo.onap.org.
+
+;ASDC
+sdc.api.simpledemo.onap.org. IN CNAME vm1.sdc.simpledemo.onap.org.
+
+;DCAE
+dcae.api.simpledemo.onap.org. IN CNAME vm1.dcae.simpledemo.onap.org.
+
+;MSO
+mso.api.simpledemo.onap.org. IN CNAME vm1.mso.simpledemo.onap.org.
+
+;Policy
+policy.api.simpledemo.onap.org. IN CNAME vm1.policy.simpledemo.onap.org.
+
+;SDNC
+sdnc.api.simpledemo.onap.org. IN CNAME vm1.sdnc.simpledemo.onap.org.
+
+;VID
+vid.api.simpledemo.onap.org. IN CNAME vm1.vid.simpledemo.onap.org.
+
+;PORTAL
+portal.api.simpledemo.onap.org. IN CNAME vm1.portal.simpledemo.onap.org.
+
+;Message Router
+;mr.api.simpledemo.onap.org. IN CNAME vm1.mr.simpledemo.onap.org.
+ueb.api.simpledemo.onap.org. IN CNAME vm1.mr.simpledemo.onap.org.
+mr.api.simpledemo.onap.org. IN A 10.0.4.102
+collector.api.simpledemo.onap.org. IN A 10.0.4.102
+;dbc.api.simpledemo.onap.org. IN CNAME vm1.mr.simpledemo.onap.org.
+;drprov.api.simpledemo.onap.org. IN CNAME vm1.mr.simpledemo.onap.org.
+
+;ROBOT/SNIRO
+robot.api.simpledemo.onap.org. IN CNAME vm1.robot.simpledemo.onap.org.
+sniro.api.simpledemo.onap.org. IN CNAME vm1.robot.simpledemo.onap.org.
+
+;CLAMP
+clamp.api.simpledemo.onap.org. IN CNAME vm1.clamp.simpledemo.onap.org.
+
+;AAF
+aaf.api.simpledemo.onap.org. IN CNAME vm1.aaf.simpledemo.onap.org.
diff --git a/boot/db_simpledemo_openecomp_org b/boot/db_simpledemo_openecomp_org
index 942be995..b025f7bb 100644
--- a/boot/db_simpledemo_openecomp_org
+++ b/boot/db_simpledemo_openecomp_org
@@ -69,6 +69,10 @@ vm1.portal.simpledemo.openecomp.org. IN A 10.0.9.1
c1.vm1.portal.simpledemo.openecomp.org. IN A 10.0.9.1
c2.vm1.portal.simpledemo.openecomp.org. IN A 10.0.9.1
+vm1.robot.simpledemo.openecomp.org. IN A 10.0.10.1
+c1.vm1.robot.simpledemo.openecomp.org. IN A 10.0.10.1
+c2.vm1.robot.simpledemo.openecomp.org. IN A 10.0.10.1
+
vm1.aaf.simpledemo.openecomp.org. IN A 10.0.13.1
vm1.mr.simpledemo.openecomp.org. IN A 10.0.11.1
@@ -119,6 +123,10 @@ collector.api.simpledemo.openecomp.org. IN A 10.0.4.102
;dbc.api.simpledemo.openecomp.org. IN CNAME vm1.mr.simpledemo.openecomp.org.
;drprov.api.simpledemo.openecomp.org. IN CNAME vm1.mr.simpledemo.openecomp.org.
+;ROBOT/SNIRO
+robot.api.simpledemo.openecomp.org. IN CNAME vm1.robot.simpledemo.openecomp.org.
+sniro.api.simpledemo.openecomp.org. IN CNAME vm1.robot.simpledemo.openecomp.org.
+
;CLAMP
clamp.api.simpledemo.openecomp.org. IN CNAME vm1.clamp.simpledemo.openecomp.org.
diff --git a/boot/dns_install.sh b/boot/dns_install.sh
index 27ea2233..2985bb7d 100644
--- a/boot/dns_install.sh
+++ b/boot/dns_install.sh
@@ -9,16 +9,18 @@ if [[ $CLOUD_ENV != "rackspace" ]]
then
# Add host name to /etc/host to avoid warnings in openstack images
echo 127.0.0.1 $(hostname) >> /etc/hosts
-
+
# Allow remote login as root
mv /root/.ssh/authorized_keys /root/.ssh/authorized_keys.bk
cp /home/ubuntu/.ssh/authorized_keys /root/.ssh
# Set the Bind configuration file name based on the deployment environment
ZONE_FILE="bind_zones"
+ ZONE_ONAP="bind_zones_onap"
OPTIONS_FILE="bind_options"
else
ZONE_FILE="db_simpledemo_openecomp_org"
+ ZONE_ONAP="db_simpledemo_onap_org"
OPTIONS_FILE="named.conf.options"
fi
@@ -58,6 +60,7 @@ apt-get install --allow-unauthenticated -y apt-transport-https ca-certificates w
# Download script
mkdir /etc/bind/zones
curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/$ZONE_FILE -o /etc/bind/zones/db.simpledemo.openecomp.org
+curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/$ZONE_ONAP -o /etc/bind/zones/db.simpledemo.onap.org
curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/$OPTIONS_FILE -o /etc/bind/named.conf.options
curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/named.conf.local -o /etc/bind/named.conf.local
@@ -82,6 +85,23 @@ then
sed -i "s/dcae_coll_ip_addr/"$(cat /opt/config/dcae_coll_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org
sed -i "s/clamp_ip_addr/"$(cat /opt/config/clamp_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org
sed -i "s/openo_ip_addr/"$(cat /opt/config/openo_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
+ sed -i "s/appc_ip_addr/"$(cat /opt/config/appc_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.onap.org
+ sed -i "s/dcae_ip_addr/"$(cat /opt/config/dcae_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.onap.org
+ sed -i "s/dns_ip_addr/"$(cat /opt/config/dns_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.onap.org
+ sed -i "s/so_ip_addr/"$(cat /opt/config/so_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.onap.org
+ sed -i "s/mr_ip_addr/"$(cat /opt/config/mr_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.onap.org
+ sed -i "s/policy_ip_addr/"$(cat /opt/config/policy_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.onap.org
+ sed -i "s/portal_ip_addr/"$(cat /opt/config/portal_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.onap.org
+ sed -i "s/robot_ip_addr/"$(cat /opt/config/robot_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.onap.org
+ sed -i "s/sdc_ip_addr/"$(cat /opt/config/sdc_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.onap.org
+ sed -i "s/sdnc_ip_addr/"$(cat /opt/config/sdnc_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.onap.org
+ sed -i "s/vid_ip_addr/"$(cat /opt/config/vid_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.onap.org
+ sed -i "s/dcae_coll_ip_addr/"$(cat /opt/config/dcae_coll_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
fi
# Configure Bind
diff --git a/boot/esr_vm_init.sh b/boot/esr_vm_init.sh
new file mode 100644
index 00000000..beb80419
--- /dev/null
+++ b/boot/esr_vm_init.sh
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+NEXUS_USERNAME=$(cat /opt/config/nexus_username.txt)
+NEXUS_PASSWD=$(cat /opt/config/nexus_password.txt)
+NEXUS_DOCKER_REPO=$(cat /opt/config/nexus_docker_repo.txt)
+DOCKER_IMAGE_VERSION=$(cat /opt/config/esr_docker.txt)
+
+source /opt/config/onap_ips.txt
+
+# start up esr
+docker login -u $NEXUS_USERNAME -p $NEXUS_PASSWD $NEXUS_DOCKER_REPO
+docker pull $NEXUS_DOCKER_REPO/onap/aai/esr-server:$DOCKER_IMAGE_VERSION
+docker pull $NEXUS_DOCKER_REPO/onap/aai/esr-gui:$DOCKER_IMAGE_VERSION
+
+docker rm -f esr_server
+docker rm -f esr_gui
+
+docker run -i -t -d -p 9518:9518 -e MSB_ADDR=$OPENO_IP:80 --name esr_server $NEXUS_DOCKER_REPO/onap/aai/esr-server:$DOCKER_IMAGE_VERSION
+docker run -i -t -d -p 8080:9519 -e MSB_ADDR=$OPENO_IP:80 --name esr_gui $NEXUS_DOCKER_REPO/onap/aai/esr-gui:$DOCKER_IMAGE_VERSION \ No newline at end of file
diff --git a/boot/msb_vm_init.sh b/boot/msb_vm_init.sh
index d615a2d4..e478281d 100644
--- a/boot/msb_vm_init.sh
+++ b/boot/msb_vm_init.sh
@@ -4,8 +4,6 @@ NEXUS_USERNAME=$(cat /opt/config/nexus_username.txt)
NEXUS_PASSWD=$(cat /opt/config/nexus_password.txt)
NEXUS_DOCKER_REPO=$(cat /opt/config/nexus_docker_repo.txt)
DOCKER_IMAGE_VERSION=$(cat /opt/config/msb_docker.txt)
-NEXUS_REPO=$(cat /opt/config/nexus_repo.txt)
-ARTIFACTS_VERSION=$(cat /opt/config/artifacts_version.txt)
source /opt/config/onap_ips.txt
@@ -30,99 +28,107 @@ docker run -d -p 80:80 -e CONSUL_IP=$CONSUL_IP -e SDCLIENT_IP=$DISCOVERY_IP -e "
sleep 20
# register ONAP services to MSB
-export ONAP_HOST_URL=http://$OPENO_IP:80
-export CLI_PRODUCT_VERSION=onap-1.1
-onap -v
-
#aai
-onap microservice-create --service-name aai-cloudInfrastructure --service-version v11 --service-url /aai/v11/cloud-infrastructure $AAI_IP1 8443
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "aai-cloudInfrastructure", "version": "v11", "url": "/aai/v11/cloud-infrastructure","protocol": "REST", "enable_ssl":"true", "nodes": [ {"ip": "'$AAI_IP1'","port": "8443"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
+
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "aai-cloudInfrastructure-deprecated", "version": "v11", "url": "/aai/v11/cloud-infrastructure","path": "/aai/v11/cloud-infrastructure","protocol": "REST", "enable_ssl":"true", "nodes": [ {"ip": "'$AAI_IP1'","port": "8443"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
+
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "aai-business", "version": "v11", "url": "/aai/v11/business","protocol": "REST", "enable_ssl":"true", "nodes": [ {"ip": "'$AAI_IP1'","port": "8443"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
+
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "aai-business-deprecated", "version": "v11", "url": "/aai/v11/business","path": "/aai/v11/business","protocol": "REST", "enable_ssl":"true", "nodes": [ {"ip": "'$AAI_IP1'","port": "8443"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
-onap microservice-create --service-name aai-cloudInfrastructure-deprecated --service-version v11 --service-url /aai/v11/cloud-infrastructure $AAI_IP1 8443
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "aai-search", "version": "v11", "url": "/aai/v11/search","protocol": "REST", "enable_ssl":"true", "nodes": [ {"ip": "'$AAI_IP1'","port": "8443"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
-onap microservice-create --service-name aai-business --service-version v11 --service-url /aai/v11/business $AAI_IP1 8443
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "aai-search-deprecated", "version": "v11", "url": "/aai/v11/search","path": "/aai/v11/search","protocol": "REST", "enable_ssl":"true", "nodes": [ {"ip": "'$AAI_IP1'","port": "8443"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
-onap microservice-create --service-name aai-business-deprecated --service-version v11 --service-url /aai/v11/business $AAI_IP1 8443
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "aai-actions", "version": "v11", "url": "/aai/v11/actions","protocol": "REST", "enable_ssl":"true", "nodes": [ {"ip": "'$AAI_IP1'","port": "8443"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
-onap microservice-create --service-name aai-search --service-version v11 --service-url /aai/v11/search $AAI_IP1 8443
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "aai-actions-deprecated", "version": "v11", "url": "/aai/v11/actions","path": "/aai/v11/actions","protocol": "REST", "enable_ssl":"true", "nodes": [ {"ip": "'$AAI_IP1'","port": "8443"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
-onap microservice-create --service-name aai-search-deprecated --service-version v11 --service-url /aai/v11/search $AAI_IP1 8443
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "aai-service-design-and-creation", "version": "v11", "url": "/aai/v11/service-design-and-creation","protocol": "REST", "enable_ssl":"true", "nodes": [ {"ip": "'$AAI_IP1'","port": "8443"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
-onap microservice-create --service-name aai-actions --service-version v11 --service-url /aai/v11/actions $AAI_IP1 8443
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "aai-service-design-and-creation-deprecated", "version": "v11", "url": "/aai/v11/service-design-and-creation","path": "/aai/v11/service-design-and-creation","protocol": "REST", "enable_ssl":"true", "nodes": [ {"ip": "'$AAI_IP1'","port": "8443"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
-onap microservice-create --service-name aai-actions-deprecated --service-version v11 --service-url /aai/v11/actions $AAI_IP1 8443
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "aai-network", "version": "v11", "url": "/aai/v11/network","protocol": "REST", "enable_ssl":"true", "nodes": [ {"ip": "'$AAI_IP1'","port": "8443"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
-onap microservice-create --service-name aai-service-design-and-creation --service-version v11 --service-url /aai/v11/service-design-and-creation $AAI_IP1 8443
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "aai-network-deprecated", "version": "v11", "url": "/aai/v11/network","path": "/aai/v11/network","protocol": "REST", "enable_ssl":"true", "nodes": [ {"ip": "'$AAI_IP1'","port": "8443"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
-onap microservice-create --service-name aai-service-design-and-creation-deprecated --service-version v11 --service-url /aai/v11/service-design-and-creation $AAI_IP1 8443
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "aai-externalSystem", "version": "v11", "url": "/aai/v11/external-system","protocol": "REST", "enable_ssl":"true", "visualRange":"1", "nodes": [ {"ip": "'$AAI_IP1'","port": "8443"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
-onap microservice-create --service-name aai-network --service-version v11 --service-url /aai/v11/network $AAI_IP1 8443
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "aai-externalSystem-deprecated", "version": "v11", "url": "/aai/v11/external-system","path": "/aai/v11/external-system","protocol": "REST", "enable_ssl":"true", "nodes": [ {"ip": "'$AAI_IP1'","port": "8443"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
-onap microservice-create --service-name aai-network-deprecated --service-version v11 --service-url /aai/v11/network $AAI_IP1 8443
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "aai-esr-server", "version": "v1", "url": "/api/aai-esr-server/v1","protocol": "REST", "visualRange":"1", "nodes": [ {"ip": "'$OPENO_IP'","port": "9518"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
+
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "aai-esr-gui", "version": "v1", "url": "/esr-gui","path": "/iui/aai-esr-gui","protocol": "UI", "nodes": [ {"ip": "'$OPENO_IP'","port": "9519"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
#so
-onap microservice-create --service-name so --service-version v1 --service-url /ecomp/mso/infra $SO_IP 8080
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "so", "version": "v1", "url": "/ecomp/mso/infra","protocol": "REST", "nodes": [ {"ip": "'$SO_IP'","port": "8080"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
-onap microservice-create --service-name so-deprecated --service-version v1 --service-url /ecomp/mso/infra $SO_IP 8080
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "so-deprecated", "version": "v1", "url": "/ecomp/mso/infra","path": "/ecomp/mso/infra","protocol": "REST", "nodes": [ {"ip": "'$SO_IP'","port": "8080"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
#Dmaap message router
-#curl -X POST -H "Content-Type: application/json" '{"serviceName": "message-router", "version": "v1", "url": "/","protocol": "REST", "nodes": [ {"ip": "'$DMAAP_IP'","port": "3904"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
+#curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "message-router", "version": "v1", "url": "/","protocol": "REST", "nodes": [ {"ip": "'$DMAAP_IP'","port": "3904"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
#policy
-onap microservice-create --service-name policy-pdp --service-version v1 --service-url /ecomp/mso/infra $POLICY_IP 8081
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "policy-pdp", "version": "v1", "url": "/pdp","protocol": "REST", "nodes": [ {"ip": "'$POLICY_IP'","port": "8081"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
-onap microservice-create --service-name policy-pdp-deprecated --service-version v1 --service-url /ecomp/mso/infra $POLICY_IP 8081
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "policy-pdp-deprecated", "version": "v1", "url": "/pdp","path": "/pdp","protocol": "REST", "nodes": [ {"ip": "'$POLICY_IP'","port": "8081"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
#portal
-onap microservice-create --service-name portal --service-version v2 --service-url / $PORTAL_IP 8989
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "portal", "version": "v2", "url": "/","protocol": "REST", "nodes": [ {"ip": "'$PORTAL_IP'","port": "8989"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
#sdc
-onap microservice-create --service-name sdc --service-version v1 --service-url /sdc/v1 $SDC_IP 8080
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "sdc", "version": "v1", "url": "/sdc/v1","protocol": "REST", "nodes": [ {"ip": "'$SDC_IP'","port": "8080"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
-onap microservice-create --service-name sdc-deprecated --service-version v1 --service-url /sdc/v1 $SDC_IP 8080
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "sdc-deprecated", "version": "v1", "url": "/sdc/v1","path": "/sdc/v1","protocol": "REST", "nodes": [ {"ip": "'$SDC_IP'","port": "8080"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
#sdnc
-onap microservice-create --service-name sdnc --service-version v1 --service-url /sdc/v1 $SDNC_IP 8282
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "sdnc", "version": "v1", "url": "/","protocol": "REST", "nodes": [ {"ip": "'$SDNC_IP'","port": "8282"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
-onap microservice-create --service-name sdnc-deprecated --service-version v1 --service-url /restconf $SDNC_IP 8282
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "sdnc", "version": "v1", "url": "/restconf","path": "/restconf","protocol": "REST", "nodes": [ {"ip": "'$SDNC_IP'","port": "8282"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
#multi-vim
-onap microservice-create --service-name multicloud-titanium_cloud --service-version v0 --service-url /api/multicloud-titanium_cloud/v0 $OPENO_IP 9005
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "multicloud", "version": "v0", "url": "/api/multicloud/v0","protocol": "REST", "nodes": [ {"ip": "'$OPENO_IP'","port": "9001"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
+
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "multicloud-vio", "version": "v0", "url": "/api/multicloud-vio/v0","protocol": "REST", "nodes": [ {"ip": "'$OPENO_IP'","port": "9004"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
+
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "multicloud-ocata", "version": "v0", "url": "/api/multicloud-ocata/v0","protocol": "REST", "nodes": [ {"ip": "'$OPENO_IP'","port": "9006"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
+
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "multicloud-titanium_cloud", "version": "v0", "url": "/api/multicloud-titanium_cloud/v0","protocol": "REST", "nodes": [ {"ip": "'$OPENO_IP'","port": "9005"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
#VF-C
-onap microservice-create --service-name nslcm --service-version v1 --service-url /api/nslcm/v1 $OPENO_IP 8403
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "nslcm", "version": "v1", "url": "/api/nslcm/v1","protocol": "REST", "nodes": [ {"ip": "'$OPENO_IP'","port": "8403"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
-onap microservice-create --service-name ztevmanagerdriver --service-version v1 --service-url /api/ztevmanagerdriver/v1 $OPENO_IP 8410
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "ztevmanagerdriver", "version": "v1", "url": "/api/ztevmanagerdriver/v1","protocol": "REST", "nodes": [ {"ip": "'$OPENO_IP'","port": "8410"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
-onap microservice-create --service-name ztesdncdriver --service-version v1 --service-url /api/ztesdncdriver/v1 $OPENO_IP 8411
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "ztesdncdriver", "version": "v1", "url": "/api/ztesdncdriver/v1","protocol": "REST", "nodes": [ {"ip": "'$OPENO_IP'","port": "8411"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
-onap microservice-create --service-name resmgr --service-version v1 --service-url /api/resmgr/v1 $OPENO_IP 8480
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "resmgr", "version": "v1", "url": "/api/resmgr/v1","protocol": "REST", "nodes": [ {"ip": "'$OPENO_IP'","port": "8480"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
-onap microservice-create --service-name gvnfmdriver --service-version v1 --service-url /api/gvnfmdriver/v1 $OPENO_IP 8484
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "gvnfmdriver", "version": "v1", "url": "/api/gvnfmdriver/v1","protocol": "REST", "nodes": [ {"ip": "'$OPENO_IP'","port": "8484"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
-onap microservice-create --service-name huaweivnfmdriver --service-version v1 --service-url /api/huaweivnfmdriver/v1 $OPENO_IP 8482
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "huaweivnfmdriver", "version": "v1", "url": "/api/huaweivnfmdriver/v1","protocol": "REST", "nodes": [ {"ip": "'$OPENO_IP'","port": "8482"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
-onap microservice-create --service-name nokiavnfmdriver --service-version v1 --service-url /api/nokiavnfmdriver/v1 $OPENO_IP 8485
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "nokiavnfmdriver", "version": "v1", "url": "/api/nokiavnfmdriver/v1","protocol": "REST", "nodes": [ {"ip": "'$OPENO_IP'","port": "8485"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
-onap microservice-create --service-name jujuvnfmdriver --service-version v1 --service-url /api/jujuvnfmdriver/v1 $OPENO_IP 8483
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "jujuvnfmdriver", "version": "v1", "url": "/api/jujuvnfmdriver/v1","protocol": "REST", "nodes": [ {"ip": "'$OPENO_IP'","port": "8483"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
-onap microservice-create --service-name vnflcm --service-version v1 --service-url /api/vnflcm/v1 $OPENO_IP 8801
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "vnflcm", "version": "v1", "url": "/api/vnflcm/v1","protocol": "REST", "nodes": [ {"ip": "'$OPENO_IP'","port": "8801"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
-onap microservice-create --service-name vnfres --service-version v1 --service-url /api/vnfres/v1 $OPENO_IP 8802
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "vnfres", "version": "v1", "url": "/api/vnfres/v1","protocol": "REST", "nodes": [ {"ip": "'$OPENO_IP'","port": "8802"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
-onap microservice-create --service-name vnfmgr --service-version v1 --service-url /api/vnfmgr/v1 $OPENO_IP 8803
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "vnfmgr", "version": "v1", "url": "/api/vnfmgr/v1","protocol": "REST", "nodes": [ {"ip": "'$OPENO_IP'","port": "8803"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
-onap microservice-create --service-name activiti --service-version v1 --service-url /api/activiti/v1 $OPENO_IP 8804
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "activiti", "version": "v1", "url": "/api/activiti/v1","protocol": "REST", "nodes": [ {"ip": "'$OPENO_IP'","port": "8804"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
-onap microservice-create --service-name activiti --service-version v1 --service-url /api/workflow/v1 $OPENO_IP 8805
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "workflow", "version": "v1", "url": "/api/workflow/v1","protocol": "REST", "nodes": [ {"ip": "'$OPENO_IP'","port": "8805"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
-onap microservice-create --service-name catalog --service-version v1 --service-url /api/catalog/v1 $OPENO_IP 8806
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "catalog", "version": "v1", "url": "/api/catalog/v1","protocol": "REST", "nodes": [ {"ip": "'$OPENO_IP'","port": "8806"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
-onap microservice-create --service-name emsdriver --service-version v1 --service-url /api/emsdriver/v1 $OPENO_IP 8206
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "emsdriver", "version": "v1", "url": "/api/emsdriver/v1","protocol": "REST", "nodes": [ {"ip": "'$OPENO_IP'","port": "8206"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
#UUI
-onap microservice-create --service-name usecaseui --service-version v1 --service-url /api/usecaseui/server/v1 $OPENO_IP 8901
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "usecaseui", "version": "v1", "url": "/api/usecaseui/server/v1","protocol": "REST", "nodes": [ {"ip": "'$OPENO_IP'","port": "8901"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
-onap microservice-create --service-name usecaseui-gui --service-version v1 --service-url /iui/usecaseui $OPENO_IP 8900
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "usecaseui-gui", "version": "v1", "url": "/iui/usecaseui","path": "/iui/usecaseui","protocol": "UI", "nodes": [ {"ip": "'$OPENO_IP'","port": "8900"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
-#Print the registered services
-onap microservice-list --long
diff --git a/boot/named.conf.local b/boot/named.conf.local
index c7c82f3b..f372cba8 100644
--- a/boot/named.conf.local
+++ b/boot/named.conf.local
@@ -10,3 +10,8 @@ zone "simpledemo.openecomp.org" {
type master;
file "/etc/bind/zones/db.simpledemo.openecomp.org"; # zone file path
};
+
+zone "simpledemo.onap.org" {
+ type master;
+ file "/etc/bind/zones/db.simpledemo.onap.org"; # zone file path
+};
diff --git a/boot/openo_all_serv.sh b/boot/openo_all_serv.sh
index e451fb1b..9c523a8c 100644
--- a/boot/openo_all_serv.sh
+++ b/boot/openo_all_serv.sh
@@ -4,4 +4,5 @@ bash /opt/msb_vm_init.sh &>/dev/null &disown
bash /opt/vnfsdk_vm_init.sh &>/dev/null &disown
bash /opt/mvim_vm_init.sh &>/dev/null &disown
bash /opt/vfc_vm_init.sh &>/dev/null &disown
-bash /opt/uui_vm_init.sh &>/dev/null &disown \ No newline at end of file
+bash /opt/uui_vm_init.sh &>/dev/null &disown
+bash /opt/esr_vm_init.sh &>/dev/null &disown \ No newline at end of file
diff --git a/boot/openo_install.sh b/boot/openo_install.sh
index 24f84fd5..5066f7b3 100644
--- a/boot/openo_install.sh
+++ b/boot/openo_install.sh
@@ -62,6 +62,7 @@ curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/uui_vm_init.sh -o /opt
curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/openo_all_serv.sh -o /opt/openo_all_serv.sh
curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/openo_serv.sh -o /opt/openo_serv.sh
curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/cli_install.sh -o /opt/cli_install.sh
+curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/esr_vm_init.sh -o /opt/esr_vm_init.sh
chmod +x /opt/vnfsdk_vm_init.sh
chmod +x /opt/msb_vm_init.sh
chmod +x /opt/mvim_vm_init.sh
@@ -70,6 +71,7 @@ chmod +x /opt/uui_vm_init.sh
chmod +x /opt/openo_all_serv.sh
chmod +x /opt/openo_serv.sh
chmod +x /opt/cli_install.sh
+chmod +x /opt/esr_vm_init.sh
mv /opt/openo_serv.sh /etc/init.d
update-rc.d openo_serv.sh defaults
diff --git a/boot/uui_vm_init.sh b/boot/uui_vm_init.sh
index ebec9e3d..d02cf067 100755
--- a/boot/uui_vm_init.sh
+++ b/boot/uui_vm_init.sh
@@ -10,12 +10,12 @@ source /opt/config/onap_ips.txt
# Refresh images
docker login -u $NEXUS_USERNAME -p $NEXUS_PASSWD $NEXUS_DOCKER_REPO
-docker pull $NEXUS_DOCKER_REPO/onap/uui/ui:$DOCKER_IMAGE_VERSION
-docker pull $NEXUS_DOCKER_REPO/onap/uui/server:$DOCKER_IMAGE_VERSION
+docker pull $NEXUS_DOCKER_REPO/onap/usecase-ui:$DOCKER_IMAGE_VERSION
+docker pull $NEXUS_DOCKER_REPO/onap/usecase-ui/usecase-ui-server:$DOCKER_IMAGE_VERSION
docker rm -f uui_ui
docker rm -f uui_server
# Insert docker run instructions here
-docker run -i -t -d --name uui_ui -e MSB_ADDR=$OPENO_IP:80 $NEXUS_DOCKER_REPO/onap/uui/ui:$DOCKER_IMAGE_VERSION
-docker run -i -t -d --name uui_server -e MSB_ADDR=$OPENO_IP:80 $NEXUS_DOCKER_REPO/onap/uui/server:$DOCKER_IMAGE_VERSION \ No newline at end of file
+docker run -i -t -d --name uui_ui -e MSB_ADDR=$OPENO_IP:80 $NEXUS_DOCKER_REPO/onap/usecase-ui:$DOCKER_IMAGE_VERSION
+docker run -i -t -d --name uui_server -e MSB_ADDR=$OPENO_IP:80 $NEXUS_DOCKER_REPO/onap/usecase-ui/usecase-ui-server:$DOCKER_IMAGE_VERSION \ No newline at end of file
diff --git a/boot/vfc_vm_init.sh b/boot/vfc_vm_init.sh
index 1d47e306..24f85cfa 100755
--- a/boot/vfc_vm_init.sh
+++ b/boot/vfc_vm_init.sh
@@ -10,6 +10,8 @@ source /opt/config/onap_ips.txt
# Refresh images
docker login -u $NEXUS_USERNAME -p $NEXUS_PASSWD $NEXUS_DOCKER_REPO
+docker pull $NEXUS_DOCKER_REPO/onap/vfc/wfengine-activiti:$DOCKER_IMAGE_VERSION
+docker pull $NEXUS_DOCKER_REPO/onap/vfc/wfengine-mgrservice:$DOCKER_IMAGE_VERSION
docker pull $NEXUS_DOCKER_REPO/onap/vfc/catalog:$DOCKER_IMAGE_VERSION
docker pull $NEXUS_DOCKER_REPO/onap/vfc/emsdriver:$DOCKER_IMAGE_VERSION
docker pull $NEXUS_DOCKER_REPO/onap/vfc/gvnfmdriver:$DOCKER_IMAGE_VERSION
@@ -24,6 +26,8 @@ docker pull $NEXUS_DOCKER_REPO/onap/vfc/ztesdncdriver:$DOCKER_IMAGE_VERSION
docker pull $NEXUS_DOCKER_REPO/onap/vfc/ztevmanagerdriver:$DOCKER_IMAGE_VERSION
docker pull $NEXUS_DOCKER_REPO/onap/vfc/nfvo/svnfm/nokia:$DOCKER_IMAGE_VERSION
+docker rm -f vfc_wfengine_mgrservice
+docker rm -f vfc_wfengine_activiti
docker rm -f vfc_catalog
docker rm -f vfc_emsdriver
docker rm -f vfc_gvnfmdriver
@@ -39,6 +43,8 @@ docker rm -f vfc_ztevmanagerdriver
docker rm -f vfc_svnfm_nokia
# Insert docker run instructions here
+docker run -i -t -d --name vfc_wfengine_activiti -p 8804:8080 -e SERVICE_IP=$OPENO_IP -e SERVICE_PORT=8804 -e OPENPALETTE_MSB_IP=$OPENO_IP -e OPENPALETTE_MSB_PORT=80 $NEXUS_DOCKER_REPO/onap/vfc/wfengine-activiti:$DOCKER_IMAGE_VERSION
+docker run -i -t -d --name vfc_wfengine_mgrservice -p 8805:10550 -e SERVICE_IP=$OPENO_IP -e SERVICE_PORT=8805 -e OPENPALETTE_MSB_IP=$OPENO_IP -e OPENPALETTE_MSB_PORT=80 $NEXUS_DOCKER_REPO/onap/vfc/wfengine-mgrservice:$DOCKER_IMAGE_VERSION
docker run -i -t -d --name vfc_catalog -e MSB_ADDR=$OPENO_IP:80 $NEXUS_DOCKER_REPO/onap/vfc/catalog:$DOCKER_IMAGE_VERSION
docker run -i -t -d --name vfc_emsdriver -e MSB_ADDR=$OPENO_IP:80 $NEXUS_DOCKER_REPO/onap/vfc/emsdriver:$DOCKER_IMAGE_VERSION
docker run -i -t -d --name vfc_gvnfmdriver -e MSB_ADDR=$OPENO_IP:80 $NEXUS_DOCKER_REPO/onap/vfc/gvnfmdriver:$DOCKER_IMAGE_VERSION
diff --git a/heat/ONAP/onap_openstack.env b/heat/ONAP/onap_openstack.env
index f199cba5..189dfd27 100644
--- a/heat/ONAP/onap_openstack.env
+++ b/heat/ONAP/onap_openstack.env
@@ -161,6 +161,7 @@ parameters:
mvim_docker: latest
vfc_docker: latest
uui_docker: latest
+ esr_docker: latest
dgbuilder_docker: 0.1-STAGING-latest
cli_docker: 1.1-STAGING-latest
diff --git a/heat/ONAP/onap_openstack.yaml b/heat/ONAP/onap_openstack.yaml
index 21accaa5..e8e44a0c 100644
--- a/heat/ONAP/onap_openstack.yaml
+++ b/heat/ONAP/onap_openstack.yaml
@@ -331,6 +331,8 @@ parameters:
type: string
uui_docker:
type: string
+ esr_docker:
+ type: string
dgbuilder_docker:
type: string
cli_docker:
@@ -1600,6 +1602,7 @@ resources:
__mvim_docker__: { get_param: mvim_docker }
__vfc_docker__: { get_param: vfc_docker }
__uui_docker__: { get_param: uui_docker }
+ __esr_docker__: { get_param: esr_docker }
__vnfsdk_repo__: { get_param: vnfsdk_repo }
template: |
#!/bin/bash
@@ -1620,6 +1623,7 @@ resources:
echo "__mvim_docker__" > /opt/config/mvim_docker.txt
echo "__vfc_docker__" > /opt/config/vfc_docker.txt
echo "__uui_docker__" > /opt/config/uui_docker.txt
+ echo "__esr_docker__" > /opt/config/esr_docker.txt
echo "__vnfsdk_repo__" > /opt/config/vnfsdk_repo.txt
# Create env file with the IP address of all ONAP components
diff --git a/heat/ONAP/onap_openstack_float.env b/heat/ONAP/onap_openstack_float.env
index 976805a2..e970b7f4 100644
--- a/heat/ONAP/onap_openstack_float.env
+++ b/heat/ONAP/onap_openstack_float.env
@@ -182,6 +182,7 @@ parameters:
mvim_docker: latest
vfc_docker: latest
uui_docker: latest
+ esr_docker: latest
dgbuilder_docker: 0.1-STAGING-latest
cli_docker: 1.1-STAGING-latest
diff --git a/heat/ONAP/onap_openstack_float.yaml b/heat/ONAP/onap_openstack_float.yaml
index 010d44cd..46c49033 100644
--- a/heat/ONAP/onap_openstack_float.yaml
+++ b/heat/ONAP/onap_openstack_float.yaml
@@ -374,6 +374,8 @@ parameters:
type: string
uui_docker:
type: string
+ esr_docker:
+ type: string
dgbuilder_docker:
type: string
cli_docker:
@@ -1661,6 +1663,7 @@ resources:
__mvim_docker__: { get_param: mvim_docker }
__vfc_docker__: { get_param: vfc_docker }
__uui_docker__: { get_param: uui_docker }
+ __esr_docker__: { get_param: esr_docker }
__vnfsdk_repo__: { get_param: vnfsdk_repo }
template: |
#!/bin/bash
@@ -1681,6 +1684,7 @@ resources:
echo "__mvim_docker__" > /opt/config/mvim_docker.txt
echo "__vfc_docker__" > /opt/config/vfc_docker.txt
echo "__uui_docker__" > /opt/config/uui_docker.txt
+ echo "__esr_docker__" > /opt/config/esr_docker.txt
echo "__vnfsdk_repo__" > /opt/config/vnfsdk_repo.txt
# Create env file with the IP address of all ONAP components
diff --git a/heat/ONAP/onap_openstack_nofloat.env b/heat/ONAP/onap_openstack_nofloat.env
index 6bf5e806..1b9cbd91 100644
--- a/heat/ONAP/onap_openstack_nofloat.env
+++ b/heat/ONAP/onap_openstack_nofloat.env
@@ -154,6 +154,7 @@ parameters:
mvim_docker: latest
vfc_docker: latest
uui_docker: latest
+ esr_docker: latest
dgbuilder_docker: 0.1-STAGING-latest
cli_docker: 1.1-STAGING-latest
diff --git a/heat/ONAP/onap_openstack_nofloat.yaml b/heat/ONAP/onap_openstack_nofloat.yaml
index f48a80b5..3ebd37ec 100644
--- a/heat/ONAP/onap_openstack_nofloat.yaml
+++ b/heat/ONAP/onap_openstack_nofloat.yaml
@@ -318,6 +318,8 @@ parameters:
type: string
uui_docker:
type: string
+ esr_docker:
+ type: string
dgbuilder_docker:
type: string
cli_docker:
@@ -1531,6 +1533,7 @@ resources:
__mvim_docker__: { get_param: mvim_docker }
__vfc_docker__: { get_param: vfc_docker }
__uui_docker__: { get_param: uui_docker }
+ __esr_docker__: { get_param: esr_docker }
__vnfsdk_repo__: { get_param: vnfsdk_repo }
template: |
#!/bin/bash
@@ -1551,6 +1554,7 @@ resources:
echo "__mvim_docker__" > /opt/config/mvim_docker.txt
echo "__vfc_docker__" > /opt/config/vfc_docker.txt
echo "__uui_docker__" > /opt/config/uui_docker.txt
+ echo "__esr_docker__" > /opt/config/esr_docker.txt
echo "__vnfsdk_repo__" > /opt/config/vnfsdk_repo.txt
# Create env file with the IP address of all ONAP components
@@ -1584,12 +1588,6 @@ resources:
network: { get_resource: oam_onap }
fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: dcae_ip_addr }}]
- dcae_c_floating_ip:
- type: OS::Neutron::FloatingIP
- properties:
- floating_network_id: { get_param: public_net_id }
- port_id: { get_resource: dcae_c_private_port }
-
dcae_c_vm:
type: OS::Nova::Server
properties:
@@ -1602,6 +1600,7 @@ resources:
base: { get_param: vm_base_name }
key_name: { get_resource: dcae_vm_key }
networks:
+ - network: { get_param: public_net_id }
- port: { get_resource: dcae_c_private_port }
user_data_format: RAW
user_data:
diff --git a/heat/vCPE/vbng/base_vcpe_vbng.env b/heat/vCPE/vbng/base_vcpe_vbng.env
index f79d306e..be4f9728 100644
--- a/heat/vCPE/vbng/base_vcpe_vbng.env
+++ b/heat/vCPE/vbng/base_vcpe_vbng.env
@@ -32,4 +32,4 @@
cloud_env: PUT THE CLOUD PROVIDED HERE (openstack or rackspace)
vpp_source_repo_url: https://gerrit.fd.io/r/vpp
vpp_source_repo_branch: stable/1704
- vpp_patch_url: https://gerrit.onap.org/r/#/c/11083/5/vnfs/vCPE/vpp-radius-client-for-vbng/src/patches/Vpp-Integrate-FreeRADIUS-Client-for-vBNG.patch
+ vpp_patch_url: https://git.onap.org/demo/plain/vnfs/vCPE/vpp-radius-client-for-vbng/src/patches/Vpp-Integrate-FreeRADIUS-Client-for-vBNG.patch
diff --git a/heat/vCPE/vbrgemu/base_vcpe_vbrgemu.env b/heat/vCPE/vbrgemu/base_vcpe_vbrgemu.env
index 47b66c6d..ea8bc823 100644
--- a/heat/vCPE/vbrgemu/base_vcpe_vbrgemu.env
+++ b/heat/vCPE/vbrgemu/base_vcpe_vbrgemu.env
@@ -24,4 +24,4 @@
vpp_source_repo_branch: stable/1704
hc2vpp_source_repo_url: https://gerrit.fd.io/r/hc2vpp
hc2vpp_source_repo_branch: stable/1704
- vpp_patch_url: https://gerrit.onap.org/r/#/c/11083/5/vnfs/vCPE/vpp-option-82-for-vbrg/src/patches/VPP-Add-Option82-Nat-Filter-For-vBRG.patch
+ vpp_patch_url: https://git.onap.org/demo/plain/vnfs/vCPE/vpp-option-82-for-vbrg/src/patches/VPP-Add-Option82-Nat-Filter-For-vBRG.patch
diff --git a/heat/vCPE/vgmux/base_vcpe_vgmux.env b/heat/vCPE/vgmux/base_vcpe_vgmux.env
index 3be62673..aad4784b 100644
--- a/heat/vCPE/vgmux/base_vcpe_vgmux.env
+++ b/heat/vCPE/vgmux/base_vcpe_vgmux.env
@@ -23,12 +23,12 @@
repo_url_artifacts: https://nexus.onap.org/content/groups/staging
demo_artifacts_version: 1.1.0
install_script_version: 1.1.0-SNAPSHOT
- key_name: vbng_key
+ key_name: vgmux_key
pub_key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN
cloud_env: PUT THE CLOUD PROVIDED HERE (openstack or rackspace)
vpp_source_repo_url: https://gerrit.fd.io/r/vpp
vpp_source_repo_branch: stable/1704
hc2vpp_source_repo_url: https://gerrit.fd.io/r/hc2vpp
hc2vpp_source_repo_branch: stable/1704
- vpp_patch_url: https://gerrit.onap.org/r/#/c/11083/5/vnfs/vCPE/vpp-ves-agent-for-vgmux/src/patches/Vpp-Add-VES-agent-for-vG-MUX.patch
- hc2vpp_patch_url: https://gerrit.onap.org/r/#/c/11083/5/vnfs/vCPE/vpp-ves-agent-for-vgmux/src/patches/Hc2vpp-Add-VES-agent-for-vG-MUX.patch
+ vpp_patch_url: https://git.onap.org/demo/plain/vnfs/vCPE/vpp-ves-agent-for-vgmux/src/patches/Vpp-Add-VES-agent-for-vG-MUX.patch
+ hc2vpp_patch_url: https://git.onap.org/demo/plain/vnfs/vCPE/vpp-ves-agent-for-vgmux/src/patches/Hc2vpp-Add-VES-agent-for-vG-MUX.patch
diff --git a/vnfs/VESreporting_vFW5.0/vpp_measurement_reporter.c b/vnfs/VESreporting_vFW5.0/vpp_measurement_reporter.c
index 8604d0cd..dbad74e5 100644
--- a/vnfs/VESreporting_vFW5.0/vpp_measurement_reporter.c
+++ b/vnfs/VESreporting_vFW5.0/vpp_measurement_reporter.c
@@ -245,7 +245,7 @@ int main(int argc, char** argv)
packets_out_this_round = 0;
}
- vpp_m = evel_new_measurement(READ_INTERVAL,"Measurement_vVNF","TrafficStats_1.2.3.4");
+ vpp_m = evel_new_measurement(READ_INTERVAL,"vFirewallBroadcastPackets","TrafficStats_1.2.3.4");
vnic_performance = (MEASUREMENT_VNIC_PERFORMANCE *)evel_measurement_new_vnic_performance("eth0", "true");
evel_meas_vnic_performance_add(vpp_m, vnic_performance);
diff --git a/vnfs/VESreporting_vLB5.0/vpp_measurement_reporter.c b/vnfs/VESreporting_vLB5.0/vpp_measurement_reporter.c
index 98450f0f..3eb984d5 100644
--- a/vnfs/VESreporting_vLB5.0/vpp_measurement_reporter.c
+++ b/vnfs/VESreporting_vLB5.0/vpp_measurement_reporter.c
@@ -206,7 +206,7 @@ int main(int argc, char** argv)
packets_out_this_round = 0;
}
- vpp_m = evel_new_measurement(READ_INTERVAL,"Measurement_vVNF","TrafficStats_1.2.3.4");
+ vpp_m = evel_new_measurement(READ_INTERVAL,"vLoadBalancer","TrafficStats_1.2.3.4");
vnic_performance = (MEASUREMENT_VNIC_PERFORMANCE *)evel_measurement_new_vnic_performance("eth0", "true");
evel_meas_vnic_performance_add(vpp_m, vnic_performance);
diff --git a/vnfs/vCPE/scripts/v_gmux_install.sh b/vnfs/vCPE/scripts/v_gmux_install.sh
index 9ab81403..b52179d6 100644
--- a/vnfs/vCPE/scripts/v_gmux_install.sh
+++ b/vnfs/vCPE/scripts/v_gmux_install.sh
@@ -227,6 +227,7 @@ git clone ${HC2VPP_SOURCE_REPO_URL} -b ${HC2VPP_SOURCE_REPO_BRANCH} hc2vpp
wget -O Hc2vpp-Add-VES-agent-for-vG-MUX.patch ${HC2VPP_PATCH_URL}
apt-get install -y maven
+mkdir -p ~/.m2
cat > ~/.m2/settings.xml << EOF
<?xml version="1.0" encoding="UTF-8"?>
<!-- vi: set et smarttab sw=2 tabstop=2: -->
diff --git a/vnfs/vCPE/vpp-ves-agent-for-vgmux/src/patches/Vpp-Add-VES-agent-for-vG-MUX.patch b/vnfs/vCPE/vpp-ves-agent-for-vgmux/src/patches/Vpp-Add-VES-agent-for-vG-MUX.patch
index edfb6a3b..7aed63f1 100644
--- a/vnfs/vCPE/vpp-ves-agent-for-vgmux/src/patches/Vpp-Add-VES-agent-for-vG-MUX.patch
+++ b/vnfs/vCPE/vpp-ves-agent-for-vgmux/src/patches/Vpp-Add-VES-agent-for-vG-MUX.patch
@@ -6600,7 +6600,7 @@ index 00000000..7540dd16
+ 0); /* Unicast packets transmitted */
+#endif
+
-+ sprintf(str_pkt_loss, "%.1f %%", (double) vam->config.base_pkt_loss);
++ sprintf(str_pkt_loss, "%.1f", (double) vam->config.base_pkt_loss);
+ evel_measurement_custom_measurement_add(vpp_m, /* Pointer to the measurement */
+ "ONAP-DCAE", /* measurement group's name */
+ "Packet-Loss-Rate", /* the measurement's name */