subscriber_srg_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 subscriber-srg package configuration.

This module contains definitions for the following management objects:

subscriber-redundancy: Subscriber Redundancy configuration

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 SrgAddrFamily

type SrgAddrFamily string

SrgAddrFamily represents Srg addr family

const (
	// IPv4
	SrgAddrFamily_ipv4 SrgAddrFamily = "ipv4"

	// IPv6
	SrgAddrFamily_ipv6 SrgAddrFamily = "ipv6"
)

type SubscriberRedundancy

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

	// Enable Subscriber Redundancy configuration. Deletion of this object also
	// causes deletion of all associated objects under SubscriberRedundancy. The
	// type is interface{}. This attribute is mandatory.
	Enable interface{}

	// Virtual MAC Prefix for Subscriber Redundancy. The type is string with
	// pattern: [0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}.
	VirtualMacPrefix interface{}

	// Set preferred role. The type is SubscriberRedundancyGroupRole.
	PreferredRole interface{}

	// Source Interface for Redundancy Peer Communication. The type is string with
	// pattern: [a-zA-Z0-9._/-]+.
	SourceInterface interface{}

	// Set slave. The type is SubscriberRedundancyGroupSlaveMode.
	SlaveMode interface{}

	// Set hold time (in Minutes). The type is interface{} with range: 1..65535.
	// Units are minute.
	HoldTimer interface{}

	// Set sync time (in Minutes). The type is interface{} with range: 1..255.
	// Units are minute.
	SyncTimer interface{}

	// Disable. The type is interface{}.
	RedundancyDisable interface{}

	// Table of Group.
	Groups SubscriberRedundancy_Groups

	// None.
	RevertiveTimer SubscriberRedundancy_RevertiveTimer
}

SubscriberRedundancy Subscriber Redundancy configuration This type is a presence type.

func (*SubscriberRedundancy) GetEntityData

func (subscriberRedundancy *SubscriberRedundancy) GetEntityData() *types.CommonEntityData

type SubscriberRedundancyGroupRole

type SubscriberRedundancyGroupRole string

SubscriberRedundancyGroupRole represents Subscriber redundancy group role

const (
	// Master Role
	SubscriberRedundancyGroupRole_master SubscriberRedundancyGroupRole = "master"

	// Slave Role
	SubscriberRedundancyGroupRole_slave SubscriberRedundancyGroupRole = "slave"
)

type SubscriberRedundancyGroupSlaveMode

type SubscriberRedundancyGroupSlaveMode string

SubscriberRedundancyGroupSlaveMode represents Subscriber redundancy group slave mode

const (
	// Warm Mode
	SubscriberRedundancyGroupSlaveMode_warm SubscriberRedundancyGroupSlaveMode = "warm"

	// Hot Mode
	SubscriberRedundancyGroupSlaveMode_hot SubscriberRedundancyGroupSlaveMode = "hot"
)

type SubscriberRedundancy_Groups

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

	// Redundancy Group configuration. The type is slice of
	// SubscriberRedundancy_Groups_Group.
	Group []*SubscriberRedundancy_Groups_Group
}

SubscriberRedundancy_Groups Table of Group

func (*SubscriberRedundancy_Groups) GetEntityData

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

type SubscriberRedundancy_Groups_Group

type SubscriberRedundancy_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..4000.
	GroupId interface{}

	// Disable Tracking Object for this Group. The type is interface{}.
	DisableTrackingObject interface{}

	// Core Tracking Object for this Group. The type is string.
	CoreTrackingObject interface{}

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

	// Set preferred role. The type is SubscriberRedundancyGroupRole.
	PreferredRole interface{}

	// Description for this Group. The type is string.
	Description interface{}

	// Enter an 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}]+)?.
	L2tpSourceIpAddress interface{}

	// Set Slave Mode. The type is SubscriberRedundancyGroupSlaveMode.
	SlaveMode interface{}

	// Set hold time (in Minutes). The type is interface{} with range: 1..65535.
	// Units are minute.
	HoldTimer interface{}

	// Access Tracking Object for this Group. The type is string.
	AccessTrackingObject interface{}

	// Enable fast switchover for this Group. The type is interface{}.
	EnableFastSwitchover interface{}

	// Disable. The type is interface{}.
	RedundancyDisable interface{}

	// List of Interfaces for this Group.
	InterfaceList SubscriberRedundancy_Groups_Group_InterfaceList

	// None.
	Peer SubscriberRedundancy_Groups_Group_Peer

	// None.
	RevertiveTimer SubscriberRedundancy_Groups_Group_RevertiveTimer

	// Virtual MAC Address for this Group.
	VirtualMac SubscriberRedundancy_Groups_Group_VirtualMac

	// None.
	StateControlRoute SubscriberRedundancy_Groups_Group_StateControlRoute
}

SubscriberRedundancy_Groups_Group Redundancy Group configuration

func (*SubscriberRedundancy_Groups_Group) GetEntityData

type SubscriberRedundancy_Groups_Group_InterfaceList

