segment_routing

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

Configuration and operational state parameters relating to the segment routing. This module defines a number of elements which are instantiated in multiple places throughout the OpenConfig collection of models.

Particularly:

  • SRGB+LB dataplane instances - directly instantied by SR.
  • SRGB+LB dataplane reservations - instantiated within MPLS and future SR dataplanes.
  • SR SID advertisements - instantiated within the relevant IGP.
  • SR-specific counters - instantied within the relevant dataplane.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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 SrDataplaneType

type SrDataplaneType string

SrDataplaneType represents Routing block of SIDs.

const (
	// The entity uses MPLS labels as Segment Identifiers.
	SrDataplaneType_MPLS SrDataplaneType = "MPLS"

	// The entity uses IPv6 prefixes as Segment Identifiers.
	SrDataplaneType_IPV6 SrDataplaneType = "IPV6"
)

Jump to

Keyboard shortcuts

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