From: Martin Klozik Date: Mon, 21 Dec 2015 11:58:15 +0000 (+0000) Subject: bugfix: Vanilla OVS kernel module broken dependencies X-Git-Tag: brahmaputra.1.0~35 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=d755c4e4d318fda38bcb9cb6f4e9d010b43307e5;p=vswitchperf.git bugfix: Vanilla OVS kernel module broken dependencies Vsperf doesn't install OVS kernel module into standard directory, to keep host OS untouched. Thus kernel module must be inserted by insmod and module dependencies solved manually. List of kernel modules was updated to load all dependencies for recent OVS version. Change-Id: Id147615ca95cfbde26d1dc8d6c9801f7bb3b5d36 JIRA: VSPERF-161 Signed-off-by: Martin Klozik Reviewed-by: Maryam Tahhan Reviewed-by: Al Morton --- diff --git a/conf/02_vswitch.conf b/conf/02_vswitch.conf index 8085f3ca..ff07f97d 100644 --- a/conf/02_vswitch.conf +++ b/conf/02_vswitch.conf @@ -71,7 +71,7 @@ VSWITCHD_VANILLA_ARGS = ['--pidfile'] VSWITCH_VANILLA_PHY_PORT_NAMES = ['', ''] # use full module path to load module matching OVS version built from the source -VSWITCH_VANILLA_KERNEL_MODULES = [os.path.join(OVS_DIR_VANILLA, 'datapath/linux/openvswitch.ko')] +VSWITCH_VANILLA_KERNEL_MODULES = ['libcrc32c', 'ip_tunnel', 'vxlan', 'gre', 'nf_conntrack', 'nf_defrag_ipv4', 'nf_defrag_ipv6', os.path.join(OVS_DIR_VANILLA, 'datapath/linux/openvswitch.ko')] # Bridge name to be used by VSWTICH VSWITCH_BRIDGE_NAME = 'br0'