diff options
author | Florin Coras <fcoras@cisco.com> | 2017-12-14 11:30:48 -0800 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2017-12-22 19:25:46 +0000 |
commit | b795bd0c5cadfc6734ee8b2355cbc3965be0a1c1 (patch) | |
tree | 5eff78761f269956b6a414a62b418b33a8c842b2 /test/vpp_papi_provider.py | |
parent | 1bb85ce9ca3d5cd4fe54c137233fb791f5428689 (diff) |
tcp: add builtin server/client transfer test
Change-Id: Iab0baabf2f27bc7ad7fbf2d2789a493752b07d8a
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'test/vpp_papi_provider.py')
-rw-r--r-- | test/vpp_papi_provider.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/vpp_papi_provider.py b/test/vpp_papi_provider.py index a03677970bb..c6157d382d3 100644 --- a/test/vpp_papi_provider.py +++ b/test/vpp_papi_provider.py @@ -3010,3 +3010,18 @@ class VppPapiProvider(object): 'is_outbound': is_outbound, 'sa_id': sa_id, 'is_ip_any': is_ip_any}) + + def app_namespace_add(self, + namespace_id, + ip4_fib_id=0, + ip6_fib_id=0, + sw_if_index=0xFFFFFFFF, + secret=0): + return self.api( + self.papi.app_namespace_add_del, + {'secret': secret, + 'sw_if_index': sw_if_index, + 'ip4_fib_id': ip4_fib_id, + 'ip6_fib_id': ip6_fib_id, + 'namespace_id': namespace_id, + 'namespace_id_len': len(namespace_id)}) |