mpls_forwarding_oper

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: 6 Imported by: 0

Documentation

Overview

This module contains a collection of YANG definitions for mpls forwarding operational data. Copyright (c) 2018 by Cisco Systems, Inc. All rights reserved.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectionInfoType

type ConnectionInfoType string

ConnectionInfoType represents Describes connection information types

const (
	// Connection information string
	ConnectionInfoType_information_string ConnectionInfoType = "information-string"

	// IP prefix for the connection
	ConnectionInfoType_ip_prefix ConnectionInfoType = "ip-prefix"
)

type ForwardingNextHopType

type ForwardingNextHopType string

ForwardingNextHopType represents Describes supported next hop types

const (
	// Next hop is via a P2P link
	ForwardingNextHopType_point2point ForwardingNextHopType = "point2point"

	// Next hop IP address
	ForwardingNextHopType_next_hop_ip_address ForwardingNextHopType = "next-hop-ip-address"
)

type MplsForwardingOperData

type MplsForwardingOperData struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// Local label information. The type is slice of
	// MplsForwardingOperData_MplsLocalLabel.
	MplsLocalLabel []*MplsForwardingOperData_MplsLocalLabel

	// Statistics for forwarding paths of the local labels. The type is slice of
	// MplsForwardingOperData_MplsLocalLabelStatistics.
	MplsLocalLabelStatistics []*MplsForwardingOperData_MplsLocalLabelStatistics
}

MplsForwardingOperData MPLS forwarding operatinal data

func (*MplsForwardingOperData) GetEntityData

func (mplsForwardingOperData *MplsForwardingOperData) GetEntityData() *types.CommonEntityData

type MplsForwardingOperData_MplsLocalLabel

type MplsForwardingOperData_MplsLocalLabel struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// This attribute is a key. Value of local label. The type is interface{} with
	// range: 0..4294967295.
	LocalLabel interface{}

	// Connection information for the local label.
	ConnectionInformation MplsForwardingOperData_MplsLocalLabel_ConnectionInformation

	// ECMP paths for the local label. The type is slice of
	// MplsForwardingOperData_MplsLocalLabel_ForwardingPaths.
	ForwardingPaths []*MplsForwardingOperData_MplsLocalLabel_ForwardingPaths
}

MplsForwardingOperData_MplsLocalLabel Local label information

func (*MplsForwardingOperData_MplsLocalLabel) GetEntityData

func (mplsLocalLabel *MplsForwardingOperData_MplsLocalLabel) GetEntityData() *types.CommonEntityData

type MplsForwardingOperData_MplsLocalLabelStatistics

type MplsForwardingOperData_MplsLocalLabelStatistics struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// This attribute is a key. Value of local label. The type is interface{} with
	// range: 0..4294967295.
	LocalLabel interface{}

	// This attribute is a key. Path index among ECMP paths for the same local
	// label. The type is interface{} with range: 0..255.
	ForwardingPathIndex interface{}

	// Number of bytes switched to a particular ECMP path. The type is interface{}
	// with range: 0..18446744073709551615.
	LabelSwitchedBytes interface{}

	// Number of packets switched to a particular ECMP path. The type is
	// interface{} with range: 0..18446744073709551615.
	LabelSwitchedPackets interface{}
}

MplsForwardingOperData_MplsLocalLabelStatistics Statistics for forwarding paths of the local labels

func (*MplsForwardingOperData_MplsLocalLabelStatistics) GetEntityData

func (mplsLocalLabelStatistics *MplsForwardingOperData_MplsLocalLabelStatistics) GetEntityData() *types.CommonEntityData

type MplsForwardingOperData_MplsLocalLabel_ConnectionInformation

type MplsForwardingOperData_MplsLocalLabel_ConnectionInformation struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// Connection information string. The type is string.
	InfoStr interface{}

	// IP prefix for the connection. The type is one of the following types:
	// string with pattern:
	// (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])/(([0-9])|([1-2][0-9])|(3[0-2])),
	// or string with pattern:
	// ((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(/(([0-9])|([0-9]{2})|(1[0-1][0-9])|(12[0-8]))).
	IpPrefix interface{}
}

MplsForwardingOperData_MplsLocalLabel_ConnectionInformation Connection information for the local label

func (*MplsForwardingOperData_MplsLocalLabel_ConnectionInformation) GetEntityData

type MplsForwardingOperData_MplsLocalLabel_ForwardingPaths

type MplsForwardingOperData_MplsLocalLabel_ForwardingPaths struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// Outgoing interface information.
	OutgoingInterface MplsForwardingOperData_MplsLocalLabel_ForwardingPaths_OutgoingInterface

	// Outgoing label information.
	OutgoingLabel MplsForwardingOperData_MplsLocalLabel_ForwardingPaths_OutgoingLabel

	// Next hop information.
	NextHop MplsForwardingOperData_MplsLocalLabel_ForwardingPaths_NextHop
}

