From 79a32a4a101cf379fd17da2c053d9c94ba1c5ec9 Mon Sep 17 00:00:00 2001 From: Paul Vinciguerra Date: Thu, 11 Jul 2019 19:09:30 -0400 Subject: 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 --- test/vpp_papi_provider.py | 6 +----- 1 file changed, 1 insertion(+), 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 } }) -- cgit 1.2.3-korg