FIX: Change plugin default behavior for Container tests 01/11601/1
authorPeter Mikus <[email protected]>
Thu, 5 Apr 2018 09:34:14 +0000 (09:34 +0000)
committerJan Gelety <[email protected]>
Mon, 9 Apr 2018 11:45:10 +0000 (13:45 +0200)
Looks like disabling all plugins in container leaving
only memif_plugin.so results into issue that could lead
into lost of SSH connectivity to TB or in better case
to not handling any traffic.

This fix is supose to return previous behavior for Container
instance of VPP.
vpp_config.add_plugin('disable', 'dpdk_plugin.so')

Change-Id: I7bca6c73c0f5aaf30d423b90ff7c2d2c38d54700
Signed-off-by: Peter Mikus <[email protected]>
resources/libraries/python/ContainerUtils.py

index b56fb0d..700b6c6 100644 (file)
@@ -321,7 +321,7 @@ class ContainerEngine(object):
         if cpuset_cpus:
             corelist_workers = ','.join(str(cpu) for cpu in cpuset_cpus)
             vpp_config.add_cpu_corelist_workers(corelist_workers)
-        vpp_config.add_plugin_disable('dpdk_plugin.so')
+        vpp_config.add_plugin('disable', 'dpdk_plugin.so')
 
         self.execute('mkdir -p /etc/vpp/')
         self.execute('echo "{c}" | tee {f}'