tunnel_vpdn_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 tunnel-vpdn package configuration.

This module contains definitions for the following management objects:

vpdn: VPDN 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 DfBit

type DfBit string

DfBit represents Df bit

const (
	// Clear df bit
	DfBit_clear DfBit = "clear"

	// Reflect df bit from inner ip header
	DfBit_reflect DfBit = "reflect"

	// Set df bit
	DfBit_set DfBit = "set"
)

type Option

type Option string

Option represents Option

const (
	// Log VPDN events locally
	Option_local Option = "local"

	// Log VPDN user events
	Option_user Option = "user"

	// Log VPDN dead cache
	Option_dead_cache Option = "dead-cache"

	// Log VPDN tunnel drops
	Option_tunnel_drop Option = "tunnel-drop"
)

type Vpdn

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

	// Maximum simultaneous VPDN sessions. The type is interface{} with range:
	// 1..131072.
	SessionLimit interface{}

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

	// New session no longer allowed. The type is interface{}.
	SoftShut interface{}

	// VPDN history logging.
	History Vpdn_History

	// Enable VPDN redundancy.
	Redundancy Vpdn_Redundancy

	// VPDN Local radius process configuration.
	Local Vpdn_Local

	// Table of Template.
	Templates Vpdn_Templates

	// Options to apply on calling station ID.
	CallerId Vpdn_CallerId

	// Table of VPDNgroup.
	VpdNgroups Vpdn_VpdNgroups

	// Table of Logging.
	Loggings Vpdn_Loggings

	// L2TPv2 protocol commands.
	L2tp Vpdn_L2tp
}

Vpdn VPDN configuration

func (*Vpdn) GetEntityData

func (vpdn *Vpdn) GetEntityData() *types.CommonEntityData

type Vpdn_CallerId

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

	// Mask characters by method. The type is string with length: 1..63.
	Mask interface{}
}

Vpdn_CallerId Options to apply on calling station ID

func (*Vpdn_CallerId) GetEntityData

func (callerId *Vpdn_CallerId) GetEntityData() *types.CommonEntityData

type Vpdn_History

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

	// User failure. The type is interface{}.
	Failure interface{}
}

Vpdn_History VPDN history logging

func (*Vpdn_History) GetEntityData

func (history *Vpdn_History) GetEntityData() *types.CommonEntityData

type Vpdn_L2tp

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

	// TCP MSS adjust value. The acceptable values might be further limited
	// depending on platform. The type is interface{} with range: 1280..1460.
	TcpMssAdjust interface{}

	// L2TP IP packet reassembly enable. The type is interface{}.
	Reassembly interface{}

	// Session ID commands.
	SessionId Vpdn_L2tp_SessionId
}

Vpdn_L2tp L2TPv2 protocol commands

func (*Vpdn_L2tp) GetEntityData

func (l2tp *Vpdn_L2tp) GetEntityData() *types.CommonEntityData

type Vpdn_L2tp_SessionId

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

	// Session ID space commands.
	Space Vpdn_L2tp_SessionId_Space
}

Vpdn_L2tp_SessionId Session ID commands

func (*Vpdn_L2tp_SessionId) GetEntityData

func (sessionId *Vpdn_L2tp_SessionId) GetEntityData() *types.CommonEntityData

type Vpdn_L2tp_SessionId_Space

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

	// Session ID space hierarchical command. The type is interface{}.
	Hierarchy interface{}
}

Vpdn_L2tp_SessionId_Space Session ID space commands

func (*Vpdn_L2tp_SessionId_Space) GetEntityData

func (space *Vpdn_L2tp_SessionId_Space) GetEntityData() *types.CommonEntityData

type Vpdn_Local

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

	// secret password. The type is string with length: 1..32.
	SecretText interface{}

	// local path of the saved profile. The type is string with length: 1..64.
	Path interface{}

	// Set constant integer. The type is interface{}.
	CacheDisabled interface{}

	// port value. The type is interface{} with range: 1..65535.
	Port interface{}
}

Vpdn_Local VPDN Local radius process configuration

func (*Vpdn_Local) GetEntityData

func (local *Vpdn_Local) GetEntityData() *types.CommonEntityData

type Vpdn_Loggings

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

	// Configure logging for VPDN. The type is slice of Vpdn_Loggings_Logging.
	Logging []*Vpdn_Loggings_Logging
}

