ip_bfd_cfg

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 Cisco IOS-XR ip-bfd package configuration.

This module contains definitions for the following management objects:

bfd: BFD Configuration

This YANG module augments the

Cisco-IOS-XR-snmp-agent-cfg

module with configuration data.

Copyright (c) 2013-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 Bfd

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

	// Echo configuration. The type is interface{}.
	GlobalEchoUsage interface{}

	// To disable IPv6 checksum configuration. The type is interface{}.
	Ipv6ChecksumDisable interface{}

	// Configure echo min-interval for bundle interface. The type is interface{}
	// with range: 15..2000. Units are millisecond. The default value is 15.
	GlobalEchoMinInterval interface{}

	// Multihop TTL Drop Threshold. The type is interface{} with range: 0..254.
	TtlDropThreshold interface{}

	// Single hop trap configuration. The type is interface{}.
	SingleHopTrap interface{}

	// IPv4 echo source address configuration. 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}]+)?.
	GlobalIpv4EchoSource interface{}

	// Flapping class container.
	FlapDamp Bfd_FlapDamp

	// BFD echo latency feature class container.
	EchoLatency Bfd_EchoLatency

	// BFD echo startup feature class container.
	EchoStartup Bfd_EchoStartup

	// Interface configuration.
	Interfaces Bfd_Interfaces

	// Multipath Include configuration.
	MultiPathIncludes Bfd_MultiPathIncludes

	// Configuration related to BFD over Bundle.
	Bundle Bfd_Bundle
}

Bfd BFD Configuration

func (*Bfd) GetEntityData

func (bfd *Bfd) GetEntityData() *types.CommonEntityData

type BfdBundleCoexistenceBobBlb

type BfdBundleCoexistenceBobBlb string

BfdBundleCoexistenceBobBlb represents Bfd bundle coexistence bob blb

const (
	// Inherited coexistence mode
	BfdBundleCoexistenceBobBlb_inherited BfdBundleCoexistenceBobBlb = "inherited"

	// Logical coexistence mode
	BfdBundleCoexistenceBobBlb_logical BfdBundleCoexistenceBobBlb = "logical"
)

type BfdEchoStartupValidate

type BfdEchoStartupValidate string

BfdEchoStartupValidate represents Bfd echo startup validate

const (
	// Disable echo startup validation
	BfdEchoStartupValidate_off BfdEchoStartupValidate = "off"

	// Enable echo startup validation
	BfdEchoStartupValidate_on BfdEchoStartupValidate = "on"

	// Force echo startup validation
	BfdEchoStartupValidate_force BfdEchoStartupValidate = "force"
)

type BfdIfEchoUsage

type BfdIfEchoUsage string

BfdIfEchoUsage represents Bfd if echo usage

const (
	// Enable echo
	BfdIfEchoUsage_enable BfdIfEchoUsage = "enable"

	// Disable echo
	BfdIfEchoUsage_disable BfdIfEchoUsage = "disable"
)

type BfdIfIpv6ChecksumUsage

type BfdIfIpv6ChecksumUsage string

BfdIfIpv6ChecksumUsage represents Bfd if ipv6 checksum usage

const (
	// Disable IPv6 checksum
	BfdIfIpv6ChecksumUsage_disable BfdIfIpv6ChecksumUsage = "disable"

	// Enable IPv6 checksum
	BfdIfIpv6ChecksumUsage_enable BfdIfIpv6ChecksumUsage = "enable"
)

type Bfd_Bundle

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

	// Coexistence mode for BFD on bundle feature.
	Coexistence Bfd_Bundle_Coexistence
}

Bfd_Bundle Configuration related to BFD over Bundle

func (*Bfd_Bundle) GetEntityData

func (bundle *Bfd_Bundle) GetEntityData() *types.CommonEntityData

type Bfd_Bundle_Coexistence

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

	// Coexistence mode for BoB and BLB feature. The type is
	// BfdBundleCoexistenceBobBlb.
	BobBlb interface{}
}

Bfd_Bundle_Coexistence Coexistence mode for BFD on bundle feature

func (*Bfd_Bundle_Coexistence) GetEntityData

func (coexistence *Bfd_Bundle_Coexistence) GetEntityData() *types.CommonEntityData

type Bfd_EchoLatency

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

	// BFD echo latency detection.
	Detect Bfd_EchoLatency_Detect
}

Bfd_EchoLatency BFD echo latency feature class container

func (*Bfd_EchoLatency) GetEntityData

func (echoLatency *Bfd_EchoLatency) GetEntityData() *types.CommonEntityData

type Bfd_EchoLatency_Detect

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

	// If set, echo latency detect is enabled. The type is bool.
	LatencyDetectEnabled interface{}

	// Echo latency detect percentage. The type is interface{} with range:
	// 100..250. Units are percentage.
	LatencyDetectPercentage interface{}

	// Echo latency detect count. The type is interface{} with range: 1..10.
	LatencyDetectCount interface{}
}

Bfd_EchoLatency_Detect BFD echo latency detection

func (*Bfd_EchoLatency_Detect) GetEntityData

func (detect *Bfd_EchoLatency_Detect) GetEntityData() *types.CommonEntityData

