mpls_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

General types for MPLS / TE data model

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ADMINDOWN

type ADMINDOWN struct {
}

func (ADMINDOWN) String

func (id ADMINDOWN) String() string

type ADMINUP

type ADMINUP struct {
}

func (ADMINUP) String

func (id ADMINUP) String() string

type DOWN

type DOWN struct {
}

func (DOWN) String

func (id DOWN) String() string

type EGRESS

type EGRESS struct {
}

func (EGRESS) String

func (id EGRESS) String() string

type EXPLICIT

type EXPLICIT struct {
}

func (EXPLICIT) String

func (id EXPLICIT) String() string

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 IMPLICIT

type IMPLICIT struct {
}

func (IMPLICIT) String

func (id IMPLICIT) String() string

type INGRESS

type INGRESS struct {
}

func (INGRESS) String

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

type LSPROLE struct {
}

func (LSPROLE) String

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

type P2MP struct {
}

func (P2MP) String

func (id P2MP) String() string

type P2P

type P2P struct {
}

func (P2P) String

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

type TRANSIT struct {
}

func (TRANSIT) String

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

type UP

type UP struct {
}

func (UP) String

func (id UP) String() string

Jump to

Keyboard shortcuts

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