Documentation
¶
Overview ¶
General types for MPLS / TE data model
Index ¶
- type ADMINDOWN
- type ADMINUP
- type DOWN
- type EGRESS
- type EXPLICIT
- type EXPLICITLYDEFINED
- type EXTERNALLYQUERIED
- type IMPLICIT
- type INGRESS
- type LINKNODEPROTECTIONREQUESTED
- type LINKPROTECTIONREQUIRED
- type LOCALLYCOMPUTED
- type LSPMETRICABSOLUTE
- type LSPMETRICINHERITED
- type LSPMETRICRELATIVE
- type LSPMETRICTYPE
- type LSPOPERSTATUS
- type LSPROLE
- type MplsLabel
- type NULLLABELTYPE
- type P2MP
- type P2P
- type PATHCOMPUTATIONMETHOD
- type PATHSETUPLDP
- type PATHSETUPPROTOCOL
- type PATHSETUPRSVP
- type PATHSETUPSR
- type PROTECTIONTYPE
- type TRANSIT
- type TUNNELADMINSTATUS
- type TUNNELTYPE
- type TunnelType
- type UNPROTECTED
- type UP
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EXPLICITLYDEFINED ¶
type EXPLICITLYDEFINED struct { }
func (EXPLICITLYDEFINED) String ¶
func (id EXPLICITLYDEFINED) String() string
type EXTERNALLYQUERIED ¶
type EXTERNALLYQUERIED struct { }
func (EXTERNALLYQUERIED) String ¶
func (id EXTERNALLYQUERIED) String() string
type LINKNODEPROTECTIONREQUESTED ¶
type LINKNODEPROTECTIONREQUESTED struct { }
func (LINKNODEPROTECTIONREQUESTED) String ¶
func (id LINKNODEPROTECTIONREQUESTED) String() string
type LINKPROTECTIONREQUIRED ¶
type LINKPROTECTIONREQUIRED struct { }
func (LINKPROTECTIONREQUIRED) String ¶
func (id LINKPROTECTIONREQUIRED) String() string
type LOCALLYCOMPUTED ¶
type LOCALLYCOMPUTED struct { }
func (LOCALLYCOMPUTED) String ¶
func (id LOCALLYCOMPUTED) String() string
type LSPMETRICABSOLUTE ¶
type LSPMETRICABSOLUTE struct { }
func (LSPMETRICABSOLUTE) String ¶
func (id LSPMETRICABSOLUTE) String() string
type LSPMETRICINHERITED ¶
type LSPMETRICINHERITED struct { }
func (LSPMETRICINHERITED) String ¶
func (id LSPMETRICINHERITED) String() string
type LSPMETRICRELATIVE ¶
type LSPMETRICRELATIVE struct { }
func (LSPMETRICRELATIVE) String ¶
func (id LSPMETRICRELATIVE) String() string
type LSPMETRICTYPE ¶
type LSPMETRICTYPE struct { }
func (LSPMETRICTYPE) String ¶
func (id LSPMETRICTYPE) String() string
type LSPOPERSTATUS ¶
type LSPOPERSTATUS struct { }
func (LSPOPERSTATUS) String ¶
func (id LSPOPERSTATUS) String() string
type MplsLabel ¶
type MplsLabel string
MplsLabel represents type for MPLS label value encoding
const ( // valid at the bottom of the label stack, // indicates that stack must be popped and packet forwarded // based on IPv4 header MplsLabel_IPV4_EXPLICIT_NULL MplsLabel = "IPV4_EXPLICIT_NULL" // allowed anywhere in the label stack except // the bottom, local router delivers packet to the local CPU // when this label is at the top of the stack MplsLabel_ROUTER_ALERT MplsLabel = "ROUTER_ALERT" // valid at the bottom of the label stack, // indicates that stack must be popped and packet forwarded // based on IPv6 header MplsLabel_IPV6_EXPLICIT_NULL MplsLabel = "IPV6_EXPLICIT_NULL" // assigned by local LSR but not carried in // packets MplsLabel_IMPLICIT_NULL MplsLabel = "IMPLICIT_NULL" // Entropy label indicator, to allow an LSR // to distinguish between entropy label and applicaiton // labels RFC 6790 MplsLabel_ENTROPY_LABEL_INDICATOR MplsLabel = "ENTROPY_LABEL_INDICATOR" // This value is utilised to indicate that the packet that // is forwarded by the local system does not have an MPLS // header applied to it. Typically, this is used at the // egress of an LSP MplsLabel_NO_LABEL MplsLabel = "NO_LABEL" )
type NULLLABELTYPE ¶
type NULLLABELTYPE struct { }
func (NULLLABELTYPE) String ¶
func (id NULLLABELTYPE) String() string
type PATHCOMPUTATIONMETHOD ¶
type PATHCOMPUTATIONMETHOD struct { }
func (PATHCOMPUTATIONMETHOD) String ¶
func (id PATHCOMPUTATIONMETHOD) String() string
type PATHSETUPLDP ¶
type PATHSETUPLDP struct { }
func (PATHSETUPLDP) String ¶
func (id PATHSETUPLDP) String() string
type PATHSETUPPROTOCOL ¶
type PATHSETUPPROTOCOL struct { }
func (PATHSETUPPROTOCOL) String ¶
func (id PATHSETUPPROTOCOL) String() string
type PATHSETUPRSVP ¶
type PATHSETUPRSVP struct { }
func (PATHSETUPRSVP) String ¶
func (id PATHSETUPRSVP) String() string
type PATHSETUPSR ¶
type PATHSETUPSR struct { }
func (PATHSETUPSR) String ¶
func (id PATHSETUPSR) String() string
type PROTECTIONTYPE ¶
type PROTECTIONTYPE struct { }
func (PROTECTIONTYPE) String ¶
func (id PROTECTIONTYPE) String() string
type TUNNELADMINSTATUS ¶
type TUNNELADMINSTATUS struct { }
func (TUNNELADMINSTATUS) String ¶
func (id TUNNELADMINSTATUS) String() string
type TUNNELTYPE ¶
type TUNNELTYPE struct { }
func (TUNNELTYPE) String ¶
func (id TUNNELTYPE) String() string
type TunnelType ¶
type TunnelType string
TunnelType represents defines the tunnel type for the LSP
const ( // point-to-point label-switched-path TunnelType_P2P TunnelType = "P2P" // point-to-multipoint label-switched-path TunnelType_P2MP TunnelType = "P2MP" // multipoint-to-multipoint label-switched-path TunnelType_MP2MP TunnelType = "MP2MP" )
type UNPROTECTED ¶
type UNPROTECTED struct { }
func (UNPROTECTED) String ¶
func (id UNPROTECTED) String() string
Click to show internal directories.
Click to hide internal directories.