summaryrefslogtreecommitdiffstats
path: root/src/vnet/bonding
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2020-04-28 01:12:04 -0400
committerPaul Vinciguerra <pvinci@vinciconsulting.com>2020-04-28 01:12:04 -0400
commitc0e9441e79b63ea09d5b282910d104960d45026d (patch)
treee677ccc526c70a82cd2702be7c42864392b1279f /src/vnet/bonding
parentf5445bf36f3be001ca50881c66853718073771b8 (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/bonding')
-rw-r--r--src/vnet/bonding/bond.api4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/bonding/bond.api b/src/vnet/bonding/bond.api
index 34fa0204a39..865dcbe0857 100644
--- a/src/vnet/bonding/bond.api
+++ b/src/vnet/bonding/bond.api
@@ -49,7 +49,7 @@ enum bond_lb_algo
@param id - if non-~0, specifies a custom interface ID
@param use_custom_mac - if set, mac_address is valid
@param mac_address - mac addr to assign to the interface if use_custom_mac is set
- @param mode - mode, required (1=round-robin, 2=active-backup, 3=xor, 4=broadcastcast, 5=lacp)
+ @param mode - mode, required (1=round-robin, 2=active-backup, 3=xor, 4=broadcast, 5=lacp)
@param lb - load balance, optional (0=l2, 1=l34, 2=l23) valid for xor and lacp modes. Otherwise ignored
@param numa_only - if numa_only is set, pkts will be transmitted by LAG members on local numa node only if have at least one, otherwise it works as usual.
*/
@@ -57,7 +57,7 @@ define bond_create
{
u32 client_index;
u32 context;
- u32 id;
+ u32 id [default=0xFFFFFFFF];
bool use_custom_mac;
vl_api_mac_address_t mac_address;
vl_api_bond_mode_t mode;