Documentation ¶
Overview ¶
Package lldp is a generated VPP binary API for 'lldp' module.
It consists of:
4 messages 2 services
Index ¶
Constants ¶
View Source
const ( // ModuleName is the name of this module. ModuleName = "lldp" // APIVersion is the API version of this module. APIVersion = "1.0.0" // VersionCrc is the CRC of this module. VersionCrc = 0xd9188ec )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type LldpConfig ¶
LldpConfig represents VPP binary API message 'lldp_config'.
func (*LldpConfig) GetCrcString ¶
func (*LldpConfig) GetCrcString() string
func (*LldpConfig) GetMessageName ¶
func (*LldpConfig) GetMessageName() string
func (*LldpConfig) GetMessageType ¶
func (*LldpConfig) GetMessageType() api.MessageType
func (*LldpConfig) Reset ¶
func (m *LldpConfig) Reset()
type LldpConfigReply ¶
type LldpConfigReply struct {
Retval int32
}
LldpConfigReply represents VPP binary API message 'lldp_config_reply'.
func (*LldpConfigReply) GetCrcString ¶
func (*LldpConfigReply) GetCrcString() string
func (*LldpConfigReply) GetMessageName ¶
func (*LldpConfigReply) GetMessageName() string
func (*LldpConfigReply) GetMessageType ¶
func (*LldpConfigReply) GetMessageType() api.MessageType
func (*LldpConfigReply) Reset ¶
func (m *LldpConfigReply) Reset()
type RPCService ¶
type RPCService interface { LldpConfig(ctx context.Context, in *LldpConfig) (*LldpConfigReply, error) SwInterfaceSetLldp(ctx context.Context, in *SwInterfaceSetLldp) (*SwInterfaceSetLldpReply, error) }
RPCService represents RPC service API for lldp module.
func NewServiceClient ¶
func NewServiceClient(ch api.Channel) RPCService
type SwInterfaceSetLldp ¶
type SwInterfaceSetLldp struct { SwIfIndex uint32 PortDesc []byte `struc:"[256]byte"` MgmtIP4 []byte `struc:"[4]byte"` MgmtIP6 []byte `struc:"[16]byte"` MgmtOid []byte `struc:"[128]byte"` Enable uint8 }
SwInterfaceSetLldp represents VPP binary API message 'sw_interface_set_lldp'.
func (*SwInterfaceSetLldp) GetCrcString ¶
func (*SwInterfaceSetLldp) GetCrcString() string
func (*SwInterfaceSetLldp) GetMessageName ¶
func (*SwInterfaceSetLldp) GetMessageName() string
func (*SwInterfaceSetLldp) GetMessageType ¶
func (*SwInterfaceSetLldp) GetMessageType() api.MessageType
func (*SwInterfaceSetLldp) Reset ¶
func (m *SwInterfaceSetLldp) Reset()
type SwInterfaceSetLldpReply ¶
type SwInterfaceSetLldpReply struct {
Retval int32
}
SwInterfaceSetLldpReply represents VPP binary API message 'sw_interface_set_lldp_reply'.
func (*SwInterfaceSetLldpReply) GetCrcString ¶
func (*SwInterfaceSetLldpReply) GetCrcString() string
func (*SwInterfaceSetLldpReply) GetMessageName ¶
func (*SwInterfaceSetLldpReply) GetMessageName() string
func (*SwInterfaceSetLldpReply) GetMessageType ¶
func (*SwInterfaceSetLldpReply) GetMessageType() api.MessageType
func (*SwInterfaceSetLldpReply) Reset ¶
func (m *SwInterfaceSetLldpReply) Reset()
Click to show internal directories.
Click to hide internal directories.