aboutsummaryrefslogtreecommitdiffstats
path: root/test/asf
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2025-03-12 04:18:32 -0400
committerDave Wallace <dwallacelf@gmail.com>2025-03-14 01:59:30 +0000
commit332e02cbd448d52cc7bdab6670ac123dc73d73fd (patch)
tree1b00f86dea94bec43b8341c7841635e99eabd5f0 /test/asf
parent9c93af3b7fe849f0d2662b1757d9a437e16f03de (diff)
vcl: fix cl sendto on unbound socketHEADmaster
Type: fix Change-Id: Ia1e61a7ed633ad9708bd02fbaf4a39fe1a0ca1f3 Signed-off-by: Florin Coras <fcoras@cisco.com>
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"""