Documentation ¶
Overview ¶
This module contains a collection of YANG definitions for Cisco IOS-XR tunnel-l2tun package configuration.
This module contains definitions for the following management objects:
l2tp: L2TPv3 class used for L2VPNs
Copyright (c) 2013-2018 by Cisco Systems, Inc. All rights reserved.
Index ¶
- type L2tp
- type L2tpDigestHashMethod
- type L2tpHashMethod
- type L2tp_Classes
- type L2tp_Classes_Class
- type L2tp_Classes_Class_Digest
- type L2tp_Classes_Class_Digest_Secrets
- type L2tp_Classes_Class_Digest_Secrets_Secret
- type L2tp_Classes_Class_Ip
- type L2tp_Classes_Class_Retransmit
- type L2tp_Classes_Class_Retransmit_Initial
- type L2tp_Classes_Class_Retransmit_Initial_Timeout
- type L2tp_Classes_Class_Retransmit_Timeout
- type L2tp_Classes_Class_Security
- type L2tp_Classes_Class_Security_Ip
- type L2tp_Classes_Class_Tunnel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type L2tp ¶
type L2tp struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // List of classes. Classes L2tp_Classes }
L2tp L2TPv3 class used for L2VPNs
func (*L2tp) GetEntityData ¶
func (l2tp *L2tp) GetEntityData() *types.CommonEntityData
type L2tpDigestHashMethod ¶
type L2tpDigestHashMethod string
L2tpDigestHashMethod represents L2tp digest hash method
const ( // MD5 L2tpDigestHashMethod_md5 L2tpDigestHashMethod = "md5" // SHA1 L2tpDigestHashMethod_sha1 L2tpDigestHashMethod = "sha1" )
type L2tpHashMethod ¶
type L2tpHashMethod string
L2tpHashMethod represents L2tp hash method
const ( // MD5 L2tpHashMethod_md5 L2tpHashMethod = "md5" // SHA1 L2tpHashMethod_sha1 L2tpHashMethod = "sha1" // None L2tpHashMethod_none L2tpHashMethod = "none" )
type L2tp_Classes ¶
type L2tp_Classes struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Configuration for a specific class. The type is slice of // L2tp_Classes_Class. Class []*L2tp_Classes_Class }
L2tp_Classes List of classes
func (*L2tp_Classes) GetEntityData ¶
func (classes *L2tp_Classes) GetEntityData() *types.CommonEntityData
type L2tp_Classes_Class ¶
type L2tp_Classes_Class struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. Specify the class name. Regexp: // ^[a-z0-9A-Z][-_.a-z0-9A-Z]*$. The type is string with length: 1..31. ClassName interface{} // Local hostname for control connection authentication. The type is string. HostName interface{} // Specify to hide AVPs in outgoing control messages. The type is interface{}. Hidden interface{} // Specify interval (in seconds). The type is interface{} with range: 0..1000. // Units are second. HelloInterval interface{} // Time permitted to set up a control connection. The type is interface{} with // range: 60..6000. Units are second. TimeoutSetup interface{} // Receive window size for the control connection. The type is interface{} // with range: 1..16384. Units are byte. ReceiveWindow interface{} // Congestion control enabled. The type is interface{}. CongestionControl interface{} // Timeout value for no-user in seconds. The type is interface{} with range: // 0..4294967295. Units are second. TimeoutNoUser interface{} // Authenticate the L2TP control connection. The type is interface{} with // range: 0..4294967295. Authentication interface{} // Enable L2TPv3 class used for L2VPNs. The type is interface{}. Enable interface{} // Specify the password for control channel authentication. The type is string // with pattern: (!.+)|([^!].+). Password interface{} // Security check. Security L2tp_Classes_Class_Security // Control message retransmission parameters. Retransmit L2tp_Classes_Class_Retransmit // l2TP tunnel. Tunnel L2tp_Classes_Class_Tunnel // Message digest authentication for the L2TP control connection. Digest L2tp_Classes_Class_Digest // IP TOS value. Ip L2tp_Classes_Class_Ip }
L2tp_Classes_Class Configuration for a specific class
func (*L2tp_Classes_Class) GetEntityData ¶
func (class *L2tp_Classes_Class) GetEntityData() *types.CommonEntityData
type L2tp_Classes_Class_Digest ¶
type L2tp_Classes_Class_Digest struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Specify hash method. The type is L2tpDigestHashMethod. Hash interface{} // Disable digest checking. The type is interface{}. CheckDisable interface{} // Set shared secret for message digest. Secrets L2tp_Classes_Class_Digest_Secrets }
L2tp_Classes_Class_Digest Message digest authentication for the L2TP control connection
func (*L2tp_Classes_Class_Digest) GetEntityData ¶
func (digest *L2tp_Classes_Class_Digest) GetEntityData() *types.CommonEntityData
type L2tp_Classes_Class_Digest_Secrets ¶
type L2tp_Classes_Class_Digest_Secrets struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // The encrypted user secret and hash method. The type is slice of // L2tp_Classes_Class_Digest_Secrets_Secret. Secret []*L2tp_Classes_Class_Digest_Secrets_Secret }
L2tp_Classes_Class_Digest_Secrets Set shared secret for message digest
func (*L2tp_Classes_Class_Digest_Secrets) GetEntityData ¶
func (secrets *L2tp_Classes_Class_Digest_Secrets) GetEntityData() *types.CommonEntityData
type L2tp_Classes_Class_Digest_Secrets_Secret ¶
type L2tp_Classes_Class_Digest_Secrets_Secret struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. Specify the encrypted user secret. The type is // string with pattern: [\w\-\.:,_@#%$\+=\|;]+. SecretName interface{} // Specify hash method. The type is L2tpHashMethod. This attribute is // mandatory. Hash interface{} }
L2tp_Classes_Class_Digest_Secrets_Secret The encrypted user secret and hash method
func (*L2tp_Classes_Class_Digest_Secrets_Secret) GetEntityData ¶
func (secret *L2tp_Classes_Class_Digest_Secrets_Secret) GetEntityData() *types.CommonEntityData
type L2tp_Classes_Class_Ip ¶
type L2tp_Classes_Class_Ip struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // IP TOS value (decimal). The type is interface{} with range: 0..255. Tos interface{} }
L2tp_Classes_Class_Ip IP TOS value
func (*L2tp_Classes_Class_Ip) GetEntityData ¶
func (ip *L2tp_Classes_Class_Ip) GetEntityData() *types.CommonEntityData
type L2tp_Classes_Class_Retransmit ¶
type L2tp_Classes_Class_Retransmit struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Specify retransmit retry count. The type is interface{} with range: // 5..1000. Retry interface{} // Set retries and timeouts for initial. Initial L2tp_Classes_Class_Retransmit_Initial // Set timeout value range. Timeout L2tp_Classes_Class_Retransmit_Timeout }
L2tp_Classes_Class_Retransmit Control message retransmission parameters
func (*L2tp_Classes_Class_Retransmit) GetEntityData ¶
func (retransmit *L2tp_Classes_Class_Retransmit) GetEntityData() *types.CommonEntityData
type L2tp_Classes_Class_Retransmit_Initial ¶
type L2tp_Classes_Class_Retransmit_Initial struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Specify the retry number. The type is interface{} with range: 1..1000. Retry interface{} // Set timeout value range. Timeout L2tp_Classes_Class_Retransmit_Initial_Timeout }
L2tp_Classes_Class_Retransmit_Initial Set retries and timeouts for initial
func (*L2tp_Classes_Class_Retransmit_Initial) GetEntityData ¶
func (initial *L2tp_Classes_Class_Retransmit_Initial) GetEntityData() *types.CommonEntityData
type L2tp_Classes_Class_Retransmit_Initial_Timeout ¶
type L2tp_Classes_Class_Retransmit_Initial_Timeout struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Specify minimum timeout. The type is interface{} with range: 1..8. Minimum interface{} // Specify maximum timeout. The type is interface{} with range: 1..8. Maximum interface{} }
L2tp_Classes_Class_Retransmit_Initial_Timeout Set timeout value range
func (*L2tp_Classes_Class_Retransmit_Initial_Timeout) GetEntityData ¶
func (timeout *L2tp_Classes_Class_Retransmit_Initial_Timeout) GetEntityData() *types.CommonEntityData
type L2tp_Classes_Class_Retransmit_Timeout ¶
type L2tp_Classes_Class_Retransmit_Timeout struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Specify minimum timeout. The type is interface{} with range: 1..8. Minimum interface{} // Specify maximum timeout. The type is interface{} with range: 1..8. Maximum interface{} }
L2tp_Classes_Class_Retransmit_Timeout Set timeout value range
func (*L2tp_Classes_Class_Retransmit_Timeout) GetEntityData ¶
func (timeout *L2tp_Classes_Class_Retransmit_Timeout) GetEntityData() *types.CommonEntityData
type L2tp_Classes_Class_Security ¶
type L2tp_Classes_Class_Security struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Security check for IP. Ip L2tp_Classes_Class_Security_Ip }
L2tp_Classes_Class_Security Security check
func (*L2tp_Classes_Class_Security) GetEntityData ¶
func (security *L2tp_Classes_Class_Security) GetEntityData() *types.CommonEntityData
type L2tp_Classes_Class_Security_Ip ¶
type L2tp_Classes_Class_Security_Ip struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Enable IP address check for L2TP packets. The type is interface{}. AddressCheck interface{} }
L2tp_Classes_Class_Security_Ip Security check for IP
func (*L2tp_Classes_Class_Security_Ip) GetEntityData ¶
func (ip *L2tp_Classes_Class_Security_Ip) GetEntityData() *types.CommonEntityData
type L2tp_Classes_Class_Tunnel ¶
type L2tp_Classes_Class_Tunnel struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Tunnel accounting. The type is string. Accounting interface{} }
L2tp_Classes_Class_Tunnel l2TP tunnel
func (*L2tp_Classes_Class_Tunnel) GetEntityData ¶
func (tunnel *L2tp_Classes_Class_Tunnel) GetEntityData() *types.CommonEntityData