summaryrefslogtreecommitdiffstats
path: root/src/vcl/test/test_vcl.py
diff options
context:
space:
mode:
authorJakub Grajciar <jgrajcia@cisco.com>2020-11-24 11:22:01 +0100
committerJakub Grajciar <jgrajcia@cisco.com>2020-11-24 11:24:53 +0100
commit6a2794ea2b8cb439308c3991e2ec57e158cdc7c9 (patch)
tree6e477f701588980e9660d7a26d69af37a16891f2 /src/vcl/test/test_vcl.py
parent473556dcf13bd7e1d8165563ebe5cd97aa5e6c12 (diff)
tests: remove bond, pipe, session and api_namespace from vpp_papi_provider
Type: refactor Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com> Change-Id: I5052fc1fd82b5d17c1ed66fee5185addf60b9eb6
Diffstat (limited to 'src/vcl/test/test_vcl.py')
-rw-r--r--src/vcl/test/test_vcl.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/vcl/test/test_vcl.py b/src/vcl/test/test_vcl.py
index 37ede7b6979..f6d638539f0 100644
--- a/src/vcl/test/test_vcl.py
+++ b/src/vcl/test/test_vcl.py
@@ -80,10 +80,10 @@ class VCLTestCase(VppTestCase):
super(VCLTestCase, self).setUp()
def cut_thru_setup(self):
- self.vapi.session_enable_disable(is_enabled=1)
+ self.vapi.session_enable_disable(is_enable=1)
def cut_thru_tear_down(self):
- self.vapi.session_enable_disable(is_enabled=0)
+ self.vapi.session_enable_disable(is_enable=0)
def cut_thru_test(self, server_app, server_args, client_app, client_args):
self.env = {'VCL_VPP_API_SOCKET': self.api_sock,
@@ -103,7 +103,7 @@ class VCLTestCase(VppTestCase):
self.sleep(self.post_test_sleep)
def thru_host_stack_setup(self):
- self.vapi.session_enable_disable(is_enabled=1)
+ self.vapi.session_enable_disable(is_enable=1)
self.create_loopback_interfaces(2)
table_id = 1
@@ -145,7 +145,7 @@ class VCLTestCase(VppTestCase):
i.admin_down()
def thru_host_stack_ipv6_setup(self):
- self.vapi.session_enable_disable(is_enabled=1)
+ self.vapi.session_enable_disable(is_enable=1)
self.create_loopback_interfaces(2)
table_id = 1
@@ -186,7 +186,7 @@ class VCLTestCase(VppTestCase):
i.set_table_ip6(0)
i.admin_down()
- self.vapi.session_enable_disable(is_enabled=0)
+ self.vapi.session_enable_disable(is_enable=0)
@unittest.skipUnless(_have_iperf3, "'%s' not found, Skipping.")
def thru_host_stack_test(self, server_app, server_args,