commit | 97d36a284ee710c82b15fe0c87c16e4ac4c0a13c | [log] [tgz] |
---|---|---|
author | Carmelo Cascone <carmelo@opennetworking.org> | Fri Apr 12 11:05:50 2019 -0700 |
committer | Carmelo Cascone <carmelo@opennetworking.org> | Fri Apr 12 18:59:41 2019 +0000 |
tree | 591ba4404d672f9b6594965ece6c4d2a147c7c3b | |
parent | 15743ea55b3697d73e51d4090324f047162b9160 [diff] |
Use specific kernel version in p4vm There is a known issue with some kernel versions that affects PTF tests: https://github.com/jafingerhut/p4-guide/tree/master/linux-veth-bug Change-Id: I207cd7b6c2de72c1a9fd353c931584551889a0d3
diff --git a/tools/dev/p4vm/root-bootstrap.sh b/tools/dev/p4vm/root-bootstrap.sh index 90fb557..b997a6a 100755 --- a/tools/dev/p4vm/root-bootstrap.sh +++ b/tools/dev/p4vm/root-bootstrap.sh
@@ -5,6 +5,10 @@ ONOS_BRANCH_TUTORIAL="onos-1.14" BAZEL_VER="0.22.0" +# There is a known issue with some kernel versions that affects PTF tests: +# https://github.com/jafingerhut/p4-guide/tree/master/linux-veth-bug +KERNEL_VER="4.15.0-46-generic" + VM_TYPE=${1:-dev} if [[ ${VM_TYPE} = "tutorial" ]] @@ -62,6 +66,7 @@ automake \ autoconf \ libtool \ + linux-image-${KERNEL_VER} \ isc-dhcp-server DEBIAN_FRONTEND=noninteractive apt-get -yq install wireshark