diff options
author | Matus Fabian <matfabia@cisco.com> | 2016-12-22 02:46:27 -0800 |
---|---|---|
committer | Matus Fabian <matfabia@cisco.com> | 2016-12-22 02:46:27 -0800 |
commit | e73d0a3aab61a4b192fe73165e6cece4a95c107b (patch) | |
tree | 692c81562d5891d8adf71e6f9b65a78cd338a0a1 /test/vpp_papi_provider.py | |
parent | 436b319354362c5f64ad342d19ada87f246b5e74 (diff) |
SNAT: Remove the oldest translation fix (VPP-568)
Fixed bug and add test.
Change-Id: I60fbec48abd9d9cb86be1bd1cdbb7d16f9f93c3e
Signed-off-by: Matus Fabian <matfabia@cisco.com>
Diffstat (limited to 'test/vpp_papi_provider.py')
-rw-r--r-- | test/vpp_papi_provider.py | 6 |
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) |