Versions in this module Expand all Collapse all v0 v0.5.0 Jul 29, 2022 v0.4.0 Jan 17, 2022 Changes in this version + const APIFile + const APIVersion + const VersionCrc + var BondLbAlgo_name = map[uint32]string + var BondLbAlgo_value = map[string]uint32 + var BondMode_name = map[uint32]string + var BondMode_value = map[string]uint32 + func AllMessages() []api.Message + type BondAddMember struct + BondSwIfIndex interface_types.InterfaceIndex + IsLongTimeout bool + IsPassive bool + SwIfIndex interface_types.InterfaceIndex + func (*BondAddMember) GetCrcString() string + func (*BondAddMember) GetMessageName() string + func (*BondAddMember) GetMessageType() api.MessageType + func (m *BondAddMember) Marshal(b []byte) ([]byte, error) + func (m *BondAddMember) Reset() + func (m *BondAddMember) Size() (size int) + func (m *BondAddMember) Unmarshal(b []byte) error + type BondAddMemberReply struct + Retval int32 + func (*BondAddMemberReply) GetCrcString() string + func (*BondAddMemberReply) GetMessageName() string + func (*BondAddMemberReply) GetMessageType() api.MessageType + func (m *BondAddMemberReply) Marshal(b []byte) ([]byte, error) + func (m *BondAddMemberReply) Reset() + func (m *BondAddMemberReply) Size() (size int) + func (m *BondAddMemberReply) Unmarshal(b []byte) error + type BondCreate struct + ID uint32 + Lb BondLbAlgo + MacAddress ethernet_types.MacAddress + Mode BondMode + NumaOnly bool + UseCustomMac bool + 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 BondCreate2 struct + EnableGso bool + ID uint32 + Lb BondLbAlgo + MacAddress ethernet_types.MacAddress + Mode BondMode + NumaOnly bool + UseCustomMac bool + func (*BondCreate2) GetCrcString() string + func (*BondCreate2) GetMessageName() string + func (*BondCreate2) GetMessageType() api.MessageType + func (m *BondCreate2) Marshal(b []byte) ([]byte, error) + func (m *BondCreate2) Reset() + func (m *BondCreate2) Size() (size int) + func (m *BondCreate2) Unmarshal(b []byte) error + type BondCreate2Reply struct + Retval int32 + SwIfIndex interface_types.InterfaceIndex + func (*BondCreate2Reply) GetCrcString() string + func (*BondCreate2Reply) GetMessageName() string + func (*BondCreate2Reply) GetMessageType() api.MessageType + func (m *BondCreate2Reply) Marshal(b []byte) ([]byte, error) + func (m *BondCreate2Reply) Reset() + func (m *BondCreate2Reply) Size() (size int) + func (m *BondCreate2Reply) Unmarshal(b []byte) error + type BondCreateReply struct + Retval int32 + SwIfIndex interface_types.InterfaceIndex + 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 struct + SwIfIndex interface_types.InterfaceIndex + 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 struct + Retval int32 + 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 BondDetachMember struct + SwIfIndex interface_types.InterfaceIndex + func (*BondDetachMember) GetCrcString() string + func (*BondDetachMember) GetMessageName() string + func (*BondDetachMember) GetMessageType() api.MessageType + func (m *BondDetachMember) Marshal(b []byte) ([]byte, error) + func (m *BondDetachMember) Reset() + func (m *BondDetachMember) Size() (size int) + func (m *BondDetachMember) Unmarshal(b []byte) error + type BondDetachMemberReply struct + Retval int32 + func (*BondDetachMemberReply) GetCrcString() string + func (*BondDetachMemberReply) GetMessageName() string + func (*BondDetachMemberReply) GetMessageType() api.MessageType + func (m *BondDetachMemberReply) Marshal(b []byte) ([]byte, error) + func (m *BondDetachMemberReply) Reset() + func (m *BondDetachMemberReply) Size() (size int) + func (m *BondDetachMemberReply) Unmarshal(b []byte) error + type BondDetachSlave struct + SwIfIndex interface_types.InterfaceIndex + 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 struct + Retval int32 + 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 struct + BondSwIfIndex interface_types.InterfaceIndex + IsLongTimeout bool + IsPassive bool + SwIfIndex interface_types.InterfaceIndex + 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 struct + Retval int32 + 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 uint32 + const BOND_API_LB_ALGO_AB + const BOND_API_LB_ALGO_BC + const BOND_API_LB_ALGO_L2 + const BOND_API_LB_ALGO_L23 + const BOND_API_LB_ALGO_L34 + const BOND_API_LB_ALGO_RR + func (x BondLbAlgo) String() string + type BondMode uint32 + const BOND_API_MODE_ACTIVE_BACKUP + const BOND_API_MODE_BROADCAST + const BOND_API_MODE_LACP + const BOND_API_MODE_ROUND_ROBIN + const BOND_API_MODE_XOR + func (x BondMode) String() string + type RPCService interface + BondAddMember func(ctx context.Context, in *BondAddMember) (*BondAddMemberReply, error) + BondCreate func(ctx context.Context, in *BondCreate) (*BondCreateReply, error) + BondCreate2 func(ctx context.Context, in *BondCreate2) (*BondCreate2Reply, error) + BondDelete func(ctx context.Context, in *BondDelete) (*BondDeleteReply, error) + BondDetachMember func(ctx context.Context, in *BondDetachMember) (*BondDetachMemberReply, error) + BondDetachSlave func(ctx context.Context, in *BondDetachSlave) (*BondDetachSlaveReply, error) + BondEnslave func(ctx context.Context, in *BondEnslave) (*BondEnslaveReply, error) + SwBondInterfaceDump func(ctx context.Context, in *SwBondInterfaceDump) (RPCService_SwBondInterfaceDumpClient, error) + SwInterfaceBondDump func(ctx context.Context, in *SwInterfaceBondDump) (RPCService_SwInterfaceBondDumpClient, error) + SwInterfaceSetBondWeight func(ctx context.Context, in *SwInterfaceSetBondWeight) (*SwInterfaceSetBondWeightReply, error) + SwInterfaceSlaveDump func(ctx context.Context, in *SwInterfaceSlaveDump) (RPCService_SwInterfaceSlaveDumpClient, error) + SwMemberInterfaceDump func(ctx context.Context, in *SwMemberInterfaceDump) (RPCService_SwMemberInterfaceDumpClient, error) + func NewServiceClient(conn api.Connection) RPCService + type RPCService_SwBondInterfaceDumpClient interface + Recv func() (*SwBondInterfaceDetails, error) + type RPCService_SwInterfaceBondDumpClient interface + Recv func() (*SwInterfaceBondDetails, error) + type RPCService_SwInterfaceSlaveDumpClient interface + Recv func() (*SwInterfaceSlaveDetails, error) + type RPCService_SwMemberInterfaceDumpClient interface + Recv func() (*SwMemberInterfaceDetails, error) + type SwBondInterfaceDetails struct + ActiveMembers uint32 + ID uint32 + InterfaceName string + Lb BondLbAlgo + Members uint32 + Mode BondMode + NumaOnly bool + SwIfIndex interface_types.InterfaceIndex + func (*SwBondInterfaceDetails) GetCrcString() string + func (*SwBondInterfaceDetails) GetMessageName() string + func (*SwBondInterfaceDetails) GetMessageType() api.MessageType + func (m *SwBondInterfaceDetails) Marshal(b []byte) ([]byte, error) + func (m *SwBondInterfaceDetails) Reset() + func (m *SwBondInterfaceDetails) Size() (size int) + func (m *SwBondInterfaceDetails) Unmarshal(b []byte) error + type SwBondInterfaceDump struct + SwIfIndex interface_types.InterfaceIndex + func (*SwBondInterfaceDump) GetCrcString() string + func (*SwBondInterfaceDump) GetMessageName() string + func (*SwBondInterfaceDump) GetMessageType() api.MessageType + func (m *SwBondInterfaceDump) Marshal(b []byte) ([]byte, error) + func (m *SwBondInterfaceDump) Reset() + func (m *SwBondInterfaceDump) Size() (size int) + func (m *SwBondInterfaceDump) Unmarshal(b []byte) error + type SwInterfaceBondDetails struct + ActiveSlaves uint32 + ID uint32 + InterfaceName string + Lb BondLbAlgo + Mode BondMode + NumaOnly bool + Slaves uint32 + SwIfIndex interface_types.InterfaceIndex + 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 struct + 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 struct + SwIfIndex interface_types.InterfaceIndex + Weight uint32 + 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 struct + Retval int32 + 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 struct + InterfaceName string + IsLocalNuma bool + IsLongTimeout bool + IsPassive bool + SwIfIndex interface_types.InterfaceIndex + Weight uint32 + 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 struct + SwIfIndex interface_types.InterfaceIndex + 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 + type SwMemberInterfaceDetails struct + InterfaceName string + IsLocalNuma bool + IsLongTimeout bool + IsPassive bool + SwIfIndex interface_types.InterfaceIndex + Weight uint32 + func (*SwMemberInterfaceDetails) GetCrcString() string + func (*SwMemberInterfaceDetails) GetMessageName() string + func (*SwMemberInterfaceDetails) GetMessageType() api.MessageType + func (m *SwMemberInterfaceDetails) Marshal(b []byte) ([]byte, error) + func (m *SwMemberInterfaceDetails) Reset() + func (m *SwMemberInterfaceDetails) Size() (size int) + func (m *SwMemberInterfaceDetails) Unmarshal(b []byte) error + type SwMemberInterfaceDump struct + SwIfIndex interface_types.InterfaceIndex + func (*SwMemberInterfaceDump) GetCrcString() string + func (*SwMemberInterfaceDump) GetMessageName() string + func (*SwMemberInterfaceDump) GetMessageType() api.MessageType + func (m *SwMemberInterfaceDump) Marshal(b []byte) ([]byte, error) + func (m *SwMemberInterfaceDump) Reset() + func (m *SwMemberInterfaceDump) Size() (size int) + func (m *SwMemberInterfaceDump) Unmarshal(b []byte) error