Vpdn_Loggings Table of Logging

func (*Vpdn_Loggings) GetEntityData

func (loggings *Vpdn_Loggings) GetEntityData() *types.CommonEntityData

type Vpdn_Loggings_Logging

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

	// This attribute is a key. VPDN logging options. The type is Option.
	Option interface{}
}

Vpdn_Loggings_Logging Configure logging for VPDN

func (*Vpdn_Loggings_Logging) GetEntityData

func (logging *Vpdn_Loggings_Logging) GetEntityData() *types.CommonEntityData

type Vpdn_Redundancy

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

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

	// Process crash configuration.
	ProcessFailures Vpdn_Redundancy_ProcessFailures
}

Vpdn_Redundancy Enable VPDN redundancy

func (*Vpdn_Redundancy) GetEntityData

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

type Vpdn_Redundancy_ProcessFailures

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

	// Force a switchover if the process crashes. The type is interface{}.
	Switchover interface{}
}

Vpdn_Redundancy_ProcessFailures Process crash configuration

func (*Vpdn_Redundancy_ProcessFailures) GetEntityData

func (processFailures *Vpdn_Redundancy_ProcessFailures) GetEntityData() *types.CommonEntityData

type Vpdn_Templates

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

	// VPDN template configuration. The type is slice of Vpdn_Templates_Template.
	Template []*Vpdn_Templates_Template
}

Vpdn_Templates Table of Template

func (*Vpdn_Templates) GetEntityData

func (templates *Vpdn_Templates) GetEntityData() *types.CommonEntityData

type Vpdn_Templates_Template

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

	// This attribute is a key. VPDN template name. The type is string with
	// length: 1..63.
	TemplateName interface{}

	// To support NAS-Port format e in Cisco AVP 100. The type is interface{}.
	CiscoAvp100FormatEEnable interface{}

	// Up to 100 characters describing this VPDN template. The type is string with
	// length: 1..100.
	Description interface{}

	// L2TP class  command. The type is string with length: 1..79.
	L2tpClass interface{}

	// Forward DSL Line Info attributes. The type is interface{}.
	DslLineForwarding interface{}

	// Options to apply on calling station id.
	CallerId Vpdn_Templates_Template_CallerId

	// VPN ID/VRF name.
	Vpn Vpdn_Templates_Template_Vpn

	// L2TP tunnel commands.
	Tunnel Vpdn_Templates_Template_Tunnel

	// Set IP TOS value.
	Ip Vpdn_Templates_Template_Ip

	// IPv4 settings for tunnel.
	Ipv4 Vpdn_Templates_Template_Ipv4
}

Vpdn_Templates_Template VPDN template configuration

func (*Vpdn_Templates_Template) GetEntityData

func (template *Vpdn_Templates_Template) GetEntityData() *types.CommonEntityData

type Vpdn_Templates_Template_CallerId

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

	// Mask characters by method. The type is string with length: 1..63.
	Mask interface{}
}

Vpdn_Templates_Template_CallerId Options to apply on calling station id

func (*Vpdn_Templates_Template_CallerId) GetEntityData

func (callerId *Vpdn_Templates_Template_CallerId) GetEntityData() *types.CommonEntityData

type Vpdn_Templates_Template_Ip

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

	// Set constant integer. The type is interface{} with range: 0..4294967295.
	Tos interface{}
}

Vpdn_Templates_Template_Ip Set IP TOS value

func (*Vpdn_Templates_Template_Ip) GetEntityData

func (ip *Vpdn_Templates_Template_Ip) GetEntityData() *types.CommonEntityData

type Vpdn_Templates_Template_Ipv4

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

	// IPv4 don't fragment bit set/clear/reflect. The type is DfBit.
	DfBit 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}]+)?.
	Source interface{}
}

Vpdn_Templates_Template_Ipv4 IPv4 settings for tunnel

func (*Vpdn_Templates_Template_Ipv4) GetEntityData

func (ipv4 *Vpdn_Templates_Template_Ipv4) GetEntityData() *types.CommonEntityData

type Vpdn_Templates_Template_Tunnel

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

	// Busy time out value in seconds. The type is interface{} with range:
	// 60..65535. Units are second.
	BusyTimeout interface{}
}

Vpdn_Templates_Template_Tunnel L2TP tunnel commands

