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 + func AllMessages() []api.Message + type LldpConfig struct + SystemName string + TxHold uint32 + TxInterval uint32 + func (*LldpConfig) GetCrcString() string + func (*LldpConfig) GetMessageName() string + func (*LldpConfig) GetMessageType() api.MessageType + func (m *LldpConfig) Marshal(b []byte) ([]byte, error) + func (m *LldpConfig) Reset() + func (m *LldpConfig) Size() (size int) + func (m *LldpConfig) Unmarshal(b []byte) error + type LldpConfigReply struct + Retval int32 + func (*LldpConfigReply) GetCrcString() string + func (*LldpConfigReply) GetMessageName() string + func (*LldpConfigReply) GetMessageType() api.MessageType + func (m *LldpConfigReply) Marshal(b []byte) ([]byte, error) + func (m *LldpConfigReply) Reset() + func (m *LldpConfigReply) Size() (size int) + func (m *LldpConfigReply) Unmarshal(b []byte) error + type RPCService interface + LldpConfig func(ctx context.Context, in *LldpConfig) (*LldpConfigReply, error) + SwInterfaceSetLldp func(ctx context.Context, in *SwInterfaceSetLldp) (*SwInterfaceSetLldpReply, error) + func NewServiceClient(conn api.Connection) RPCService + type SwInterfaceSetLldp struct + Enable bool + MgmtIP4 ip_types.IP4Address + MgmtIP6 ip_types.IP6Address + MgmtOid []byte + PortDesc string + SwIfIndex interface_types.InterfaceIndex + func (*SwInterfaceSetLldp) GetCrcString() string + func (*SwInterfaceSetLldp) GetMessageName() string + func (*SwInterfaceSetLldp) GetMessageType() api.MessageType + func (m *SwInterfaceSetLldp) Marshal(b []byte) ([]byte, error) + func (m *SwInterfaceSetLldp) Reset() + func (m *SwInterfaceSetLldp) Size() (size int) + func (m *SwInterfaceSetLldp) Unmarshal(b []byte) error + type SwInterfaceSetLldpReply struct + Retval int32 + func (*SwInterfaceSetLldpReply) GetCrcString() string + func (*SwInterfaceSetLldpReply) GetMessageName() string + func (*SwInterfaceSetLldpReply) GetMessageType() api.MessageType + func (m *SwInterfaceSetLldpReply) Marshal(b []byte) ([]byte, error) + func (m *SwInterfaceSetLldpReply) Reset() + func (m *SwInterfaceSetLldpReply) Size() (size int) + func (m *SwInterfaceSetLldpReply) Unmarshal(b []byte) error