openconfig-mpls-types

openconfig-version: 3.4.0

Description

General types for MPLS / TE data model

Imports

openconfig-extensions

Defined types

mpls-label

description:
type for MPLS label value encoding

type: union

    type: uint32

    • range: 16..1048575

    type: enumeration

    • IPV4_EXPLICIT_NULL
      valid at the bottom of the label stack, indicates that stack must be popped and packet forwarded based on IPv4 header
    • ROUTER_ALERT
      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
    • IPV6_EXPLICIT_NULL
      valid at the bottom of the label stack, indicates that stack must be popped and packet forwarded based on IPv6 header
    • IMPLICIT_NULL
      assigned by local LSR but not carried in packets
    • ENTROPY_LABEL_INDICATOR
      Entropy label indicator, to allow an LSR to distinguish between entropy label and applicaiton labels RFC 6790
    • NO_LABEL
      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

tunnel-type

description:
defines the tunnel type for the LSP

type: enumeration

  • P2P
    point-to-point label-switched-path
  • P2MP
    point-to-multipoint label-switched-path
  • MP2MP
    multipoint-to-multipoint label-switched-path

bandwidth-kbps

description:
Bandwidth values expressed in kilobits per second

type: uint64

units: Kbps

bandwidth-mbps

description:
Bandwidth values expressed in megabits per second

type: uint64

units: Mbps

bandwidth-gbps

description:
Bandwidth values expressed in gigabits per second

type: uint64

units: Gbps

mpls-tc

description:
Values of the MPLS Traffic Class (formerly known as Experimental, EXP) bits

type: uint8

  • range: 0..7

Identities

base: PATH_COMPUTATION_METHOD

description:
base identity for supported path computation mechanisms

LOCALLY_COMPUTED

description:
indicates a constrained-path LSP in which the path is computed by the local LER

base identity: PATH_COMPUTATION_METHOD

EXTERNALLY_QUERIED

description:
Constrained-path LSP in which the path is obtained by querying an external source, such as a PCE server. In the case that an LSP is defined to be externally queried, it may also have associated explicit definitions (which are provided to the external source to aid computation); and the path that is returned by the external source is not required to provide a wholly resolved path back to the originating system - that is to say, some local computation may also be required

base identity: PATH_COMPUTATION_METHOD

EXPLICITLY_DEFINED

description:
constrained-path LSP in which the path is explicitly specified as a collection of strict or/and loose hops

base identity: PATH_COMPUTATION_METHOD

base: PATH_SETUP_PROTOCOL

description:
base identity for supported MPLS signaling protocols

PATH_SETUP_RSVP

description:
RSVP-TE signaling protocol

base identity: PATH_SETUP_PROTOCOL

PATH_SETUP_SR

description:
Segment routing

base identity: PATH_SETUP_PROTOCOL

PATH_SETUP_LDP

description:
LDP - RFC 5036

base identity: PATH_SETUP_PROTOCOL

base: PROTECTION_TYPE

description:
base identity for protection type

UNPROTECTED

description:
no protection is desired

base identity: PROTECTION_TYPE

description:
link protection is desired

base identity: PROTECTION_TYPE

description:
node and link protection are both desired

base identity: PROTECTION_TYPE

base: LSP_ROLE

description:
Base identity for describing the role of label switched path at the current node

INGRESS

description:
Label switched path is an ingress (headend) LSP

base identity: LSP_ROLE

EGRESS

description:
Label switched path is an egress (tailend) LSP

base identity: LSP_ROLE

TRANSIT

description:
Label switched path is a transit LSP

base identity: LSP_ROLE

base: TUNNEL_TYPE

description:
Base identity from which specific tunnel types are derived.

P2P

description:
TE point-to-point tunnel type.

base identity: TUNNEL_TYPE

P2MP

description:
TE point-to-multipoint tunnel type.

base identity: TUNNEL_TYPE

base: LSP_OPER_STATUS

description:
Base identity for LSP operational status

DOWN

description:
LSP is operationally down or out of service

base identity: LSP_OPER_STATUS

UP

description:
LSP is operationally active and available for traffic.

base identity: LSP_OPER_STATUS

base: TUNNEL_ADMIN_STATUS

description:
Base identity for tunnel administrative status

ADMIN_DOWN

description:
LSP is administratively down

base identity: TUNNEL_ADMIN_STATUS

ADMIN_UP

description:
LSP is administratively up

base identity: TUNNEL_ADMIN_STATUS

base: NULL_LABEL_TYPE

description:
Base identity from which specific null-label types are derived.

EXPLICIT

description:
Explicit null label is used.

base identity: NULL_LABEL_TYPE

IMPLICIT

description:
Implicit null label is used.

