ipv4_arp_cfg

package
v0.0.0-...-fac1166 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

This module contains a collection of YANG definitions for Cisco IOS-XR ipv4-arp package configuration.

This module contains definitions for the following management objects:

arp: ARP configuraiton
iedge-cfg: iedge cfg
arpgmp: arpgmp
arp-redundancy: arp redundancy

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 Arp

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

	// Configure maximum number of safe ARP entries per line card. The type is
	// interface{} with range: 1..256000.
	MaxEntries interface{}

	// Configure inner cos values for arp packets. The type is interface{} with
	// range: 0..7.
	InnerCos interface{}

	// Configure outer cos values for arp packets. The type is interface{} with
	// range: 0..7.
	OuterCos interface{}
}

Arp ARP configuraiton

func (*Arp) GetEntityData

func (arp *Arp) GetEntityData() *types.CommonEntityData

type ArpEncap

type ArpEncap string

ArpEncap represents Arp encap

const (
	// Encapsulation type ARPA
	ArpEncap_arpa ArpEncap = "arpa"

	// Encapsulation type SRP
	ArpEncap_srp ArpEncap = "srp"

	// Encapsulation type SRPA
	ArpEncap_srpa ArpEncap = "srpa"

	// Encapsulation type SRPB
	ArpEncap_srpb ArpEncap = "srpb"
)

type ArpEntry

type ArpEntry string

ArpEntry represents Arp entry

const (
	// Static ARP entry type
	ArpEntry_static ArpEntry = "static"

	// Alias ARP entry type
	ArpEntry_alias ArpEntry = "alias"
)

type ArpRedundancy

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

	// Configure parameter for ARP Geo redundancy.
	Redundancy ArpRedundancy_Redundancy
}

ArpRedundancy arp redundancy

func (*ArpRedundancy) GetEntityData

func (arpRedundancy *ArpRedundancy) GetEntityData() *types.CommonEntityData

type ArpRedundancy_Redundancy

type ArpRedundancy_Redundancy struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YPresence  bool

	// Enable Configure parameter for ARP Geo redundancy. Deletion of this object
	// also causes deletion of all associated objects under ArpRedundancy. The
	// type is interface{}. This attribute is mandatory.
	Enable interface{}

	// Table of Group.
	Groups ArpRedundancy_Redundancy_Groups
}

ArpRedundancy_Redundancy Configure parameter for ARP Geo redundancy This type is a presence type.

func (*ArpRedundancy_Redundancy) GetEntityData

func (redundancy *ArpRedundancy_Redundancy) GetEntityData() *types.CommonEntityData

type ArpRedundancy_Redundancy_Groups

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

	// None. The type is slice of ArpRedundancy_Redundancy_Groups_Group.
	Group []*ArpRedundancy_Redundancy_Groups_Group
}

ArpRedundancy_Redundancy_Groups Table of Group

func (*ArpRedundancy_Redundancy_Groups) GetEntityData

func (groups *ArpRedundancy_Redundancy_Groups) GetEntityData() *types.CommonEntityData

type ArpRedundancy_Redundancy_Groups_Group

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

	// This attribute is a key. Group ID. The type is interface{} with range:
	// 1..32.
	GroupId interface{}

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

	// Table of Peer.
	Peers ArpRedundancy_Redundancy_Groups_Group_Peers

	// List of Interfaces for this Group.
	InterfaceList ArpRedundancy_Redundancy_Groups_Group_InterfaceList
}

ArpRedundancy_Redundancy_Groups_Group None

func (*ArpRedundancy_Redundancy_Groups_Group) GetEntityData

type ArpRedundancy_Redundancy_Groups_Group_InterfaceList

type ArpRedundancy_Redundancy_Groups_Group_InterfaceList struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YPresence  bool

	// Enable List of Interfaces for this Group. Deletion of this object also
	// causes deletion of all associated objects under InterfaceList. The type is
	// interface{}. This attribute is mandatory.
	Enable interface{}

	// Table of Interface.
	Interfaces ArpRedundancy_Redundancy_Groups_Group_InterfaceList_Interfaces
}

ArpRedundancy_Redundancy_Groups_Group_InterfaceList List of Interfaces for this Group This type is a presence type.

func (*ArpRedundancy_Redundancy_Groups_Group_InterfaceList) GetEntityData

