FD.io VPP  v19.01.2-3-gf61a1a8
Vector Packet Processing
vl_api_bond_create_t Struct Reference

Initialize a new bond interface with the given paramters. More...

Data Fields

u32 client_index
 
u32 context
 
u32 id
 
u8 use_custom_mac
 
u8 mac_address [6]
 
u8 mode
 
u8 lb
 

Detailed Description

Initialize a new bond interface with the given paramters.

Template Parameters
client_index- opaque cookie to identify the sender
context- sender context, to match reply w/ request
id- if non-~0, specifies a custom interface ID
use_custom_mac- if set, mac_address is valid
mac_address- mac addr to assign to the interface if use_custom_mac is set
mode- mode, required (1=round-robin, 2=active-backup, 3=xor, 4=broadcastcast, 5=lacp)
lb- load balance, optional (0=l2, 1=l34, 2=l23) valid for xor and lacp modes. Otherwise ignored

Definition at line 33 of file bond.api.

Field Documentation

u32 vl_api_bond_create_t::client_index

Definition at line 35 of file bond.api.

u32 vl_api_bond_create_t::context

Definition at line 36 of file bond.api.

u32 vl_api_bond_create_t::id

Definition at line 37 of file bond.api.

u8 vl_api_bond_create_t::lb

Definition at line 41 of file bond.api.

u8 vl_api_bond_create_t::mac_address[6]

Definition at line 39 of file bond.api.

u8 vl_api_bond_create_t::mode

Definition at line 40 of file bond.api.

u8 vl_api_bond_create_t::use_custom_mac

Definition at line 38 of file bond.api.


The documentation for this struct was generated from the following file: