summaryrefslogtreecommitdiffstats
path: root/test/vpp_papi_provider.py
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2017-12-11 09:09:05 -0800
committerDave Barach <openvpp@barachs.net>2017-12-12 21:35:51 +0000
commit3ea6ce235e9a9af1e78208eef54304ef0c865e67 (patch)
treef1b7adceac4013772482a18ca0f38711b127765c /test/vpp_papi_provider.py
parent19b1f6ae21aedf2b427f49351e1a265032b67615 (diff)
tcp/session: add make tests
Change-Id: Icb93ab80c5a6432d7b2b698a47e8b612c6f06fbd Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'test/vpp_papi_provider.py')
-rw-r--r--test/vpp_papi_provider.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/vpp_papi_provider.py b/test/vpp_papi_provider.py
index c4b1601eb42..c8954f842b4 100644
--- a/test/vpp_papi_provider.py
+++ b/test/vpp_papi_provider.py
@@ -2806,3 +2806,8 @@ class VppPapiProvider(object):
return self.api(self.papi.add_node_next,
{'node_name': node_name,
'next_name': next_name})
+
+ def session_enable_disable(self, is_enabled):
+ return self.api(
+ self.papi.session_enable_disable,
+ {'is_enable': is_enabled})