summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
cf214cc)
Rename extra_vpp_punt_config to a more generic name extra_vpp_config to
better fit its purpose. It's fit for general use and already used that
way by quic and vcl tests anyway.
Type: refactor
Signed-off-by: Klement Sekera <klement.sekera@gmail.com>
Change-Id: Ib0a5789b0dbb3a8c3cae654dea4e32ac5e56dd41
"""
extra_vpp_statseg_config = ""
"""
extra_vpp_statseg_config = ""
- extra_vpp_punt_config = []
extra_vpp_plugin_config = []
logger = null_logger
vapi_response_timeout = 5
extra_vpp_plugin_config = []
logger = null_logger
vapi_response_timeout = 5
- if cls.extra_vpp_punt_config is not None:
- cls.vpp_cmdline.extend(cls.extra_vpp_punt_config)
+ if cls.extra_vpp_config is not None:
+ cls.vpp_cmdline.extend(cls.extra_vpp_config)
if not cls.debug_attach:
cls.logger.info("vpp_cmdline args: %s" % cls.vpp_cmdline)
if not cls.debug_attach:
cls.logger.info("vpp_cmdline args: %s" % cls.vpp_cmdline)
"""QUIC Echo Internal Test Case"""
test_bytes = " test-bytes"
"""QUIC Echo Internal Test Case"""
test_bytes = " test-bytes"
- extra_vpp_punt_config = ["session", "{", "enable", "poll-main", "}"]
+ extra_vpp_config = ["session", "{", "enable", "poll-main", "}"]
def setUp(self):
super(QUICEchoIntTestCase, self).setUp()
def setUp(self):
super(QUICEchoIntTestCase, self).setUp()
vpp_worker_count = 1
server_fifo_size = "1M"
client_fifo_size = "4M"
vpp_worker_count = 1
server_fifo_size = "1M"
client_fifo_size = "4M"
- extra_vpp_punt_config = [
"session",
"{",
"enable",
"session",
"{",
"enable",
def setUpClass(cls):
if cls.session_startup:
conf = "session {" + " ".join(cls.session_startup) + "}"
def setUpClass(cls):
if cls.session_startup:
conf = "session {" + " ".join(cls.session_startup) + "}"
- cls.extra_vpp_punt_config = [conf]
+ cls.extra_vpp_config = [conf]
super(VCLTestCase, cls).setUpClass()
@classmethod
super(VCLTestCase, cls).setUpClass()
@classmethod
"""
extra_vpp_statseg_config = ""
"""
extra_vpp_statseg_config = ""
- extra_vpp_punt_config = []
extra_vpp_plugin_config = []
logger = null_logger
vapi_response_timeout = 5
extra_vpp_plugin_config = []
logger = null_logger
vapi_response_timeout = 5
- if cls.extra_vpp_punt_config is not None:
- cls.vpp_cmdline.extend(cls.extra_vpp_punt_config)
+ if cls.extra_vpp_config is not None:
+ cls.vpp_cmdline.extend(cls.extra_vpp_config)
if not cls.debug_attach:
cls.logger.info("vpp_cmdline args: %s" % cls.vpp_cmdline)
if not cls.debug_attach:
cls.logger.info("vpp_cmdline args: %s" % cls.vpp_cmdline)
# turn the scanner off whilst testing otherwise sessions
# will time out
#
# turn the scanner off whilst testing otherwise sessions
# will time out
#
- extra_vpp_punt_config = [
"cnat",
"{",
"session-db-buckets",
"cnat",
"{",
"session-db-buckets",
@classmethod
def setUpConstants(cls):
@classmethod
def setUpConstants(cls):
- cls.extra_vpp_punt_config = [
+ cls.extra_vpp_config = [