type SubscriberRedundancy_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 SubscriberRedundancy_Groups_Group_InterfaceList_Interfaces

	// Table of InterfaceRange.
	InterfaceRanges SubscriberRedundancy_Groups_Group_InterfaceList_InterfaceRanges
}

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

func (*SubscriberRedundancy_Groups_Group_InterfaceList) GetEntityData

type SubscriberRedundancy_Groups_Group_InterfaceList_InterfaceRanges

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

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

SubscriberRedundancy_Groups_Group_InterfaceList_InterfaceRanges Table of InterfaceRange

func (*SubscriberRedundancy_Groups_Group_InterfaceList_InterfaceRanges) GetEntityData

type SubscriberRedundancy_Groups_Group_InterfaceList_InterfaceRanges_InterfaceRange

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

	// This attribute is a key. Sub Interface Start Range. The type is interface{}
	// with range: 0..2147483647.
	SubInterfaceRangeStart interface{}

	// This attribute is a key. Sub Interface End Range. The type is interface{}
	// with range: 0..2147483647.
	SubInterfaceRangeEnd interface{}

	// Interface ID Start Range. The type is interface{} with range: 1..65535.
	InterfaceIdRangeStart interface{}

	// Interface ID End Range. The type is interface{} with range: 1..65535.
	InterfaceIdRangeEnd interface{}
}

SubscriberRedundancy_Groups_Group_InterfaceList_InterfaceRanges_InterfaceRange Interface for this Group

func (*SubscriberRedundancy_Groups_Group_InterfaceList_InterfaceRanges_InterfaceRange) GetEntityData

type SubscriberRedundancy_Groups_Group_InterfaceList_Interfaces

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

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

SubscriberRedundancy_Groups_Group_InterfaceList_Interfaces Table of Interface

func (*SubscriberRedundancy_Groups_Group_InterfaceList_Interfaces) GetEntityData

type SubscriberRedundancy_Groups_Group_InterfaceList_Interfaces_Interface

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

SubscriberRedundancy_Groups_Group_InterfaceList_Interfaces_Interface Interface for this Group

func (*SubscriberRedundancy_Groups_Group_InterfaceList_Interfaces_Interface) GetEntityData

type SubscriberRedundancy_Groups_Group_Peer

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

	// Set Route add disable. The type is interface{}.
	RouteAddDisable interface{}

	// IPv4 or IPv6 Address of SRG Peer.
	Ipaddress SubscriberRedundancy_Groups_Group_Peer_Ipaddress
}

SubscriberRedundancy_Groups_Group_Peer None

func (*SubscriberRedundancy_Groups_Group_Peer) GetEntityData

type SubscriberRedundancy_Groups_Group_Peer_Ipaddress

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

	// Type of IPv4/IPv6 address. The type is SrgAddrFamily.
	AddressFamily interface{}

	// IPv4/IPv6 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{}
}

SubscriberRedundancy_Groups_Group_Peer_Ipaddress IPv4 or IPv6 Address of SRG Peer

func (*SubscriberRedundancy_Groups_Group_Peer_Ipaddress) GetEntityData

type SubscriberRedundancy_Groups_Group_RevertiveTimer

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

	// Value of MAX Revertive Timer. The type is interface{} with range: 1..65535.
	MaxValue interface{}

	// Value of revertive time in minutes. The type is interface{} with range:
	// 1..65535. Units are minute.
	Value interface{}
}

SubscriberRedundancy_Groups_Group_RevertiveTimer None

func (*SubscriberRedundancy_Groups_Group_RevertiveTimer) GetEntityData

type SubscriberRedundancy_Groups_Group_StateControlRoute

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

	// Table of IPv4Route.
	Ipv4Routes SubscriberRedundancy_Groups_Group_StateControlRoute_Ipv4Routes

	// None.
	Ipv6Route SubscriberRedundancy_Groups_Group_StateControlRoute_Ipv6Route
}

SubscriberRedundancy_Groups_Group_StateControlRoute None

func (*SubscriberRedundancy_Groups_Group_StateControlRoute) GetEntityData

type SubscriberRedundancy_Groups_Group_StateControlRoute_Ipv4Routes

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

	// None. The type is slice of
	// SubscriberRedundancy_Groups_Group_StateControlRoute_Ipv4Routes_Ipv4Route.
	Ipv4Route []*SubscriberRedundancy_Groups_Group_StateControlRoute_Ipv4Routes_Ipv4Route
}

SubscriberRedundancy_Groups_Group_StateControlRoute_Ipv4Routes Table of IPv4Route

func (*SubscriberRedundancy_Groups_Group_StateControlRoute_Ipv4Routes) GetEntityData

type SubscriberRedundancy_Groups_Group_StateControlRoute_Ipv4Routes_Ipv4Route

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

	// This attribute is a key. Prefix of the IP Address. The type is interface{}
	// with range: 0..4294967295.
	PrefixLength interface{}

	// This attribute is a key. IPv4 address with prefix-length. 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{}

	// Tag value. The type is interface{} with range: 1..4294967295. This
	// attribute is mandatory.
	Tagvalue interface{}
}

