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/srv6 | |
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/srv6')
-rw-r--r-- | src/vnet/srv6/sr.api | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/srv6/sr.api b/src/vnet/srv6/sr.api index 75a23b06e04..b33f0ebd811 100644 --- a/src/vnet/srv6/sr.api +++ b/src/vnet/srv6/sr.api @@ -36,7 +36,7 @@ typedef srv6_sid_list @param end_psp Boolean of whether decapsulation is allowed in this function @param behavior Type of behavior (function) for this localsid @param sw_if_index Only for L2/L3 xconnect. OIF. In VRF variant the - fib_table. + fib_table. Default:0xffffffff @param vlan_index Only for L2 xconnect. Outgoing VLAN tag. @param fib_table FIB table in which we should install the localsid entry @param nh_addr Next Hop IPv46 address. Only for L2/L3 xconnect. @@ -49,7 +49,7 @@ autoreply define sr_localsid_add_del vl_api_ip6_address_t localsid; bool end_psp; vl_api_sr_behavior_t behavior; - vl_api_interface_index_t sw_if_index; + vl_api_interface_index_t sw_if_index [default=0xffffffff]; u32 vlan_index; u32 fib_table; vl_api_address_t nh_addr; |