infra_serg_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 infra-serg package configuration.

This module contains definitions for the following management objects:

session-redundancy: Session 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 SergAddrFamily

type SergAddrFamily string

SergAddrFamily represents Serg addr family

const (
	// IPv4
	SergAddrFamily_ipv4 SergAddrFamily = "ipv4"

	// IPv6
	SergAddrFamily_ipv6 SergAddrFamily = "ipv6"
)

type SessionRedundancy

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

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

	// Enable Session Redundancy configuration. Deletion of this object also
	// causes deletion of all associated objects under SessionRedundancy. The type
	// is interface{}.
	Enable interface{}

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

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

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

	// Table of Group.
	Groups SessionRedundancy_Groups

	// None.
	RevertiveTimer SessionRedundancy_RevertiveTimer
}

SessionRedundancy Session Redundancy configuration

func (*SessionRedundancy) GetEntityData

func (sessionRedundancy *SessionRedundancy) GetEntityData() *types.CommonEntityData

type SessionRedundancyGroupRole

type SessionRedundancyGroupRole string

SessionRedundancyGroupRole represents Session redundancy group role

const (
	// Master Role
	SessionRedundancyGroupRole_master SessionRedundancyGroupRole = "master"

	// Slave Role
	SessionRedundancyGroupRole_slave SessionRedundancyGroupRole = "slave"
)

type SessionRedundancy_Groups

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

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

SessionRedundancy_Groups Table of Group

func (*SessionRedundancy_Groups) GetEntityData

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

type SessionRedundancy_Groups_Group

type SessionRedundancy_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..500.
	GroupId interface{}

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

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

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

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

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

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

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

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

	// None.
	Peer SessionRedundancy_Groups_Group_Peer

	// None.
	RevertiveTimer SessionRedundancy_Groups_Group_RevertiveTimer

	// List of Interfaces for this Group.
	InterfaceList SessionRedundancy_Groups_Group_InterfaceList

	// List of Pool-names for this Group.
	PoolList SessionRedundancy_Groups_Group_PoolList
}

SessionRedundancy_Groups_Group Redundancy Group configuration

func (*SessionRedundancy_Groups_Group) GetEntityData

func (group *SessionRedundancy_Groups_Group) GetEntityData() *types.CommonEntityData

type SessionRedundancy_Groups_Group_InterfaceList

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

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

	// Table of InterfaceRange.
	InterfaceRanges SessionRedundancy_Groups_Group_InterfaceList_InterfaceRanges

	// Table of Interface.
	Interfaces SessionRedundancy_Groups_Group_InterfaceList_Interfaces
}

SessionRedundancy_Groups_Group_InterfaceList List of Interfaces for this Group

func (*SessionRedundancy_Groups_Group_InterfaceList) GetEntityData

type SessionRedundancy_Groups_Group_InterfaceList_InterfaceRanges

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

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

SessionRedundancy_Groups_Group_InterfaceList_InterfaceRanges Table of InterfaceRange

func (*SessionRedundancy_Groups_Group_InterfaceList_InterfaceRanges) GetEntityData

type SessionRedundancy_Groups_Group_InterfaceList_InterfaceRanges_InterfaceRange

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

SessionRedundancy_Groups_Group_InterfaceList_InterfaceRanges_InterfaceRange Interface for this Group

func (*SessionRedundancy_Groups_Group_InterfaceList_InterfaceRanges_InterfaceRange) GetEntityData

type SessionRedundancy_Groups_Group_InterfaceList_Interfaces

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

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

SessionRedundancy_Groups_Group_InterfaceList_Interfaces Table of Interface

func (*SessionRedundancy_Groups_Group_InterfaceList_Interfaces) GetEntityData

type SessionRedundancy_Groups_Group_InterfaceList_Interfaces_Interface

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

SessionRedundancy_Groups_Group_InterfaceList_Interfaces_Interface Interface for this Group

func (*SessionRedundancy_Groups_Group_InterfaceList_Interfaces_Interface) GetEntityData

type SessionRedundancy_Groups_Group_Peer

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

	// IPv4 or IPv6 Address of SERG Peer.
	Ipaddress SessionRedundancy_Groups_Group_Peer_Ipaddress
}

SessionRedundancy_Groups_Group_Peer None

func (*SessionRedundancy_Groups_Group_Peer) GetEntityData

type SessionRedundancy_Groups_Group_Peer_Ipaddress

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

	// Type of IPv4/IPv6 address. The type is SergAddrFamily.
	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{}
}

SessionRedundancy_Groups_Group_Peer_Ipaddress IPv4 or IPv6 Address of SERG Peer

func (*SessionRedundancy_Groups_Group_Peer_Ipaddress) GetEntityData

type SessionRedundancy_Groups_Group_PoolList

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

	// Enable List of Pool-names for this Group. Deletion of this object also
	// causes deletion of all associated objects under PoolList. The type is
	// interface{}.
	Enable interface{}

	// Table of PoolName.
	PoolNames SessionRedundancy_Groups_Group_PoolList_PoolNames
}

SessionRedundancy_Groups_Group_PoolList List of Pool-names for this Group

func (*SessionRedundancy_Groups_Group_PoolList) GetEntityData

type SessionRedundancy_Groups_Group_PoolList_PoolNames

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

	// Address Pool Name. The type is slice of
	// SessionRedundancy_Groups_Group_PoolList_PoolNames_PoolName.
	PoolName []*SessionRedundancy_Groups_Group_PoolList_PoolNames_PoolName
}

SessionRedundancy_Groups_Group_PoolList_PoolNames Table of PoolName

func (*SessionRedundancy_Groups_Group_PoolList_PoolNames) GetEntityData

type SessionRedundancy_Groups_Group_PoolList_PoolNames_PoolName

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

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

SessionRedundancy_Groups_Group_PoolList_PoolNames_PoolName Address Pool Name

func (*SessionRedundancy_Groups_Group_PoolList_PoolNames_PoolName) GetEntityData

type SessionRedundancy_Groups_Group_RevertiveTimer

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

SessionRedundancy_Groups_Group_RevertiveTimer None

func (*SessionRedundancy_Groups_Group_RevertiveTimer) GetEntityData

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

type SessionRedundancy_RevertiveTimer

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

SessionRedundancy_RevertiveTimer None

func (*SessionRedundancy_RevertiveTimer) GetEntityData

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

Jump to

Keyboard shortcuts

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