diff options
author | Paul Vinciguerra <pvinci@vinciconsulting.com> | 2020-04-28 01:12:04 -0400 |
---|---|---|
committer | Paul Vinciguerra <pvinci@vinciconsulting.com> | 2020-04-28 01:12:04 -0400 |
commit | c0e9441e79b63ea09d5b282910d104960d45026d (patch) | |
tree | e677ccc526c70a82cd2702be7c42864392b1279f /src/vnet/mpls | |
parent | f5445bf36f3be001ca50881c66853718073771b8 (diff) |
tests: move defaults from defaultmapping to .api files
facilitates use of papi beyond the tests.
Type: improvement
Change-Id: I3d502d9130b81a7fb65ee69bb06fe55802b28a27
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'src/vnet/mpls')
-rw-r--r-- | src/vnet/mpls/mpls.api | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vnet/mpls/mpls.api b/src/vnet/mpls/mpls.api index 25aa1c645af..fb3ab1a4798 100644 --- a/src/vnet/mpls/mpls.api +++ b/src/vnet/mpls/mpls.api @@ -81,7 +81,7 @@ define mpls_tunnel_dump { u32 client_index; u32 context; - vl_api_interface_index_t sw_if_index; + vl_api_interface_index_t sw_if_index [default=0xffffffff]; }; /** \brief mpls tunnel details @@ -99,7 +99,7 @@ manual_endian manual_print define mpls_tunnel_details @param mt_is_add - Is this a route add or delete @param mt_name - A client provided name/tag for the table. If this is not set by the client, then VPP will generate - something meaningfull. + something meaningful. */ typedef mpls_table { @@ -133,7 +133,7 @@ define mpls_table_details @param mr_table_id - The MPLS table-id the route is added in @param mr_label - The MPLS label value @param mr_eos - The End of stack bit - @param mr_eos_proto - If EOS then this is the DPO packect's proto post pop + @param mr_eos_proto - If EOS then this is the DPO packet's proto post pop @param mr_is_multicast - Is this a multicast route @param mr_n_paths - The number of paths @param mr_paths - The paths |