Documentation ¶
Overview ¶
This module defines types related to the LLDP protocol model.
Index ¶
- type CHASSISID
- type CVLAN
- type ChassisIdType
- type DOCSISCABLEDEVICE
- type LLDPSYSTEMCAPABILITY
- type LLDPTLV
- type MACBRIDGE
- type MANAGEMENTADDRESS
- type OTHER
- type PORTDESCRIPTION
- type PORTID
- type PortIdType
- type REPEATER
- type ROUTER
- type STATIONONLY
- type SVLAN
- type SYSTEMCAPABILITIES
- type SYSTEMDESCRIPTION
- type SYSTEMNAME
- type TELEPHONE
- type TWOPORTMACRELAY
- type WLANACCESSPOINT
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChassisIdType ¶
type ChassisIdType string
ChassisIdType represents the chassis identifier
const ( // Chassis identifier based on the value of entPhysicalAlias // object defined in IETF RFC 2737 ChassisIdType_CHASSIS_COMPONENT ChassisIdType = "CHASSIS_COMPONENT" // Chassis identifier based on the value of ifAlias object // defined in IETF RFC 2863 ChassisIdType_INTERFACE_ALIAS ChassisIdType = "INTERFACE_ALIAS" // Chassis identifier based on the value of entPhysicalAlias // object defined in IETF RFC 2737 for a port or backplane // component ChassisIdType_PORT_COMPONENT ChassisIdType = "PORT_COMPONENT" // Chassis identifier based on the value of a unicast source // address (encoded in network byte order and IEEE 802.3 // canonical bit order), of a port on the containing chassis // as defined in IEEE Std 802-2001 ChassisIdType_MAC_ADDRESS ChassisIdType = "MAC_ADDRESS" // Chassis identifier based on a network address, // associated with a particular chassis. The encoded address // is composed of two fields. The first field is a single // octet, representing the IANA AddressFamilyNumbers value // for the specific address type, and the second field is the // network address value ChassisIdType_NETWORK_ADDRESS ChassisIdType = "NETWORK_ADDRESS" // Chassis identifier based on the name of the interface, // e.g., the value of ifName object defined in IETF RFC 2863 ChassisIdType_INTERFACE_NAME ChassisIdType = "INTERFACE_NAME" // Chassis identifier based on a locally defined value ChassisIdType_LOCAL ChassisIdType = "LOCAL" )
type DOCSISCABLEDEVICE ¶
type DOCSISCABLEDEVICE struct { }
func (DOCSISCABLEDEVICE) String ¶
func (id DOCSISCABLEDEVICE) String() string
type LLDPSYSTEMCAPABILITY ¶
type LLDPSYSTEMCAPABILITY struct { }
func (LLDPSYSTEMCAPABILITY) String ¶
func (id LLDPSYSTEMCAPABILITY) String() string
type MANAGEMENTADDRESS ¶
type MANAGEMENTADDRESS struct { }
func (MANAGEMENTADDRESS) String ¶
func (id MANAGEMENTADDRESS) String() string
type PORTDESCRIPTION ¶
type PORTDESCRIPTION struct { }
func (PORTDESCRIPTION) String ¶
func (id PORTDESCRIPTION) String() string
type PortIdType ¶
type PortIdType string
PortIdType represents the port identifier
const ( // Chassis identifier based on the value of ifAlias object // defined in IETF RFC 2863 PortIdType_INTERFACE_ALIAS PortIdType = "INTERFACE_ALIAS" // Port identifier based on the value of entPhysicalAlias // object defined in IETF RFC 2737 for a port component PortIdType_PORT_COMPONENT PortIdType = "PORT_COMPONENT" // Port identifier based on the value of a unicast source // address (encoded in network byte order and IEEE 802.3 // canonical bit order) associated with a port PortIdType_MAC_ADDRESS PortIdType = "MAC_ADDRESS" // Port identifier based on a network address, // associated with a particular port PortIdType_NETWORK_ADDRESS PortIdType = "NETWORK_ADDRESS" // Port identifier based on the name of the interface, // e.g., the value of ifName object defined in IETF RFC 2863 PortIdType_INTERFACE_NAME PortIdType = "INTERFACE_NAME" // Port identifer based on the circuit id in the DHCP // relay agent information option as defined in IETF // RFC 3046 PortIdType_AGENT_CIRCUIT_ID PortIdType = "AGENT_CIRCUIT_ID" // Port identifier based on a locally defined alphanumeric // string PortIdType_LOCAL PortIdType = "LOCAL" )
type STATIONONLY ¶
type STATIONONLY struct { }
func (STATIONONLY) String ¶
func (id STATIONONLY) String() string
type SYSTEMCAPABILITIES ¶
type SYSTEMCAPABILITIES struct { }
func (SYSTEMCAPABILITIES) String ¶
func (id SYSTEMCAPABILITIES) String() string
type SYSTEMDESCRIPTION ¶
type SYSTEMDESCRIPTION struct { }
func (SYSTEMDESCRIPTION) String ¶
func (id SYSTEMDESCRIPTION) String() string
type SYSTEMNAME ¶
type SYSTEMNAME struct { }
func (SYSTEMNAME) String ¶
func (id SYSTEMNAME) String() string
type TWOPORTMACRELAY ¶
type TWOPORTMACRELAY struct { }
func (TWOPORTMACRELAY) String ¶
func (id TWOPORTMACRELAY) String() string
type WLANACCESSPOINT ¶
type WLANACCESSPOINT struct { }
func (WLANACCESSPOINT) String ¶
func (id WLANACCESSPOINT) String() string
Click to show internal directories.
Click to hide internal directories.