make test: add option for adding extra vpp config
Change-Id: Ief316756635794dadf2f0f4190aa20745df5e53c Signed-off-by: Klement Sekera <ksekera@cisco.com>
This commit is contained in:
@ -192,6 +192,7 @@ class VppTestCase(unittest.TestCase):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
extra_vpp_punt_config = []
|
extra_vpp_punt_config = []
|
||||||
|
extra_vpp_plugin_config = []
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def packet_infos(self):
|
def packet_infos(self):
|
||||||
@ -307,7 +308,7 @@ class VppTestCase(unittest.TestCase):
|
|||||||
"{", "socket-name", cls.stats_sock, "}", "plugins",
|
"{", "socket-name", cls.stats_sock, "}", "plugins",
|
||||||
"{", "plugin", "dpdk_plugin.so", "{", "disable",
|
"{", "plugin", "dpdk_plugin.so", "{", "disable",
|
||||||
"}", "plugin", "unittest_plugin.so", "{", "enable",
|
"}", "plugin", "unittest_plugin.so", "{", "enable",
|
||||||
"}", "}", ]
|
"}"] + cls.extra_vpp_plugin_config + ["}", ]
|
||||||
if cls.extra_vpp_punt_config is not None:
|
if cls.extra_vpp_punt_config is not None:
|
||||||
cls.vpp_cmdline.extend(cls.extra_vpp_punt_config)
|
cls.vpp_cmdline.extend(cls.extra_vpp_punt_config)
|
||||||
if plugin_path is not None:
|
if plugin_path is not None:
|
||||||
|
Reference in New Issue
Block a user