Code Review
/
openretriever.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Add ping vnf using vhost-user & virtio-user
[openretriever.git]
/
src
/
vnf
/
virtio-user-ping
/
setup_vpp.sh
1
#!/bin/bash
2
mkdir -p /run/vpp
3
vpp -c /root/startup.conf &
4
sleep 10
5
chmod 777 /run/vpp/cli.sock
6
vppctl set int state VirtioUser0/0/0 up
7
vppctl set int ip add VirtioUser0/0/0 192.168.3.2/24
8
sleep 1000000