ipv6_nd_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 ipv6-nd package configuration.

This module contains definitions for the following management objects:

ipv6-neighbor: IPv6 neighbor or neighbor discovery
  configuration

This YANG module augments the

Cisco-IOS-XR-ifmgr-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 Ipv6NdRouterPref

type Ipv6NdRouterPref string

Ipv6NdRouterPref represents Ipv6 nd router pref

const (
	// High preference
	Ipv6NdRouterPref_high Ipv6NdRouterPref = "high"

	// Medium preference
	Ipv6NdRouterPref_medium Ipv6NdRouterPref = "medium"

	// Low preference
	Ipv6NdRouterPref_low Ipv6NdRouterPref = "low"
)

type Ipv6Neighbor

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

	// Set lifetime for stale neighbor. The type is interface{} with range:
	// 1..43200. Units are second.
	ScavengeTimeout interface{}

	// IPv6 neighbors.
	Neighbors Ipv6Neighbor_Neighbors
}

Ipv6Neighbor IPv6 neighbor or neighbor discovery configuration

func (*Ipv6Neighbor) GetEntityData

func (ipv6Neighbor *Ipv6Neighbor) GetEntityData() *types.CommonEntityData

type Ipv6Neighbor_Neighbors

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

	// IPv6 neighbor configuration. The type is slice of
	// Ipv6Neighbor_Neighbors_Neighbor.
	Neighbor []*Ipv6Neighbor_Neighbors_Neighbor
}

Ipv6Neighbor_Neighbors IPv6 neighbors

func (*Ipv6Neighbor_Neighbors) GetEntityData

func (neighbors *Ipv6Neighbor_Neighbors) GetEntityData() *types.CommonEntityData

type Ipv6Neighbor_Neighbors_Neighbor

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

	// This attribute is a key. IPv6 address. The type is 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}]+)?.
	NeighborAddress interface{}

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

	// IPv6 address zone. The type is string. The default value is 0.
	Zone interface{}

	// 48-bit hardware address H.H.H. The type is string with pattern:
	// [0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}. This attribute is mandatory.
	MacAddress interface{}

	// Encapsulation type only if interface type is SRP. The type is
	// Ipv6srpEncapsulation.
	Encapsulation interface{}
}

Ipv6Neighbor_Neighbors_Neighbor IPv6 neighbor configuration

func (*Ipv6Neighbor_Neighbors_Neighbor) GetEntityData

func (neighbor *Ipv6Neighbor_Neighbors_Neighbor) GetEntityData() *types.CommonEntityData

type Ipv6ndMonth

type Ipv6ndMonth string

Ipv6ndMonth represents Ipv6nd month

const (
	// January
	Ipv6ndMonth_january Ipv6ndMonth = "january"

	// February
	Ipv6ndMonth_february Ipv6ndMonth = "february"

	// March
	Ipv6ndMonth_march Ipv6ndMonth = "march"

	// April
	Ipv6ndMonth_april Ipv6ndMonth = "april"

	// May
	Ipv6ndMonth_may Ipv6ndMonth = "may"

	// June
	Ipv6ndMonth_june Ipv6ndMonth = "june"

	// July
	Ipv6ndMonth_july Ipv6ndMonth = "july"

	// August
	Ipv6ndMonth_august Ipv6ndMonth = "august"

	// September
	Ipv6ndMonth_september Ipv6ndMonth = "september"

	// October
	Ipv6ndMonth_october Ipv6ndMonth = "october"

	// November
	Ipv6ndMonth_november Ipv6ndMonth = "november"

	// December
	Ipv6ndMonth_december Ipv6ndMonth = "december"
)

type Ipv6srpEncapsulation

type Ipv6srpEncapsulation string

Ipv6srpEncapsulation represents Ipv6srp encapsulation

const (
	// Encapsulation type SRP, prefer side A
	Ipv6srpEncapsulation_srpa Ipv6srpEncapsulation = "srpa"

	// Encapsulation type SRP, prefer side B
	Ipv6srpEncapsulation_srpb Ipv6srpEncapsulation = "srpb"
)

Jump to

Keyboard shortcuts

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