[Fullstack] Don't compile ovs kernel module on Ubuntu Bionic

In fullstack tests it was required to compile ovs kernel module
for specific version from sources because we needed fix [1] for vxlan
tunnels traffic.
Now, as in Ubuntu Bionic there is at least ovs 2.9 available,
this installation from sources shouldn't be necessary anymore.

[1] b1c74f3527

Closes-Bug: #1818632

Change-Id: I83df981a4446e8f52f6f623351d1b80c224a5aff
This commit is contained in:
Slawek Kaplonski 2019-03-11 15:08:54 +01:00
parent 590002728d
commit c3ad500df0
1 changed files with 9 additions and 8 deletions

View File

@ -73,14 +73,15 @@ case $VENV in
# Because of bug present in current Ubuntu Xenial kernel version
# we need a fix for VXLAN local tunneling.
if [[ "$VENV" =~ "dsvm-fullstack" ]]; then
# The OVS_BRANCH variable is used by git checkout. In the case below,
# we use openvswitch release 2.9.3 that contains a fix for usage of
# VXLAN tunnels on a single node (ovs repository commit
# 741f47cf35df2bfc7811b2cff75c9bb8d05fd26f). This can be dropped once
# we switch to Ubuntu Bionic nodes, where kernel has the fix
OVS_BRANCH="v2.9.3"
compile_ovs_kernel_module
if is_ubuntu && [ ${DISTRO} == "xenial" ]; then
# The OVS_BRANCH variable is used by git checkout. In the case below,
# we use openvswitch release 2.9.3 that contains a fix for usage of
# VXLAN tunnels on a single node (ovs repository commit
# 741f47cf35df2bfc7811b2cff75c9bb8d05fd26f). This can be dropped once
# we switch to Ubuntu Bionic nodes, where kernel has the fix
OVS_BRANCH="v2.9.3"
compile_ovs_kernel_module
fi
fi
# prepare base environment for ./stack.sh