X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fvnf%2Fvirtio-user-ping%2Fsetup_vpp.sh;fp=src%2Fvnf%2Fvirtio-user-ping%2Fsetup_vpp.sh;h=eef672c0ea6e3dec98427190a6c5fdfd5f826576;hb=5812982c9b2c84aaa6bba36ac6a06ed025dd7e10;hp=0000000000000000000000000000000000000000;hpb=d14bcec5cbfaa1972fafdd3e1ad849f1014a4360;p=openretriever.git diff --git a/src/vnf/virtio-user-ping/setup_vpp.sh b/src/vnf/virtio-user-ping/setup_vpp.sh new file mode 100755 index 0000000..eef672c --- /dev/null +++ b/src/vnf/virtio-user-ping/setup_vpp.sh @@ -0,0 +1,8 @@ +#!/bin/bash +mkdir -p /run/vpp +vpp -c /root/startup.conf & +sleep 10 +chmod 777 /run/vpp/cli.sock +vppctl set int state VirtioUser0/0/0 up +vppctl set int ip add VirtioUser0/0/0 192.168.3.2/24 +sleep 1000000