func (*Vpdn_Templates_Template_Tunnel) GetEntityData

func (tunnel *Vpdn_Templates_Template_Tunnel) GetEntityData() *types.CommonEntityData

type Vpdn_Templates_Template_Vpn

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

	// VRF name. The type is string with length: 1..32.
	Vrf interface{}

	// VPN ID.
	Id Vpdn_Templates_Template_Vpn_Id
}

Vpdn_Templates_Template_Vpn VPN ID/VRF name

func (*Vpdn_Templates_Template_Vpn) GetEntityData

func (vpn *Vpdn_Templates_Template_Vpn) GetEntityData() *types.CommonEntityData

type Vpdn_Templates_Template_Vpn_Id

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

	// VPN ID, (OUI:VPN-Index) format(hex), 3 bytes OUI Part. The type is string
	// with pattern: [0-9a-fA-F]{1,8}.
	Oui interface{}

	// VPN ID, (OUI:VPN-Index) format(hex), 4 bytes VPN_Index Part. The type is
	// string with pattern: [0-9a-fA-F]{1,8}.
	Index interface{}
}

Vpdn_Templates_Template_Vpn_Id VPN ID

func (*Vpdn_Templates_Template_Vpn_Id) GetEntityData

type Vpdn_VpdNgroups

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

	// vpdn-group configuration. The type is slice of Vpdn_VpdNgroups_VpdNgroup.
	VpdNgroup []*Vpdn_VpdNgroups_VpdNgroup
}

Vpdn_VpdNgroups Table of VPDNgroup

func (*Vpdn_VpdNgroups) GetEntityData

func (vpdNgroups *Vpdn_VpdNgroups) GetEntityData() *types.CommonEntityData

type Vpdn_VpdNgroups_VpdNgroup

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

	// This attribute is a key. vpdn-group name. The type is string with length:
	// 1..63.
	VpdNgroupname interface{}

	// Forward DSL Line Info attributes. The type is interface{}.
	DslLineForwarding interface{}

	// To support NAS-Port format e in cisco AVP 100. The type is interface{}.
	CiscoAvp100FormatEEnable interface{}

	// upto 100 characters describing this VPDN group. The type is string with
	// length: 1..100.
	Desc interface{}

	// match substring. The type is string with length: 1..63.
	Attribute interface{}

	// l2tp class name. The type is string with length: 1..79.
	L2tpClass interface{}

	// Busy list timeout length. The type is interface{} with range: 1..65535.
	TunnelBusyTimeout interface{}

	// Vrf name. The type is string with length: 1..32.
	VrfName interface{}

	// Source vpdn-template. The type is string with length: 1..63.
	SrCtemplate interface{}

	// Vpn id.
	VpnId Vpdn_VpdNgroups_VpdNgroup_VpnId

	// set ip tos value.
	Ip Vpdn_VpdNgroups_VpdNgroup_Ip
}

Vpdn_VpdNgroups_VpdNgroup vpdn-group configuration

func (*Vpdn_VpdNgroups_VpdNgroup) GetEntityData

func (vpdNgroup *Vpdn_VpdNgroups_VpdNgroup) GetEntityData() *types.CommonEntityData

type Vpdn_VpdNgroups_VpdNgroup_Ip

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

	// ip tos value. The type is interface{} with range: 0..255.
	Tos interface{}
}

Vpdn_VpdNgroups_VpdNgroup_Ip set ip tos value

func (*Vpdn_VpdNgroups_VpdNgroup_Ip) GetEntityData

type Vpdn_VpdNgroups_VpdNgroup_VpnId

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

	// VPN ID, (OUI:VPN-Index) format(hex), 3 bytes OUI Part. The type is string
	// with pattern: [0-9a-fA-F]{1,8}.
	VpnIdOui interface{}

	// VPN ID, (OUI:VPN-Index) format(hex), 4 bytes VPN_Index Part. The type is
	// string with pattern: [0-9a-fA-F]{1,8}.
	VpnIdIndex interface{}
}

Vpdn_VpdNgroups_VpdNgroup_VpnId Vpn id

func (*Vpdn_VpdNgroups_VpdNgroup_VpnId) GetEntityData

func (vpnId *Vpdn_VpdNgroups_VpdNgroup_VpnId) GetEntityData() *types.CommonEntityData

Jump to

Keyboard shortcuts

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