Code Review
/
demo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Build artifacts for vLB use case
[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
..
9c9fce2
100644
(file)
--- a/
vnfs/vLBMS/scripts/v_lb_init.sh
+++ b/
vnfs/vLBMS/scripts/v_lb_init.sh
@@
-76,8
+76,9
@@
vppctl set interface proxy-arp tap-0 enable
vppctl set ip arp tap-0 $PKTGEN_IPADDR $PKTGEN_MAC
# Start Honeycomb and initialize the vLB with information about vDNS
vppctl set ip arp tap-0 $PKTGEN_IPADDR $PKTGEN_MAC
# Start Honeycomb and initialize the vLB with information about vDNS
+VERSION=$(cat /opt/config/demo_artifacts_version.txt)
cd /opt
cd /opt
-./
vlb-vnf-onap-distribution-$(cat /opt/config/demo_artifacts_version.txt)-SNAPSHOT
/honeycomb &>/var/log/honeycomb.log &disown
+./
honeycomb/vlb-vnf-onap-distribution-$VERSION
/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)