aboutsummaryrefslogtreecommitdiffstats
path: root/test/asf
diff options
context:
space:
mode:
Diffstat (limited to 'test/asf')
-rw-r--r--test/asf/test_vcl.py42
1 files changed, 42 insertions, 0 deletions
diff --git a/test/asf/test_vcl.py b/test/asf/test_vcl.py
index 143b46c22ee..ae837fa4065 100644
--- a/test/asf/test_vcl.py
+++ b/test/asf/test_vcl.py
@@ -564,6 +564,48 @@ class VCLThruHostStackEcho(VCLTestCase):
@unittest.skipIf(
"hs_apps" in config.excluded_plugins, "Exclude tests requiring hs_apps plugin"
)
+class VCLThruHostStackCLUDPEcho(VCLTestCase):
+ """VCL Thru Host Stack CL UDP Echo"""
+
+ @classmethod
+ def setUpClass(cls):
+ super(VCLThruHostStackCLUDPEcho, cls).setUpClass()
+
+ @classmethod
+ def tearDownClass(cls):
+ super(VCLThruHostStackCLUDPEcho, cls).tearDownClass()
+
+ def setUp(self):
+ super(VCLThruHostStackCLUDPEcho, self).setUp()
+
+ self.thru_host_stack_setup()
+ self.pre_test_sleep = 2
+ self.timeout = 5
+
+ def tearDown(self):
+ self.thru_host_stack_tear_down()
+ super(VCLThruHostStackCLUDPEcho, self).tearDown()
+
+ def test_vcl_thru_host_stack_cl_udp_echo(self):
+ """run VCL IPv4 thru host stack CL UDP echo test"""
+ server_args = ["-s", self.loop0.local_ip4]
+ client_args = ["-c", self.loop0.local_ip4]
+ self.thru_host_stack_test(
+ "vcl_test_cl_udp",
+ server_args,
+ "vcl_test_cl_udp",
+ client_args,
+ )
+
+ def show_commands_at_teardown(self):
+ self.logger.debug(self.vapi.cli("show app server"))
+ self.logger.debug(self.vapi.cli("show session verbose"))
+ self.logger.debug(self.vapi.cli("show app mq"))
+
+
+@unittest.skipIf(
+ "hs_apps" in config.excluded_plugins, "Exclude tests requiring hs_apps plugin"
+)
class VCLThruHostStackTLS(VCLTestCase):
"""VCL Thru Host Stack TLS"""