lldp_types

package
v0.0.0-...-50def94 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

This module defines types related to the LLDP protocol model.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CHASSISID

type CHASSISID struct {
}

func (CHASSISID) String

func (id CHASSISID) String() string

type CVLAN

type CVLAN struct {
}

func (CVLAN) String

func (id CVLAN) String() string

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 LLDPTLV

type LLDPTLV struct {
}

func (LLDPTLV) String

func (id LLDPTLV) String() string

type MACBRIDGE

type MACBRIDGE struct {
}

func (MACBRIDGE) String

func (id MACBRIDGE) String() string

type MANAGEMENTADDRESS

type MANAGEMENTADDRESS struct {
}

func (MANAGEMENTADDRESS) String

func (id MANAGEMENTADDRESS) String() string

type OTHER

type OTHER struct {
}

func (OTHER) String

func (id OTHER) String() string

type PORTDESCRIPTION

type PORTDESCRIPTION struct {
}

func (PORTDESCRIPTION) String

func (id PORTDESCRIPTION) String() string

type PORTID

type PORTID struct {
}

func (PORTID) String

func (id PORTID) 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 REPEATER

type REPEATER struct {
}

func (REPEATER) String

func (id REPEATER) String() string

type ROUTER

type ROUTER struct {
}

func (ROUTER) String

func (id ROUTER) String() string

type STATIONONLY

type STATIONONLY struct {
}

func (STATIONONLY) String

func (id STATIONONLY) String() string

type SVLAN

type SVLAN struct {
}

func (SVLAN) String

func (id SVLAN) 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 TELEPHONE

type TELEPHONE struct {
}

func (TELEPHONE) String

func (id TELEPHONE) 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL