diff options
author | Guo Ruijing <ruijing.guo@intel.com> | 2017-08-01 11:11:01 -0700 |
---|---|---|
committer | Guo Ruijing <ruijing.guo@intel.com> | 2017-08-01 11:12:11 -0700 |
commit | f9154df2f80bfb343b58016ad81cff5ae0b44cd3 (patch) | |
tree | 855aabc5bc097320643fedb798626ce565e0156f /src/vnf/virtio-user-ping/build_vpp.sh | |
parent | dc766e69c0c08c55b6df2384bbcfd1e712f03160 (diff) |
Add ping vnf using vhost-user & virtio-user
Change-Id: If1138e90dd5ebf3c4748dc9cc998c93bb037c4c7
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Diffstat (limited to 'src/vnf/virtio-user-ping/build_vpp.sh')
-rwxr-xr-x | src/vnf/virtio-user-ping/build_vpp.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/vnf/virtio-user-ping/build_vpp.sh b/src/vnf/virtio-user-ping/build_vpp.sh new file mode 100755 index 0000000..9404bb1 --- /dev/null +++ b/src/vnf/virtio-user-ping/build_vpp.sh @@ -0,0 +1,13 @@ +#!/bin/bash +sudo apt-get update +sudo apt-get -y install sudo apt-transport-https devscripts git wget vim net-tools +cd /root +git clone https://gerrit.fd.io/r/vpp +cd vpp +git checkout stable/1707 +cp ../01-add-single-file.patch dpdk/dpdk-17.05_patches +cp ../02-fix-nohuge-option.patch dpdk/dpdk-17.05_patches +patch -p1 < ../virtio-user.patch +make UNATTENDED=yes install-dep || true +make bootstrap +make build; find . -type f | grep "install.*bin" | xargs -I {} cp {} /usr/bin/ |