summaryrefslogtreecommitdiffstats
path: root/test/vpp_papi_provider.py
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2017-10-13 10:22:59 +0200
committerNeale Ranns <nranns@cisco.com>2017-10-19 07:31:16 +0000
commit0164a06d8145f416118183bd496124bfbdfcd3f2 (patch)
treeeecd0f4f391eaade2b5bf6bc9015bf50a29ce8c1 /test/vpp_papi_provider.py
parent7bee773e71b81a1e13a656030b0f7edae99c5e92 (diff)
Remove unused 'not_last' parameter from ip_add_del_route
Vat supports setting value for the parameter, but 'not_last' is ignored by ip_add_del_route handler, so can be removed. This patch - updates ip.api, - removes vat handlers - updates vpp_papi_provider.py (also mpls_route_add_del with unused not_last) Change-Id: Ife15de123db4bc8247103a29b90bce1988e46534 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'test/vpp_papi_provider.py')
-rw-r--r--test/vpp_papi_provider.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/test/vpp_papi_provider.py b/test/vpp_papi_provider.py
index f7047eaf58f..2e970d24704 100644
--- a/test/vpp_papi_provider.py
+++ b/test/vpp_papi_provider.py
@@ -747,8 +747,7 @@ class VppPapiProvider(object):
is_classify=0,
is_multipath=0,
is_l2_bridged=0,
- is_source_lookup=0,
- not_last=0):
+ is_source_lookup=0):
"""
:param dst_address_length:
@@ -769,7 +768,6 @@ class VppPapiProvider(object):
:param is_resolve_attached: (Default value = 0)
:param is_l2_bridged: (Default value = 0)
:param is_source_lookup: (Default value = 0)
- :param not_last: (Default value = 0)
:param next_hop_weight: (Default value = 1)
"""
@@ -792,7 +790,6 @@ class VppPapiProvider(object):
'is_resolve_attached': is_resolve_attached,
'is_l2_bridged': is_l2_bridged,
'is_source_lookup': is_source_lookup,
- 'not_last': not_last,
'next_hop_weight': next_hop_weight,
'dst_address_length': dst_address_length,
'dst_address': dst_address,
@@ -1024,8 +1021,7 @@ class VppPapiProvider(object):
is_drop=0,
is_multipath=0,
classify_table_index=0xFFFFFFFF,
- is_classify=0,
- not_last=0):
+ is_classify=0):
"""
:param dst_address_length:
@@ -1045,7 +1041,6 @@ class VppPapiProvider(object):
:param is_multicast: (Default value = 0)
:param is_resolve_host: (Default value = 0)
:param is_resolve_attached: (Default value = 0)
- :param not_last: (Default value = 0)
:param next_hop_weight: (Default value = 1)
"""