Documentation ¶
Overview ¶
Package bond contains generated bindings for API file bond.api.
Contents:
2 enums 14 messages
Index ¶
- Constants
- Variables
- func AllMessages() []api.Message
- type BondCreate
- func (*BondCreate) GetCrcString() string
- func (*BondCreate) GetMessageName() string
- func (*BondCreate) GetMessageType() api.MessageType
- func (m *BondCreate) Marshal(b []byte) ([]byte, error)
- func (m *BondCreate) Reset()
- func (m *BondCreate) Size() (size int)
- func (m *BondCreate) Unmarshal(b []byte) error
- type BondCreateReply
- func (*BondCreateReply) GetCrcString() string
- func (*BondCreateReply) GetMessageName() string
- func (*BondCreateReply) GetMessageType() api.MessageType
- func (m *BondCreateReply) Marshal(b []byte) ([]byte, error)
- func (m *BondCreateReply) Reset()
- func (m *BondCreateReply) Size() (size int)
- func (m *BondCreateReply) Unmarshal(b []byte) error
- type BondDelete
- func (*BondDelete) GetCrcString() string
- func (*BondDelete) GetMessageName() string
- func (*BondDelete) GetMessageType() api.MessageType
- func (m *BondDelete) Marshal(b []byte) ([]byte, error)
- func (m *BondDelete) Reset()
- func (m *BondDelete) Size() (size int)
- func (m *BondDelete) Unmarshal(b []byte) error
- type BondDeleteReply
- func (*BondDeleteReply) GetCrcString() string
- func (*BondDeleteReply) GetMessageName() string
- func (*BondDeleteReply) GetMessageType() api.MessageType
- func (m *BondDeleteReply) Marshal(b []byte) ([]byte, error)
- func (m *BondDeleteReply) Reset()
- func (m *BondDeleteReply) Size() (size int)
- func (m *BondDeleteReply) Unmarshal(b []byte) error
- type BondDetachSlave
- func (*BondDetachSlave) GetCrcString() string
- func (*BondDetachSlave) GetMessageName() string
- func (*BondDetachSlave) GetMessageType() api.MessageType
- func (m *BondDetachSlave) Marshal(b []byte) ([]byte, error)
- func (m *BondDetachSlave) Reset()
- func (m *BondDetachSlave) Size() (size int)
- func (m *BondDetachSlave) Unmarshal(b []byte) error
- type BondDetachSlaveReply
- func (*BondDetachSlaveReply) GetCrcString() string
- func (*BondDetachSlaveReply) GetMessageName() string
- func (*BondDetachSlaveReply) GetMessageType() api.MessageType
- func (m *BondDetachSlaveReply) Marshal(b []byte) ([]byte, error)
- func (m *BondDetachSlaveReply) Reset()
- func (m *BondDetachSlaveReply) Size() (size int)
- func (m *BondDetachSlaveReply) Unmarshal(b []byte) error
- type BondEnslave
- func (*BondEnslave) GetCrcString() string
- func (*BondEnslave) GetMessageName() string
- func (*BondEnslave) GetMessageType() api.MessageType
- func (m *BondEnslave) Marshal(b []byte) ([]byte, error)
- func (m *BondEnslave) Reset()
- func (m *BondEnslave) Size() (size int)
- func (m *BondEnslave) Unmarshal(b []byte) error
- type BondEnslaveReply
- func (*BondEnslaveReply) GetCrcString() string
- func (*BondEnslaveReply) GetMessageName() string
- func (*BondEnslaveReply) GetMessageType() api.MessageType
- func (m *BondEnslaveReply) Marshal(b []byte) ([]byte, error)
- func (m *BondEnslaveReply) Reset()
- func (m *BondEnslaveReply) Size() (size int)
- func (m *BondEnslaveReply) Unmarshal(b []byte) error
- type BondLbAlgo
- type BondMode
- type RPCService
- type RPCService_SwInterfaceBondDumpClient
- type RPCService_SwInterfaceSlaveDumpClient
- type SwInterfaceBondDetails
- func (*SwInterfaceBondDetails) GetCrcString() string
- func (*SwInterfaceBondDetails) GetMessageName() string
- func (*SwInterfaceBondDetails) GetMessageType() api.MessageType
- func (m *SwInterfaceBondDetails) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceBondDetails) Reset()
- func (m *SwInterfaceBondDetails) Size() (size int)
- func (m *SwInterfaceBondDetails) Unmarshal(b []byte) error
- type SwInterfaceBondDump
- func (*SwInterfaceBondDump) GetCrcString() string
- func (*SwInterfaceBondDump) GetMessageName() string
- func (*SwInterfaceBondDump) GetMessageType() api.MessageType
- func (m *SwInterfaceBondDump) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceBondDump) Reset()
- func (m *SwInterfaceBondDump) Size() (size int)
- func (m *SwInterfaceBondDump) Unmarshal(b []byte) error
- type SwInterfaceSetBondWeight
- func (*SwInterfaceSetBondWeight) GetCrcString() string
- func (*SwInterfaceSetBondWeight) GetMessageName() string
- func (*SwInterfaceSetBondWeight) GetMessageType() api.MessageType
- func (m *SwInterfaceSetBondWeight) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceSetBondWeight) Reset()
- func (m *SwInterfaceSetBondWeight) Size() (size int)
- func (m *SwInterfaceSetBondWeight) Unmarshal(b []byte) error
- type SwInterfaceSetBondWeightReply
- func (*SwInterfaceSetBondWeightReply) GetCrcString() string
- func (*SwInterfaceSetBondWeightReply) GetMessageName() string
- func (*SwInterfaceSetBondWeightReply) GetMessageType() api.MessageType
- func (m *SwInterfaceSetBondWeightReply) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceSetBondWeightReply) Reset()
- func (m *SwInterfaceSetBondWeightReply) Size() (size int)
- func (m *SwInterfaceSetBondWeightReply) Unmarshal(b []byte) error
- type SwInterfaceSlaveDetails
- func (*SwInterfaceSlaveDetails) GetCrcString() string
- func (*SwInterfaceSlaveDetails) GetMessageName() string
- func (*SwInterfaceSlaveDetails) GetMessageType() api.MessageType
- func (m *SwInterfaceSlaveDetails) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceSlaveDetails) Reset()
- func (m *SwInterfaceSlaveDetails) Size() (size int)
- func (m *SwInterfaceSlaveDetails) Unmarshal(b []byte) error
- type SwInterfaceSlaveDump
- func (*SwInterfaceSlaveDump) GetCrcString() string
- func (*SwInterfaceSlaveDump) GetMessageName() string
- func (*SwInterfaceSlaveDump) GetMessageType() api.MessageType
- func (m *SwInterfaceSlaveDump) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceSlaveDump) Reset()
- func (m *SwInterfaceSlaveDump) Size() (size int)
- func (m *SwInterfaceSlaveDump) Unmarshal(b []byte) error
Constants ¶
const ( APIFile = "bond" APIVersion = "2.0.0" VersionCrc = 0xa65a4a1e )
Variables ¶
var ( BondLbAlgo_name = map[uint32]string{ 0: "BOND_API_LB_ALGO_L2", 1: "BOND_API_LB_ALGO_L34", 2: "BOND_API_LB_ALGO_L23", 3: "BOND_API_LB_ALGO_RR", 4: "BOND_API_LB_ALGO_BC", 5: "BOND_API_LB_ALGO_AB", } BondLbAlgo_value = map[string]uint32{ "BOND_API_LB_ALGO_L2": 0, "BOND_API_LB_ALGO_L34": 1, "BOND_API_LB_ALGO_L23": 2, "BOND_API_LB_ALGO_RR": 3, "BOND_API_LB_ALGO_BC": 4, "BOND_API_LB_ALGO_AB": 5, } )
var ( BondMode_name = map[uint32]string{ 1: "BOND_API_MODE_ROUND_ROBIN", 2: "BOND_API_MODE_ACTIVE_BACKUP", 3: "BOND_API_MODE_XOR", 4: "BOND_API_MODE_BROADCAST", 5: "BOND_API_MODE_LACP", } BondMode_value = map[string]uint32{ "BOND_API_MODE_ROUND_ROBIN": 1, "BOND_API_MODE_ACTIVE_BACKUP": 2, "BOND_API_MODE_XOR": 3, "BOND_API_MODE_BROADCAST": 4, "BOND_API_MODE_LACP": 5, } )
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type BondCreate ¶
type BondCreate struct { ID uint32 `binapi:"u32,name=id,default=4294967295" json:"id,omitempty"` UseCustomMac bool `binapi:"bool,name=use_custom_mac" json:"use_custom_mac,omitempty"` MacAddress ethernet_types.MacAddress `binapi:"mac_address,name=mac_address" json:"mac_address,omitempty"` Mode BondMode `binapi:"bond_mode,name=mode" json:"mode,omitempty"` Lb BondLbAlgo `binapi:"bond_lb_algo,name=lb" json:"lb,omitempty"` NumaOnly bool `binapi:"bool,name=numa_only" json:"numa_only,omitempty"` }
BondCreate defines message 'bond_create'.
func (*BondCreate) GetCrcString ¶
func (*BondCreate) GetCrcString() string
func (*BondCreate) GetMessageName ¶
func (*BondCreate) GetMessageName() string
func (*BondCreate) GetMessageType ¶
func (*BondCreate) GetMessageType() api.MessageType
func (*BondCreate) Reset ¶
func (m *BondCreate) Reset()
func (*BondCreate) Size ¶
func (m *BondCreate) Size() (size int)
func (*BondCreate) Unmarshal ¶
func (m *BondCreate) Unmarshal(b []byte) error
type BondCreateReply ¶
type BondCreateReply struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` }
BondCreateReply defines message 'bond_create_reply'.
func (*BondCreateReply) GetCrcString ¶
func (*BondCreateReply) GetCrcString() string
func (*BondCreateReply) GetMessageName ¶
func (*BondCreateReply) GetMessageName() string
func (*BondCreateReply) GetMessageType ¶
func (*BondCreateReply) GetMessageType() api.MessageType
func (*BondCreateReply) Reset ¶
func (m *BondCreateReply) Reset()
func (*BondCreateReply) Size ¶
func (m *BondCreateReply) Size() (size int)
func (*BondCreateReply) Unmarshal ¶
func (m *BondCreateReply) Unmarshal(b []byte) error
type BondDelete ¶
type BondDelete struct {
SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
}
BondDelete defines message 'bond_delete'.
func (*BondDelete) GetCrcString ¶
func (*BondDelete) GetCrcString() string
func (*BondDelete) GetMessageName ¶
func (*BondDelete) GetMessageName() string
func (*BondDelete) GetMessageType ¶
func (*BondDelete) GetMessageType() api.MessageType
func (*BondDelete) Reset ¶
func (m *BondDelete) Reset()
func (*BondDelete) Size ¶
func (m *BondDelete) Size() (size int)
func (*BondDelete) Unmarshal ¶
func (m *BondDelete) Unmarshal(b []byte) error
type BondDeleteReply ¶
type BondDeleteReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
BondDeleteReply defines message 'bond_delete_reply'.
func (*BondDeleteReply) GetCrcString ¶
func (*BondDeleteReply) GetCrcString() string
func (*BondDeleteReply) GetMessageName ¶
func (*BondDeleteReply) GetMessageName() string
func (*BondDeleteReply) GetMessageType ¶
func (*BondDeleteReply) GetMessageType() api.MessageType
func (*BondDeleteReply) Reset ¶
func (m *BondDeleteReply) Reset()
func (*BondDeleteReply) Size ¶
func (m *BondDeleteReply) Size() (size int)
func (*BondDeleteReply) Unmarshal ¶
func (m *BondDeleteReply) Unmarshal(b []byte) error
type BondDetachSlave ¶
type BondDetachSlave struct {
SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
}
BondDetachSlave defines message 'bond_detach_slave'.
func (*BondDetachSlave) GetCrcString ¶
func (*BondDetachSlave) GetCrcString() string
func (*BondDetachSlave) GetMessageName ¶
func (*BondDetachSlave) GetMessageName() string
func (*BondDetachSlave) GetMessageType ¶
func (*BondDetachSlave) GetMessageType() api.MessageType
func (*BondDetachSlave) Reset ¶
func (m *BondDetachSlave) Reset()
func (*BondDetachSlave) Size ¶
func (m *BondDetachSlave) Size() (size int)
func (*BondDetachSlave) Unmarshal ¶
func (m *BondDetachSlave) Unmarshal(b []byte) error
type BondDetachSlaveReply ¶
type BondDetachSlaveReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
BondDetachSlaveReply defines message 'bond_detach_slave_reply'.
func (*BondDetachSlaveReply) GetCrcString ¶
func (*BondDetachSlaveReply) GetCrcString() string
func (*BondDetachSlaveReply) GetMessageName ¶
func (*BondDetachSlaveReply) GetMessageName() string
func (*BondDetachSlaveReply) GetMessageType ¶
func (*BondDetachSlaveReply) GetMessageType() api.MessageType
func (*BondDetachSlaveReply) Marshal ¶
func (m *BondDetachSlaveReply) Marshal(b []byte) ([]byte, error)
func (*BondDetachSlaveReply) Reset ¶
func (m *BondDetachSlaveReply) Reset()
func (*BondDetachSlaveReply) Size ¶
func (m *BondDetachSlaveReply) Size() (size int)
func (*BondDetachSlaveReply) Unmarshal ¶
func (m *BondDetachSlaveReply) Unmarshal(b []byte) error
type BondEnslave ¶
type BondEnslave struct { SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` BondSwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=bond_sw_if_index" json:"bond_sw_if_index,omitempty"` IsPassive bool `binapi:"bool,name=is_passive" json:"is_passive,omitempty"` IsLongTimeout bool `binapi:"bool,name=is_long_timeout" json:"is_long_timeout,omitempty"` }
BondEnslave defines message 'bond_enslave'.
func (*BondEnslave) GetCrcString ¶
func (*BondEnslave) GetCrcString() string
func (*BondEnslave) GetMessageName ¶
func (*BondEnslave) GetMessageName() string
func (*BondEnslave) GetMessageType ¶
func (*BondEnslave) GetMessageType() api.MessageType
func (*BondEnslave) Reset ¶
func (m *BondEnslave) Reset()
func (*BondEnslave) Size ¶
func (m *BondEnslave) Size() (size int)
func (*BondEnslave) Unmarshal ¶
func (m *BondEnslave) Unmarshal(b []byte) error
type BondEnslaveReply ¶
type BondEnslaveReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
BondEnslaveReply defines message 'bond_enslave_reply'.
func (*BondEnslaveReply) GetCrcString ¶
func (*BondEnslaveReply) GetCrcString() string
func (*BondEnslaveReply) GetMessageName ¶
func (*BondEnslaveReply) GetMessageName() string
func (*BondEnslaveReply) GetMessageType ¶
func (*BondEnslaveReply) GetMessageType() api.MessageType
func (*BondEnslaveReply) Reset ¶
func (m *BondEnslaveReply) Reset()
func (*BondEnslaveReply) Size ¶
func (m *BondEnslaveReply) Size() (size int)
func (*BondEnslaveReply) Unmarshal ¶
func (m *BondEnslaveReply) Unmarshal(b []byte) error
type BondLbAlgo ¶
type BondLbAlgo uint32
BondLbAlgo defines enum 'bond_lb_algo'.
const ( BOND_API_LB_ALGO_L2 BondLbAlgo = 0 BOND_API_LB_ALGO_L34 BondLbAlgo = 1 BOND_API_LB_ALGO_L23 BondLbAlgo = 2 BOND_API_LB_ALGO_RR BondLbAlgo = 3 BOND_API_LB_ALGO_BC BondLbAlgo = 4 BOND_API_LB_ALGO_AB BondLbAlgo = 5 )
func (BondLbAlgo) String ¶
func (x BondLbAlgo) String() string
type RPCService ¶
type RPCService interface { BondCreate(ctx context.Context, in *BondCreate) (*BondCreateReply, error) BondDelete(ctx context.Context, in *BondDelete) (*BondDeleteReply, error) BondDetachSlave(ctx context.Context, in *BondDetachSlave) (*BondDetachSlaveReply, error) BondEnslave(ctx context.Context, in *BondEnslave) (*BondEnslaveReply, error) SwInterfaceBondDump(ctx context.Context, in *SwInterfaceBondDump) (RPCService_SwInterfaceBondDumpClient, error) SwInterfaceSetBondWeight(ctx context.Context, in *SwInterfaceSetBondWeight) (*SwInterfaceSetBondWeightReply, error) SwInterfaceSlaveDump(ctx context.Context, in *SwInterfaceSlaveDump) (RPCService_SwInterfaceSlaveDumpClient, error) }
RPCService defines RPC service bond.
func NewServiceClient ¶
func NewServiceClient(conn api.Connection) RPCService
type RPCService_SwInterfaceBondDumpClient ¶
type RPCService_SwInterfaceBondDumpClient interface { Recv() (*SwInterfaceBondDetails, error) api.Stream }
type RPCService_SwInterfaceSlaveDumpClient ¶
type RPCService_SwInterfaceSlaveDumpClient interface { Recv() (*SwInterfaceSlaveDetails, error) api.Stream }
type SwInterfaceBondDetails ¶
type SwInterfaceBondDetails struct { SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` ID uint32 `binapi:"u32,name=id" json:"id,omitempty"` Mode BondMode `binapi:"bond_mode,name=mode" json:"mode,omitempty"` Lb BondLbAlgo `binapi:"bond_lb_algo,name=lb" json:"lb,omitempty"` NumaOnly bool `binapi:"bool,name=numa_only" json:"numa_only,omitempty"` ActiveSlaves uint32 `binapi:"u32,name=active_slaves" json:"active_slaves,omitempty"` Slaves uint32 `binapi:"u32,name=slaves" json:"slaves,omitempty"` InterfaceName string `binapi:"string[64],name=interface_name" json:"interface_name,omitempty"` }
SwInterfaceBondDetails defines message 'sw_interface_bond_details'.
func (*SwInterfaceBondDetails) GetCrcString ¶
func (*SwInterfaceBondDetails) GetCrcString() string
func (*SwInterfaceBondDetails) GetMessageName ¶
func (*SwInterfaceBondDetails) GetMessageName() string
func (*SwInterfaceBondDetails) GetMessageType ¶
func (*SwInterfaceBondDetails) GetMessageType() api.MessageType
func (*SwInterfaceBondDetails) Marshal ¶
func (m *SwInterfaceBondDetails) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceBondDetails) Reset ¶
func (m *SwInterfaceBondDetails) Reset()
func (*SwInterfaceBondDetails) Size ¶
func (m *SwInterfaceBondDetails) Size() (size int)
func (*SwInterfaceBondDetails) Unmarshal ¶
func (m *SwInterfaceBondDetails) Unmarshal(b []byte) error
type SwInterfaceBondDump ¶
type SwInterfaceBondDump struct{}
SwInterfaceBondDump defines message 'sw_interface_bond_dump'.
func (*SwInterfaceBondDump) GetCrcString ¶
func (*SwInterfaceBondDump) GetCrcString() string
func (*SwInterfaceBondDump) GetMessageName ¶
func (*SwInterfaceBondDump) GetMessageName() string
func (*SwInterfaceBondDump) GetMessageType ¶
func (*SwInterfaceBondDump) GetMessageType() api.MessageType
func (*SwInterfaceBondDump) Marshal ¶
func (m *SwInterfaceBondDump) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceBondDump) Reset ¶
func (m *SwInterfaceBondDump) Reset()
func (*SwInterfaceBondDump) Size ¶
func (m *SwInterfaceBondDump) Size() (size int)
func (*SwInterfaceBondDump) Unmarshal ¶
func (m *SwInterfaceBondDump) Unmarshal(b []byte) error
type SwInterfaceSetBondWeight ¶
type SwInterfaceSetBondWeight struct { SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` Weight uint32 `binapi:"u32,name=weight" json:"weight,omitempty"` }
SwInterfaceSetBondWeight defines message 'sw_interface_set_bond_weight'.
func (*SwInterfaceSetBondWeight) GetCrcString ¶
func (*SwInterfaceSetBondWeight) GetCrcString() string
func (*SwInterfaceSetBondWeight) GetMessageName ¶
func (*SwInterfaceSetBondWeight) GetMessageName() string
func (*SwInterfaceSetBondWeight) GetMessageType ¶
func (*SwInterfaceSetBondWeight) GetMessageType() api.MessageType
func (*SwInterfaceSetBondWeight) Marshal ¶
func (m *SwInterfaceSetBondWeight) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceSetBondWeight) Reset ¶
func (m *SwInterfaceSetBondWeight) Reset()
func (*SwInterfaceSetBondWeight) Size ¶
func (m *SwInterfaceSetBondWeight) Size() (size int)
func (*SwInterfaceSetBondWeight) Unmarshal ¶
func (m *SwInterfaceSetBondWeight) Unmarshal(b []byte) error
type SwInterfaceSetBondWeightReply ¶
type SwInterfaceSetBondWeightReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
SwInterfaceSetBondWeightReply defines message 'sw_interface_set_bond_weight_reply'.
func (*SwInterfaceSetBondWeightReply) GetCrcString ¶
func (*SwInterfaceSetBondWeightReply) GetCrcString() string
func (*SwInterfaceSetBondWeightReply) GetMessageName ¶
func (*SwInterfaceSetBondWeightReply) GetMessageName() string
func (*SwInterfaceSetBondWeightReply) GetMessageType ¶
func (*SwInterfaceSetBondWeightReply) GetMessageType() api.MessageType
func (*SwInterfaceSetBondWeightReply) Marshal ¶
func (m *SwInterfaceSetBondWeightReply) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceSetBondWeightReply) Reset ¶
func (m *SwInterfaceSetBondWeightReply) Reset()
func (*SwInterfaceSetBondWeightReply) Size ¶
func (m *SwInterfaceSetBondWeightReply) Size() (size int)
func (*SwInterfaceSetBondWeightReply) Unmarshal ¶
func (m *SwInterfaceSetBondWeightReply) Unmarshal(b []byte) error
type SwInterfaceSlaveDetails ¶
type SwInterfaceSlaveDetails struct { SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` InterfaceName string `binapi:"string[64],name=interface_name" json:"interface_name,omitempty"` IsPassive bool `binapi:"bool,name=is_passive" json:"is_passive,omitempty"` IsLongTimeout bool `binapi:"bool,name=is_long_timeout" json:"is_long_timeout,omitempty"` IsLocalNuma bool `binapi:"bool,name=is_local_numa" json:"is_local_numa,omitempty"` Weight uint32 `binapi:"u32,name=weight" json:"weight,omitempty"` }
SwInterfaceSlaveDetails defines message 'sw_interface_slave_details'.
func (*SwInterfaceSlaveDetails) GetCrcString ¶
func (*SwInterfaceSlaveDetails) GetCrcString() string
func (*SwInterfaceSlaveDetails) GetMessageName ¶
func (*SwInterfaceSlaveDetails) GetMessageName() string
func (*SwInterfaceSlaveDetails) GetMessageType ¶
func (*SwInterfaceSlaveDetails) GetMessageType() api.MessageType
func (*SwInterfaceSlaveDetails) Marshal ¶
func (m *SwInterfaceSlaveDetails) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceSlaveDetails) Reset ¶
func (m *SwInterfaceSlaveDetails) Reset()
func (*SwInterfaceSlaveDetails) Size ¶
func (m *SwInterfaceSlaveDetails) Size() (size int)
func (*SwInterfaceSlaveDetails) Unmarshal ¶
func (m *SwInterfaceSlaveDetails) Unmarshal(b []byte) error
type SwInterfaceSlaveDump ¶
type SwInterfaceSlaveDump struct {
SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
}
SwInterfaceSlaveDump defines message 'sw_interface_slave_dump'.
func (*SwInterfaceSlaveDump) GetCrcString ¶
func (*SwInterfaceSlaveDump) GetCrcString() string
func (*SwInterfaceSlaveDump) GetMessageName ¶
func (*SwInterfaceSlaveDump) GetMessageName() string
func (*SwInterfaceSlaveDump) GetMessageType ¶
func (*SwInterfaceSlaveDump) GetMessageType() api.MessageType
func (*SwInterfaceSlaveDump) Marshal ¶
func (m *SwInterfaceSlaveDump) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceSlaveDump) Reset ¶
func (m *SwInterfaceSlaveDump) Reset()
func (*SwInterfaceSlaveDump) Size ¶
func (m *SwInterfaceSlaveDump) Size() (size int)
func (*SwInterfaceSlaveDump) Unmarshal ¶
func (m *SwInterfaceSlaveDump) Unmarshal(b []byte) error