type ArpRedundancy_Redundancy_Groups_Group_InterfaceList_Interfaces

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

	// Interface for this Group. The type is slice of
	// ArpRedundancy_Redundancy_Groups_Group_InterfaceList_Interfaces_Interface.
	Interface []*ArpRedundancy_Redundancy_Groups_Group_InterfaceList_Interfaces_Interface
}

ArpRedundancy_Redundancy_Groups_Group_InterfaceList_Interfaces Table of Interface

func (*ArpRedundancy_Redundancy_Groups_Group_InterfaceList_Interfaces) GetEntityData

type ArpRedundancy_Redundancy_Groups_Group_InterfaceList_Interfaces_Interface

type ArpRedundancy_Redundancy_Groups_Group_InterfaceList_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{}

	// Interface Id for the interface. The type is interface{} with range:
	// 1..65535. This attribute is mandatory.
	InterfaceId interface{}
}

ArpRedundancy_Redundancy_Groups_Group_InterfaceList_Interfaces_Interface Interface for this Group

func (*ArpRedundancy_Redundancy_Groups_Group_InterfaceList_Interfaces_Interface) GetEntityData

type ArpRedundancy_Redundancy_Groups_Group_Peers

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

	// None. The type is slice of
	// ArpRedundancy_Redundancy_Groups_Group_Peers_Peer.
	Peer []*ArpRedundancy_Redundancy_Groups_Group_Peers_Peer
}

ArpRedundancy_Redundancy_Groups_Group_Peers Table of Peer

func (*ArpRedundancy_Redundancy_Groups_Group_Peers) GetEntityData

type ArpRedundancy_Redundancy_Groups_Group_Peers_Peer

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

	// This attribute is a key. Neighbor IPv4 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}]+)?.
	PrefixString interface{}
}

ArpRedundancy_Redundancy_Groups_Group_Peers_Peer None

func (*ArpRedundancy_Redundancy_Groups_Group_Peers_Peer) GetEntityData

type Arpgmp

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

	// Per VRF configuration, for the default VRF use 'default'. The type is slice
	// of Arpgmp_Vrf.
	Vrf []*Arpgmp_Vrf
}

Arpgmp arpgmp

func (*Arpgmp) GetEntityData

func (arpgmp *Arpgmp) GetEntityData() *types.CommonEntityData

type Arpgmp_Vrf

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

	// This attribute is a key. VRF name. The type is string with pattern:
	// [\w\-\.:,_@#%$\+=\|;]+.
	VrfName interface{}

	// ARP static and alias entry configuration.
	Entries Arpgmp_Vrf_Entries
}

Arpgmp_Vrf Per VRF configuration, for the default VRF use 'default'

func (*Arpgmp_Vrf) GetEntityData

func (vrf *Arpgmp_Vrf) GetEntityData() *types.CommonEntityData

type Arpgmp_Vrf_Entries

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

	// ARP static and alias entry configuration item. The type is slice of
	// Arpgmp_Vrf_Entries_Entry.
	Entry []*Arpgmp_Vrf_Entries_Entry
}

Arpgmp_Vrf_Entries ARP static and alias entry configuration

func (*Arpgmp_Vrf_Entries) GetEntityData

func (entries *Arpgmp_Vrf_Entries) GetEntityData() *types.CommonEntityData

type Arpgmp_Vrf_Entries_Entry

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

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

	// MAC Address. The type is string with pattern:
	// [0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}.
	MacAddress interface{}

	// Encapsulation type. The type is ArpEncap.
	Encapsulation interface{}

	// Entry type. The type is ArpEntry.
	EntryType interface{}

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

Arpgmp_Vrf_Entries_Entry ARP static and alias entry configuration item

func (*Arpgmp_Vrf_Entries_Entry) GetEntityData

func (entry *Arpgmp_Vrf_Entries_Entry) GetEntityData() *types.CommonEntityData

type IedgeCfg

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

	// ARP Subscriber Enable Unconditional Proxy ARP. The type is interface{}.
	SubscriberUncondProxy interface{}

	// ARP Subscriber Scale Mode Configuration. The type is interface{}.
	SubscriberScaleMode interface{}
}

IedgeCfg iedge cfg

func (*IedgeCfg) GetEntityData

func (iedgeCfg *IedgeCfg) GetEntityData() *types.CommonEntityData

Jump to

Keyboard shortcuts

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