type Bfd_EchoStartup

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

	// BFD echo validation prior to session bringup. The type is
	// BfdEchoStartupValidate. The default value is off.
	Validate interface{}
}

Bfd_EchoStartup BFD echo startup feature class container

func (*Bfd_EchoStartup) GetEntityData

func (echoStartup *Bfd_EchoStartup) GetEntityData() *types.CommonEntityData

type Bfd_FlapDamp

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

	// Stability threshold to enable dampening. The type is interface{} with
	// range: 60000..3600000. Units are millisecond. The default value is 120000.
	Threshold interface{}

	// Initial delay before bringing up session. The type is interface{} with
	// range: 1..3600000. Units are millisecond. The default value is 2000.
	InitialDelay interface{}

	// Maximum delay before bringing up session. The type is interface{} with
	// range: 1..3600000. Units are millisecond. The default value is 120000.
	MaximumDelay interface{}

	// Dampening Enable/Disable. The type is interface{}.
	DampenDisable interface{}

	// Secondary delay before bringing up session. The type is interface{} with
	// range: 1..3600000. Units are millisecond. The default value is 5000.
	SecondaryDelay interface{}

	// Bundle per member feature class container.
	BundleMember Bfd_FlapDamp_BundleMember

	// Extensions to the BFD dampening feature.
	Extensions Bfd_FlapDamp_Extensions
}

Bfd_FlapDamp Flapping class container

func (*Bfd_FlapDamp) GetEntityData

func (flapDamp *Bfd_FlapDamp) GetEntityData() *types.CommonEntityData

type Bfd_FlapDamp_BundleMember

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

	// Initial delay before bringing up session. The type is interface{} with
	// range: 1..518400000. Units are millisecond. The default value is 16000.
	InitialDelay interface{}

	// Maximum delay before bringing up session. The type is interface{} with
	// range: 1..518400000. Units are millisecond. The default value is 600000.
	MaximumDelay interface{}

	// Secondary delay before bringing up session. The type is interface{} with
	// range: 1..518400000. Units are millisecond. The default value is 20000.
	SecondaryDelay interface{}

	// Apply immediate dampening and only when failure is L3 specific. The type is
	// interface{}.
	L3OnlyMode interface{}
}

Bfd_FlapDamp_BundleMember Bundle per member feature class container

func (*Bfd_FlapDamp_BundleMember) GetEntityData

func (bundleMember *Bfd_FlapDamp_BundleMember) GetEntityData() *types.CommonEntityData

type Bfd_FlapDamp_Extensions

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

	// If set, DOWN state monitoring mode is enabled. The type is interface{}.
	DownMonitor interface{}
}

Bfd_FlapDamp_Extensions Extensions to the BFD dampening feature

func (*Bfd_FlapDamp_Extensions) GetEntityData

func (extensions *Bfd_FlapDamp_Extensions) GetEntityData() *types.CommonEntityData

type Bfd_Interfaces

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

	// Single interface configuration. The type is slice of
	// Bfd_Interfaces_Interface.
	Interface []*Bfd_Interfaces_Interface
}

Bfd_Interfaces Interface configuration

func (*Bfd_Interfaces) GetEntityData

func (interfaces *Bfd_Interfaces) GetEntityData() *types.CommonEntityData

type Bfd_Interfaces_Interface

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

	// This attribute is a key. Interface Name. The type is string with pattern:
	// [a-zA-Z0-9._/-]+.
	InterfaceName interface{}

	// Echo usage for this interface. The type is BfdIfEchoUsage. The default
	// value is enable.
	InterfaceEchoUsage interface{}

	// IPv6 checksum usage for this interface - Interface config will always take
	// precedence over global config. The type is BfdIfIpv6ChecksumUsage. The
	// default value is enable.
	Ipv6Checksum interface{}

	// Interface IPv4 echo source address configuration. 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}]+)?.
	InterfaceIpv4EchoSource interface{}
}

Bfd_Interfaces_Interface Single interface configuration

func (*Bfd_Interfaces_Interface) GetEntityData

func (self *Bfd_Interfaces_Interface) GetEntityData() *types.CommonEntityData

type Bfd_MultiPathIncludes

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

	// Location configuration. The type is slice of
	// Bfd_MultiPathIncludes_MultiPathInclude.
	MultiPathInclude []*Bfd_MultiPathIncludes_MultiPathInclude
}

Bfd_MultiPathIncludes Multipath Include configuration

func (*Bfd_MultiPathIncludes) GetEntityData

func (multiPathIncludes *Bfd_MultiPathIncludes) GetEntityData() *types.CommonEntityData

type Bfd_MultiPathIncludes_MultiPathInclude

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

	// This attribute is a key. Location. The type is string with pattern:
	// ([a-zA-Z0-9_]*\d+/){1,2}([a-zA-Z0-9_]*\d+).
	Location interface{}
}

Bfd_MultiPathIncludes_MultiPathInclude Location configuration

func (*Bfd_MultiPathIncludes_MultiPathInclude) GetEntityData

func (multiPathInclude *Bfd_MultiPathIncludes_MultiPathInclude) GetEntityData() *types.CommonEntityData

Jump to

Keyboard shortcuts

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