VPP-1506: dump local punts and registered punt sockets
Change-Id: If7835e9b80ec9402404bfc8d271eb11a10ef992b Signed-off-by: Pavel Kotucek <pavel.kotucek@pantheon.tech>
This commit is contained in:
@ -193,6 +193,8 @@ class VppTestCase(unittest.TestCase):
|
||||
classes. It provides methods to create and run test case.
|
||||
"""
|
||||
|
||||
extra_vpp_punt_config = []
|
||||
|
||||
@property
|
||||
def packet_infos(self):
|
||||
"""List of packet infos"""
|
||||
@ -308,6 +310,8 @@ class VppTestCase(unittest.TestCase):
|
||||
"{", "plugin", "dpdk_plugin.so", "{", "disable",
|
||||
"}", "plugin", "unittest_plugin.so", "{", "enable",
|
||||
"}", "}", ]
|
||||
if cls.extra_vpp_punt_config is not None:
|
||||
cls.vpp_cmdline.extend(cls.extra_vpp_punt_config)
|
||||
if plugin_path is not None:
|
||||
cls.vpp_cmdline.extend(["plugin_path", plugin_path])
|
||||
cls.logger.info("vpp_cmdline args: %s" % cls.vpp_cmdline)
|
||||
|
Reference in New Issue
Block a user