summaryrefslogtreecommitdiffstats
path: root/test/vpp_papi_provider.py
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2019-07-11 19:09:30 -0400
committerNeale Ranns <nranns@cisco.com>2019-07-12 08:33:44 +0000
commit79a32a4a101cf379fd17da2c053d9c94ba1c5ec9 (patch)
treeaad3a46d9e86afd91d8605afd4f950d2a963f99b /test/vpp_papi_provider.py
parentdfd57229e9427b9a34123a58f918446d82029a30 (diff)
tests: remove invalid arguments passed to papi
This changeset removes keys that are invalid in papi kwargs. Type: test Change-Id: I6568f91cd240dc1927540396210b429f6ce82c0a Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'test/vpp_papi_provider.py')
-rw-r--r--test/vpp_papi_provider.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/vpp_papi_provider.py b/test/vpp_papi_provider.py
index 31db0e6cca4..c6398323b6e 100644
--- a/test/vpp_papi_provider.py
+++ b/test/vpp_papi_provider.py
@@ -61,7 +61,6 @@ defaultmapping = {
'ip6nd_send_router_solicitation': {'irt': 1, 'mrt': 120, },
'ip_add_del_route': {'next_hop_sw_if_index': 4294967295,
'next_hop_weight': 1, 'next_hop_via_label': 1048576,
- 'next_hop_id': 4294967295,
'classify_table_index': 4294967295, 'is_add': 1, },
'ip_mroute_add_del': {'is_add': 1, },
'ip_neighbor_add_del': {'is_add': 1, },
@@ -1719,9 +1718,7 @@ class VppPapiProvider(object):
'bde_bp': bp,
'bde_payload_proto': payload_proto,
'bde_n_paths': 1,
- 'bde_paths': [{'next_hop': next_hop,
- 'table_id': next_hop_tbl_id,
- 'afi': next_hop_afi,
+ 'bde_paths': [{'table_id': next_hop_tbl_id,
'rpf_id': next_hop_rpf_id,
'n_labels': 0,
'label_stack': lstack}],
@@ -1890,7 +1887,6 @@ class VppPapiProvider(object):
'policy': policy,
'priority': priority,
'is_outbound': is_outbound,
- 'is_ip_any': is_ip_any
}
})