aboutsummaryrefslogtreecommitdiffstats
path: root/test/vpp_papi_provider.py
diff options
context:
space:
mode:
authorMatus Fabian <matfabia@cisco.com>2016-12-21 23:58:46 -0800
committerDamjan Marion <dmarion.lists@gmail.com>2016-12-22 12:28:01 +0000
commit9902fcd3e06dae893264f7681e82a2b73141546c (patch)
treeab6435fafe9c6fc1fcf535e29a4b7e353c681cb7 /test/vpp_papi_provider.py
parent20d1232532e6f6c94c77a125b6c17680e14785b5 (diff)
SNAT: Remove the oldest translation fix (VPP-568)
Fixed bug and add test. Change-Id: Ibe70dfc81e6c264223050d316cf6a2a3a0e1524e Signed-off-by: Matus Fabian <matfabia@cisco.com>
Diffstat (limited to 'test/vpp_papi_provider.py')
-rw-r--r--test/vpp_papi_provider.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/vpp_papi_provider.py b/test/vpp_papi_provider.py
index 7c9059295f8..3279a2746d4 100644
--- a/test/vpp_papi_provider.py
+++ b/test/vpp_papi_provider.py
@@ -842,6 +842,12 @@ class VppPapiProvider(object):
"""
return self.api(self.papi.snat_static_mapping_dump, {})
+ def snat_show_config(self):
+ """Show S-NAT config
+ :return: S-NAT config parameters
+ """
+ return self.api(self.papi.snat_show_config, {})
+
def control_ping(self):
self.api(self.papi.control_ping)