base identity: NULL_LABEL_TYPE

base: LSP_METRIC_TYPE

description:
Base identity for types of LSP metric specification

LSP_METRIC_RELATIVE

description:
The metric specified for the LSPs to which this identity refers is specified as a relative value to the IGP metric cost to the LSP's tail-end.

base identity: LSP_METRIC_TYPE

LSP_METRIC_ABSOLUTE

description:
The metric specified for the LSPs to which this identity refers is specified as an absolute value

base identity: LSP_METRIC_TYPE

LSP_METRIC_INHERITED

description:
The metric for for the LSPs to which this identity refers is not specified explicitly - but rather inherited from the IGP cost directly

base identity: LSP_METRIC_TYPE

base: PSEUDOWIRE_ENCAPSULATION

description:
Sets the PDU type of the PSEUDOWIRE Example in RFC4448. This value should be enumerated from the IANA Pseudowire types registry

PWE_ETHERNET_TAGGED_MODE

description:
Ethernet Tagged Mode RFC4448

base identity: PSEUDOWIRE_ENCAPSULATION

PWE_ETHERNET_RAW_MODE

description:
Ethernet Raw Mode RFC4448

base identity: PSEUDOWIRE_ENCAPSULATION

base: PATH_METRIC_TYPE

description:
Base identity for path metric type.

TE_METRIC

description:
TE path metric.

base identity: PATH_METRIC_TYPE

IGP_METRIC

description:
IGP path metric.

base identity: PATH_METRIC_TYPE

HOP_COUNT

description:
Hop count path metric.

base identity: PATH_METRIC_TYPE

PATH_DELAY

description:
Unidirectional average link delay. It represents the sum of the Link Delay metric of all links along a P2P path.

base identity: PATH_METRIC_TYPE

base: RSVP_AUTH_TYPE

description:
Base identity for RSVP message authentication types

RSVP_AUTH_MD5

description:
HMAC-MD5 message authentication

base identity: RSVP_AUTH_TYPE

Data elements

openconfig-mpls

openconfig-version: 3.4.0

Description

This module provides data definitions for configuration of Multiprotocol Label Switching (MPLS) and associated protocols for signaling and traffic engineering.

RFC 3031: Multiprotocol Label Switching Architecture

The MPLS / TE data model consists of several modules and submodules as shown below. The top-level MPLS module describes the overall framework. Three types of LSPs are supported:

i) traffic-engineered (or constrained-path)

ii) IGP-congruent (LSPs that follow the IGP path)

iii) static LSPs which are not signaled

The structure of each of these LSP configurations is defined in corresponding submodules. Companion modules define the relevant configuration and operational data specific to key signaling protocols used in operational practice.

+-------+ +---------------->| MPLS |<--------------+ | +-------+ | | ^ | | | | +----+-----+ +--------+-------+ +-----+-----+ | TE LSPs | | IGP-based LSPs | |static LSPs| | | | | | | +----------+ +----------------+ +-----------+ ^ ^ ^ ^ | +----------------+ | +--------+ | | | | | +------+ +-+---+-+ +--+--+ +---+ RSVP | |SEGMENT| | LDP | +------+ |ROUTING| +-----+ +-------+

Imports

openconfig-mpls-types
openconfig-mpls-rsvp
openconfig-mpls-ldp
openconfig-types
openconfig-interfaces
openconfig-extensions
openconfig-segment-routing

Defined types

te-bandwidth-type

description:
enumerated type for specifying whether bandwidth is explicitly specified or automatically computed

type: enumeration

  • SPECIFIED
    Bandwidth is explicitly specified
  • AUTO
    Bandwidth is automatically computed

mpls-srlg-flooding-type

description:
Enumerated bype for specifying how the SRLG is flooded

type: enumeration

  • FLOODED_SRLG
    SRLG is flooded in the IGP
  • STATIC_SRLG
    SRLG is not flooded, the members are statically configured

mpls-hop-type

description:
enumerated type for specifying loose or strict paths

type: enumeration

  • LOOSE
    loose hop in an explicit path
  • STRICT
    strict hop in an explicit path

te-metric-type

description:
union type for setting the LSP TE metric to a static value, or to track the IGP metric

type: union

    type: enumeration

    • IGP
      set the LSP metric to track the underlying IGP metric

    type: uint32

cspf-tie-breaking

description:
type to indicate the CSPF selection policy when multiple equal cost paths are available

type: enumeration

  • RANDOM
    CSPF calculation selects a random path among multiple equal-cost paths to the destination
  • LEAST_FILL
    CSPF calculation selects the path with greatest available bandwidth
  • MOST_FILL
    CSPF calculation selects the path with the least available bandwidth

default: RANDOM

Data elements