Code Review
/
demo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Update POM files for vLB manual scaling
[demo.git]
/
vnfs
/
vLBMS
/
scripts
/
v_lb_init.sh
diff --git
a/vnfs/vLBMS/scripts/v_lb_init.sh
b/vnfs/vLBMS/scripts/v_lb_init.sh
index
26d88c0
..
4300c55
100644
(file)
--- a/
vnfs/vLBMS/scripts/v_lb_init.sh
+++ b/
vnfs/vLBMS/scripts/v_lb_init.sh
@@
-77,7
+77,7
@@
vppctl set ip arp tap-0 $PKTGEN_IPADDR $PKTGEN_MAC
# Start Honeycomb and initialize the vLB with information about vDNS
cd /opt
# Start Honeycomb and initialize the vLB with information about vDNS
cd /opt
-./vlb-vnf-onap-distribution-$(cat /opt/config/demo_artifacts_version.txt)
-SNAPSHOT
/honeycomb &>/var/log/honeycomb.log &disown
+./vlb-vnf-onap-distribution-$(cat /opt/config/demo_artifacts_version.txt)/honeycomb &>/var/log/honeycomb.log &disown
sleep 10
OAM_VDNS_IP=$(cat /opt/config/oam_vdns_ip.txt)
sleep 10
OAM_VDNS_IP=$(cat /opt/config/oam_vdns_ip.txt)
@@
-85,6
+85,6
@@
VDNS_IPADDR=$(cat /opt/config/vdns_ipaddr.txt)
curl -X PUT http://localhost:8183/restconf/config/vlb-business-vnf-onap-plugin:vlb-business-vnf-onap-plugin/vdns-instances/vdns-instance/$VDNS_IPADDR -H 'Accept: application/json' -H 'Cache-Control: no-cache' -H 'Content-Type: application/json' -H 'Postman-Token: 8bfe8815-3efb-4c9b-8974-7b8d7b6da4c6' -H "Authorization: Basic YWRtaW46YWRtaW4=" -d '{"vdns-instance": [{ "ip-addr": "'$VDNS_IPADDR'", "oam-ip-addr": "'$OAM_VDNS_IP'", "enabled": true }]}'
# Start VES agent
curl -X PUT http://localhost:8183/restconf/config/vlb-business-vnf-onap-plugin:vlb-business-vnf-onap-plugin/vdns-instances/vdns-instance/$VDNS_IPADDR -H 'Accept: application/json' -H 'Cache-Control: no-cache' -H 'Content-Type: application/json' -H 'Postman-Token: 8bfe8815-3efb-4c9b-8974-7b8d7b6da4c6' -H "Authorization: Basic YWRtaW46YWRtaW4=" -d '{"vdns-instance": [{ "ip-addr": "'$VDNS_IPADDR'", "oam-ip-addr": "'$OAM_VDNS_IP'", "enabled": true }]}'
# Start VES agent
-cd /opt/VES/evel/evel-library/code/VESreporting/
-echo 0 > active_dns.txt
-./go-client.sh &>/dev/null &disown
+
#
cd /opt/VES/evel/evel-library/code/VESreporting/
+
#
echo 0 > active_dns.txt
+
#
./go-client.sh &>/dev/null &disown