Versions in this module Expand all Collapse all v0 v0.0.1 May 10, 2024 Changes in this version + const APIFile + const APIVersion + const VersionCrc + var ChassisIDSubtype_name = map[uint32]string + var ChassisIDSubtype_value = map[string]uint32 + var PortIDSubtype_name = map[uint32]string + var PortIDSubtype_value = map[string]uint32 + func AllMessages() []api.Message + type ChassisIDSubtype uint32 + const CHASSIS_ID_SUBTYPE_CHASSIS_COMP + const CHASSIS_ID_SUBTYPE_INTF_ALIAS + const CHASSIS_ID_SUBTYPE_INTF_NAME + const CHASSIS_ID_SUBTYPE_LOCAL + const CHASSIS_ID_SUBTYPE_MAC_ADDR + const CHASSIS_ID_SUBTYPE_NET_ADDR + const CHASSIS_ID_SUBTYPE_PORT_COMP + const CHASSIS_ID_SUBTYPE_RESERVED + func (x ChassisIDSubtype) String() string + 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 LldpDetails struct + ChassisID []byte + ChassisIDLen uint8 + ChassisIDSubtype ChassisIDSubtype + LastHeard float64 + LastSent float64 + PortID []byte + PortIDLen uint8 + PortIDSubtype PortIDSubtype + SwIfIndex interface_types.InterfaceIndex + TTL uint16 + func (*LldpDetails) GetCrcString() string + func (*LldpDetails) GetMessageName() string + func (*LldpDetails) GetMessageType() api.MessageType + func (m *LldpDetails) Marshal(b []byte) ([]byte, error) + func (m *LldpDetails) Reset() + func (m *LldpDetails) Size() (size int) + func (m *LldpDetails) Unmarshal(b []byte) error + type LldpDump struct + Cursor uint32 + func (*LldpDump) GetCrcString() string + func (*LldpDump) GetMessageName() string + func (*LldpDump) GetMessageType() api.MessageType + func (m *LldpDump) Marshal(b []byte) ([]byte, error) + func (m *LldpDump) Reset() + func (m *LldpDump) Size() (size int) + func (m *LldpDump) Unmarshal(b []byte) error + type LldpDumpReply struct + Cursor uint32 + Retval int32 + func (*LldpDumpReply) GetCrcString() string + func (*LldpDumpReply) GetMessageName() string + func (*LldpDumpReply) GetMessageType() api.MessageType + func (m *LldpDumpReply) Marshal(b []byte) ([]byte, error) + func (m *LldpDumpReply) Reset() + func (m *LldpDumpReply) Size() (size int) + func (m *LldpDumpReply) Unmarshal(b []byte) error + type PortIDSubtype uint32 + const PORT_ID_SUBTYPE_AGENT_CIRCUIT_ID + const PORT_ID_SUBTYPE_INTF_ALIAS + const PORT_ID_SUBTYPE_INTF_NAME + const PORT_ID_SUBTYPE_LOCAL + const PORT_ID_SUBTYPE_MAC_ADDR + const PORT_ID_SUBTYPE_NET_ADDR + const PORT_ID_SUBTYPE_PORT_COMP + const PORT_ID_SUBTYPE_RESERVED + func (x PortIDSubtype) String() string + type RPCService interface + LldpConfig func(ctx context.Context, in *LldpConfig) (*LldpConfigReply, error) + LldpDump func(ctx context.Context, in *LldpDump) (RPCService_LldpDumpClient, error) + SwInterfaceSetLldp func(ctx context.Context, in *SwInterfaceSetLldp) (*SwInterfaceSetLldpReply, error) + func NewServiceClient(conn api.Connection) RPCService + type RPCService_LldpDumpClient interface + Recv func() (*LldpDetails, *LldpDumpReply, error) + 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