MplsForwardingOperData_MplsLocalLabel_ForwardingPaths ECMP paths for the local label

func (*MplsForwardingOperData_MplsLocalLabel_ForwardingPaths) GetEntityData

type MplsForwardingOperData_MplsLocalLabel_ForwardingPaths_NextHop

type MplsForwardingOperData_MplsLocalLabel_ForwardingPaths_NextHop struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// True if next hop is via a p2p link. The type is bool.
	P2p interface{}

	// Next hop ip address. The type is one of the following types: string with
	// pattern:
	// (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?,
	// or string with pattern:
	// ((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(%[\p{N}\p{L}]+)?.
	IpAddress interface{}
}

MplsForwardingOperData_MplsLocalLabel_ForwardingPaths_NextHop Next hop information

func (*MplsForwardingOperData_MplsLocalLabel_ForwardingPaths_NextHop) GetEntityData

type MplsForwardingOperData_MplsLocalLabel_ForwardingPaths_OutgoingInterface

type MplsForwardingOperData_MplsLocalLabel_ForwardingPaths_OutgoingInterface struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// Outgoing interface type. The type is OutgoingInterfaceType.
	InterfaceType interface{}

	// Outgoing interface value. The type is string.
	InterfaceValue interface{}
}

MplsForwardingOperData_MplsLocalLabel_ForwardingPaths_OutgoingInterface Outgoing interface information

func (*MplsForwardingOperData_MplsLocalLabel_ForwardingPaths_OutgoingInterface) GetEntityData

type MplsForwardingOperData_MplsLocalLabel_ForwardingPaths_OutgoingLabel

type MplsForwardingOperData_MplsLocalLabel_ForwardingPaths_OutgoingLabel struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// True if a label is not present. The type is bool.
	NoLabel interface{}

	// Pop label value. The type is interface{} with range: 0..4294967295.
	PopLabel interface{}

	// IPv4 explicit null label value. The type is interface{} with range:
	// 0..4294967295.
	Ipv4ExplicitNull interface{}

	// IPv6 explicit null label value. The type is interface{} with range:
	// 0..4294967295.
	Ipv6ExplicitNull interface{}

	// Regular label value. The type is interface{} with range: 0..4294967295.
	RegularLabel interface{}

	// True if a label with a value that is outside IETF acceptable label range is
	// present. The type is bool.
	InvalidLabel interface{}
}

MplsForwardingOperData_MplsLocalLabel_ForwardingPaths_OutgoingLabel Outgoing label information

func (*MplsForwardingOperData_MplsLocalLabel_ForwardingPaths_OutgoingLabel) GetEntityData

type OutgoingInterfaceDescriptionType

type OutgoingInterfaceDescriptionType string

OutgoingInterfaceDescriptionType represents Describes outgoing interface information types

const (
	// Forwarding path's outgoing interface type
	OutgoingInterfaceDescriptionType_interface_type OutgoingInterfaceDescriptionType = "interface-type"

	// Forwarding path's outgoing interface value
	OutgoingInterfaceDescriptionType_interface_value OutgoingInterfaceDescriptionType = "interface-value"
)

type OutgoingInterfaceType

type OutgoingInterfaceType string

OutgoingInterfaceType represents Describes supported outgoing interface types

const (
	// Outgoing interface is not found
	OutgoingInterfaceType_drop OutgoingInterfaceType = "drop"

	// Punt packets to cpu
	OutgoingInterfaceType_punt OutgoingInterfaceType = "punt"

	// Aggregate interface (e.g., used for VPN label allocation)
	OutgoingInterfaceType_aggregate OutgoingInterfaceType = "aggregate"

	// Exception
	OutgoingInterfaceType_exception OutgoingInterfaceType = "exception"

	// No outgoing interface
	OutgoingInterfaceType_none OutgoingInterfaceType = "none"
)

type OutgoingLabelType

type OutgoingLabelType string

OutgoingLabelType represents Describes supported outgoing label types

const (
	// A label is not present
	OutgoingLabelType_no_label OutgoingLabelType = "no-label"

	// Label is poped
	OutgoingLabelType_pop_label OutgoingLabelType = "pop-label"

	// IPv4 explicit NULL label is present
	OutgoingLabelType_ipv4_explicit_null OutgoingLabelType = "ipv4-explicit-null"

	// IPv6 explicit NULL label is present
	OutgoingLabelType_ipv6_explicit_null OutgoingLabelType = "ipv6-explicit-null"

	// A regular MPLS label is present
	OutgoingLabelType_regular_label OutgoingLabelType = "regular-label"

	// An invalid label is present
	OutgoingLabelType_invalid_label OutgoingLabelType = "invalid-label"
)

Jump to

Keyboard shortcuts

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