summaryrefslogtreecommitdiffstats
path: root/src/vat
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 /src/vat
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 'src/vat')
-rw-r--r--src/vat/api_format.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/vat/api_format.c b/src/vat/api_format.c
index d6af6984467..bc5e9596bba 100644
--- a/src/vat/api_format.c
+++ b/src/vat/api_format.c
@@ -7564,7 +7564,6 @@ api_ip_add_del_route (vat_main_t * vam)
u8 create_vrf_if_needed = 0;
u8 is_add = 1;
u32 next_hop_weight = 1;
- u8 not_last = 0;
u8 is_multipath = 0;
u8 address_set = 0;
u8 address_length_set = 0;
@@ -7648,8 +7647,6 @@ api_ip_add_del_route (vat_main_t * vam)
is_add = 0;
else if (unformat (i, "add"))
is_add = 1;
- else if (unformat (i, "not-last"))
- not_last = 1;
else if (unformat (i, "resolve-via-host"))
resolve_host = 1;
else if (unformat (i, "resolve-via-attached"))
@@ -7758,7 +7755,6 @@ api_ip_add_del_route (vat_main_t * vam)
mp->is_multipath = is_multipath;
mp->is_resolve_host = resolve_host;
mp->is_resolve_attached = resolve_attached;
- mp->not_last = not_last;
mp->next_hop_weight = next_hop_weight;
mp->dst_address_length = dst_address_length;
mp->next_hop_table_id = ntohl (next_hop_table_id);