diff options
author | Neale Ranns <neale.ranns@cisco.com> | 2018-09-26 05:07:25 -0700 |
---|---|---|
committer | John Lo <loj@cisco.com> | 2018-09-26 16:54:46 +0000 |
commit | f5fa5ae2b021f946fbb8ec56e692459cd34bc7fb (patch) | |
tree | c5ba2b4602d39d8a7b366706b5535c1c6ac01f81 /test/vpp_papi_provider.py | |
parent | 2ac7edeeaf01dc21d9b87e764b6147c035a87c58 (diff) |
MPLS tunnel dump: use sw_if_index not tunnel_index
Change-Id: I6c0d5aec6ee96a0d40358f0e09a0901b22265063
Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
Diffstat (limited to 'test/vpp_papi_provider.py')
-rw-r--r-- | test/vpp_papi_provider.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/vpp_papi_provider.py b/test/vpp_papi_provider.py index ee45a5fb4cd..b814da27b33 100644 --- a/test/vpp_papi_provider.py +++ b/test/vpp_papi_provider.py @@ -1361,8 +1361,9 @@ class VppPapiProvider(object): 'mt_next_hop_via_label': next_hop_via_label, 'mt_next_hop_out_label_stack': next_hop_out_label_stack}) - def mpls_tunnel_dump(self): - return self.api(self.papi.mpls_tunnel_dump, {}) + def mpls_tunnel_dump(self, sw_if_index=0xffffffff): + return self.api(self.papi.mpls_tunnel_dump, + {'sw_if_index': sw_if_index}) def nat44_interface_add_del_feature( self, |