SubscriberRedundancy_Groups_Group_StateControlRoute_Ipv4Routes_Ipv4Route None

func (*SubscriberRedundancy_Groups_Group_StateControlRoute_Ipv4Routes_Ipv4Route) GetEntityData

type SubscriberRedundancy_Groups_Group_StateControlRoute_Ipv6Route

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

	// Table of IPv6NARoute.
	Ipv6naRoutes SubscriberRedundancy_Groups_Group_StateControlRoute_Ipv6Route_Ipv6naRoutes

	// Table of IPv6PDRoute.
	Ipv6pdRoutes SubscriberRedundancy_Groups_Group_StateControlRoute_Ipv6Route_Ipv6pdRoutes
}

SubscriberRedundancy_Groups_Group_StateControlRoute_Ipv6Route None

func (*SubscriberRedundancy_Groups_Group_StateControlRoute_Ipv6Route) GetEntityData

type SubscriberRedundancy_Groups_Group_StateControlRoute_Ipv6Route_Ipv6naRoutes

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

	// None. The type is slice of
	// SubscriberRedundancy_Groups_Group_StateControlRoute_Ipv6Route_Ipv6naRoutes_Ipv6naRoute.
	Ipv6naRoute []*SubscriberRedundancy_Groups_Group_StateControlRoute_Ipv6Route_Ipv6naRoutes_Ipv6naRoute
}

SubscriberRedundancy_Groups_Group_StateControlRoute_Ipv6Route_Ipv6naRoutes Table of IPv6NARoute

func (*SubscriberRedundancy_Groups_Group_StateControlRoute_Ipv6Route_Ipv6naRoutes) GetEntityData

type SubscriberRedundancy_Groups_Group_StateControlRoute_Ipv6Route_Ipv6naRoutes_Ipv6naRoute

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

	// This attribute is a key. Prefix of the IP Address. The type is interface{}
	// with range: 0..4294967295.
	PrefixLength interface{}

	// This attribute is a key. IPv6 address with prefix-length. 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{}

	// Tag value. The type is interface{} with range: 1..4294967295. This
	// attribute is mandatory.
	Tagvalue interface{}
}

SubscriberRedundancy_Groups_Group_StateControlRoute_Ipv6Route_Ipv6naRoutes_Ipv6naRoute None

func (*SubscriberRedundancy_Groups_Group_StateControlRoute_Ipv6Route_Ipv6naRoutes_Ipv6naRoute) GetEntityData

type SubscriberRedundancy_Groups_Group_StateControlRoute_Ipv6Route_Ipv6pdRoutes

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

	// None. The type is slice of
	// SubscriberRedundancy_Groups_Group_StateControlRoute_Ipv6Route_Ipv6pdRoutes_Ipv6pdRoute.
	Ipv6pdRoute []*SubscriberRedundancy_Groups_Group_StateControlRoute_Ipv6Route_Ipv6pdRoutes_Ipv6pdRoute
}

SubscriberRedundancy_Groups_Group_StateControlRoute_Ipv6Route_Ipv6pdRoutes Table of IPv6PDRoute

func (*SubscriberRedundancy_Groups_Group_StateControlRoute_Ipv6Route_Ipv6pdRoutes) GetEntityData

type SubscriberRedundancy_Groups_Group_StateControlRoute_Ipv6Route_Ipv6pdRoutes_Ipv6pdRoute

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

	// This attribute is a key. Prefix of the IP Address. The type is interface{}
	// with range: 0..4294967295.
	PrefixLength interface{}

	// This attribute is a key. IPv6 address with prefix-length. 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{}

	// Tag value. The type is interface{} with range: 1..4294967295. This
	// attribute is mandatory.
	Tagvalue interface{}
}

SubscriberRedundancy_Groups_Group_StateControlRoute_Ipv6Route_Ipv6pdRoutes_Ipv6pdRoute None

func (*SubscriberRedundancy_Groups_Group_StateControlRoute_Ipv6Route_Ipv6pdRoutes_Ipv6pdRoute) GetEntityData

type SubscriberRedundancy_Groups_Group_VirtualMac

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

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

	// Disable Virtual MAC Address for this Group. The type is interface{}.
	Disable interface{}
}

SubscriberRedundancy_Groups_Group_VirtualMac Virtual MAC Address for this Group

func (*SubscriberRedundancy_Groups_Group_VirtualMac) GetEntityData

type SubscriberRedundancy_RevertiveTimer

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

	// Value of MAX Revertive Timer. The type is interface{} with range: 1..65535.
	MaxValue interface{}

	// Value of revertive time in minutes. The type is interface{} with range:
	// 1..65535. Units are minute.
	Value interface{}
}

SubscriberRedundancy_RevertiveTimer None

func (*SubscriberRedundancy_RevertiveTimer) GetEntityData

func (revertiveTimer *SubscriberRedundancy_RevertiveTimer) GetEntityData() *types.CommonEntityData

Jump to

Keyboard shortcuts

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