summaryrefslogtreecommitdiffstats
path: root/test/vpp_papi_provider.py
diff options
context:
space:
mode:
authorNeale Ranns <neale.ranns@cisco.com>2018-08-08 06:37:33 -0700
committerNeale Ranns <nranns@cisco.com>2018-08-10 07:47:46 +0000
commit404d88edce63a635b58ba54d21d91735ff933584 (patch)
treea1255a5c75b661ca2f2d409dcc10d8b4bf1dbb04 /test/vpp_papi_provider.py
parent99a3c6c4836c15c2a354cce84aa18a1dabe76c7e (diff)
Add test of the IP unnumbered dump
Change-Id: Ic3e978faf58b43adb8a9fd0dea36eb4513fe0c64 Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
Diffstat (limited to 'test/vpp_papi_provider.py')
-rw-r--r--test/vpp_papi_provider.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/vpp_papi_provider.py b/test/vpp_papi_provider.py
index 14cb72727b6..bd4787d3e9e 100644
--- a/test/vpp_papi_provider.py
+++ b/test/vpp_papi_provider.py
@@ -275,6 +275,10 @@ class VppPapiProvider(object):
'unnumbered_sw_if_index': sw_if_index,
'is_add': is_add})
+ def ip_unnumbered_dump(self, sw_if_index=0xffffffff):
+ return self.api(self.papi.ip_unnumbered_dump,
+ {'sw_if_index': sw_if_index})
+
def sw_interface_enable_disable_mpls(self, sw_if_index,
is_enable=1):
"""