Documentation ¶
Overview ¶
This module contains a collection of YANG definitions for Cisco IOS-XR tunnel-vpdn package operational data.
This module contains definitions for the following management objects:
vpdn: VPDN operational data
Copyright (c) 2013-2018 by Cisco Systems, Inc. All rights reserved.
Index ¶
- type LsgStatus
- type SessionState
- type TosMode
- type Vpdn
- type VpdnFailcode
- type VpdnState
- type Vpdn_HistoryFailures
- type Vpdn_HistoryFailures_HistoryFailure
- type Vpdn_Sessions
- type Vpdn_Sessions_Session
- type Vpdn_Sessions_Session_Configuration
- type Vpdn_Sessions_Session_Configuration_VpnId
- type Vpdn_Sessions_Session_L2tp
- type Vpdn_Sessions_Session_Session
- type Vpdn_Sessions_Session_Subscriber
- type Vpdn_TunnelDestinations
- type Vpdn_TunnelDestinations_TunnelDestination
- type Vpdn_VpdnMirroring
- type Vpdn_VpdnMirroring_QadRecvStats
- type Vpdn_VpdnMirroring_QadRecvStatsLastClear
- type Vpdn_VpdnMirroring_QadSendStats
- type Vpdn_VpdnMirroring_QadSendStatsLastClear
- type Vpdn_VpdnRedundancy
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LsgStatus ¶
type LsgStatus string
LsgStatus represents LSG Status
const ( // Member not initialized. LsgStatus_none LsgStatus = "none" // Member is active. LsgStatus_active LsgStatus = "active" // Member is down, cannot create new sessions. LsgStatus_down LsgStatus = "down" // Member is ready for new sessions. LsgStatus_testable LsgStatus = "testable" // Member is being tested for new session LsgStatus_testing LsgStatus = "testing" )
type SessionState ¶
type SessionState string
SessionState represents Session states
const ( // Idle state SessionState_idle SessionState = "idle" // Connected state SessionState_connected SessionState = "connected" // Established state SessionState_established SessionState = "established" )
type Vpdn ¶
type Vpdn struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // VPDN session list. Sessions Vpdn_Sessions // VPDN tunnel Destinations. TunnelDestinations Vpdn_TunnelDestinations // VPDN Mirroring Statistics. VpdnMirroring Vpdn_VpdnMirroring // Show VPDN Redundancy information. VpdnRedundancy Vpdn_VpdnRedundancy // VPDN history failure list. HistoryFailures Vpdn_HistoryFailures }
Vpdn VPDN operational data
func (*Vpdn) GetEntityData ¶
func (vpdn *Vpdn) GetEntityData() *types.CommonEntityData
type VpdnFailcode ¶
type VpdnFailcode string
VpdnFailcode represents VPDN failure types
const ( // Unknown VpdnFailcode_unknown VpdnFailcode = "unknown" // Peer action VpdnFailcode_peer_action VpdnFailcode = "peer-action" // Authentication VpdnFailcode_authentication VpdnFailcode = "authentication" // Authentication VpdnFailcode_authentication_error VpdnFailcode = "authentication-error" // Authentication VpdnFailcode_authentication_failed VpdnFailcode = "authentication-failed" VpdnFailcode_authorization VpdnFailcode = "authorization" VpdnFailcode_authorization_failed VpdnFailcode = "authorization-failed" // No resources available VpdnFailcode_home_gatewayfailure VpdnFailcode = "home-gatewayfailure" // Connection termination VpdnFailcode_connection_termination VpdnFailcode = "connection-termination" // No resources available VpdnFailcode_no_resources_available VpdnFailcode = "no-resources-available" // Timer expiry VpdnFailcode_timer_expiry VpdnFailcode = "timer-expiry" // Session limit VpdnFailcode_session_mid_exceeded VpdnFailcode = "session-mid-exceeded" // Softshut VpdnFailcode_soft_shut VpdnFailcode = "soft-shut" // Session limit VpdnFailcode_session_limit_exceeded VpdnFailcode = "session-limit-exceeded" // Administrative VpdnFailcode_administrative VpdnFailcode = "administrative" // Link failure VpdnFailcode_link_failure VpdnFailcode = "link-failure" // Security VpdnFailcode_security VpdnFailcode = "security" // Tunnel in HA resync VpdnFailcode_tunnel_in_resync VpdnFailcode = "tunnel-in-resync" // Call parameters VpdnFailcode_call_prarmeters VpdnFailcode = "call-prarmeters" )
type Vpdn_HistoryFailures ¶
type Vpdn_HistoryFailures struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // VPDN history failure information. The type is slice of // Vpdn_HistoryFailures_HistoryFailure. HistoryFailure []*Vpdn_HistoryFailures_HistoryFailure }
Vpdn_HistoryFailures VPDN history failure list
func (*Vpdn_HistoryFailures) GetEntityData ¶
func (historyFailures *Vpdn_HistoryFailures) GetEntityData() *types.CommonEntityData
type Vpdn_HistoryFailures_HistoryFailure ¶
type Vpdn_HistoryFailures_HistoryFailure struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // Username. The type is string. Username interface{} // Remote name. The type is string with pattern: [\w\-\.:,_@#%$\+=\|;]+. RemoteName interface{} // Authentication username. The type is string. UsernameXr interface{} // Domain name. The type is string. DomainName interface{} // VPDN user session ID. The type is interface{} with range: 0..65535. Mid interface{} // Network access server. The type is string. Nas interface{} // NAS 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}]+)?. DestinationAddress interface{} // Remote client ID. The type is interface{} with range: 0..65535. RemoteClientId interface{} // Home gateway. The type is string. HomeGateway interface{} // Source 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}]+)?. SourceAddress interface{} // Local client ID. The type is interface{} with range: 0..65535. LocalClientId interface{} // Event logged time in Ex: Wed Aug 3 10:28:30 2011. The type is string. EventTime interface{} // Error repeat count. The type is interface{} with range: 0..65535. ErrorRepeatCount interface{} // Failure type. The type is VpdnFailcode. FailureType interface{} }
Vpdn_HistoryFailures_HistoryFailure VPDN history failure information
func (*Vpdn_HistoryFailures_HistoryFailure) GetEntityData ¶
func (historyFailure *Vpdn_HistoryFailures_HistoryFailure) GetEntityData() *types.CommonEntityData
type Vpdn_Sessions ¶
type Vpdn_Sessions struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // VPDN session information. The type is slice of Vpdn_Sessions_Session. Session []*Vpdn_Sessions_Session }
Vpdn_Sessions VPDN session list
func (*Vpdn_Sessions) GetEntityData ¶
func (sessions *Vpdn_Sessions) GetEntityData() *types.CommonEntityData
type Vpdn_Sessions_Session ¶
type Vpdn_Sessions_Session struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. Session label. The type is string with pattern: // [0-9a-fA-F]{1,8}. SessionLabel interface{} // Time to setup session in sec:msec. The type is interface{} with range: // 0..4294967295. SetupTime interface{} // Parent interface name. The type is string with pattern: [a-zA-Z0-9._/-]+. ParentInterfaceName interface{} // Session data. Session Vpdn_Sessions_Session_Session // L2TP data. L2tp Vpdn_Sessions_Session_L2tp // Subscriber data. Subscriber Vpdn_Sessions_Session_Subscriber // Configuration data. Configuration Vpdn_Sessions_Session_Configuration }
Vpdn_Sessions_Session
VPDN session information
func (*Vpdn_Sessions_Session) GetEntityData ¶
func (session *Vpdn_Sessions_Session) GetEntityData() *types.CommonEntityData
type Vpdn_Sessions_Session_Configuration ¶
type Vpdn_Sessions_Session_Configuration struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Template name. The type is string. TemplateName interface{} // VRF name. The type is string. VrfName interface{} // L2TP busy timeout in seconds. The type is interface{} with range: 0..65535. // Units are second. L2tpBusyTimeout interface{} // TOS mode. The type is TosMode. TosMode interface{} // TOS setting value. The type is interface{} with range: 0..255. Tos interface{} // True if DSL line info forwarding is enabled. The type is bool. DslLineForwarding interface{} // VPN ID. VpnId Vpdn_Sessions_Session_Configuration_VpnId }
Vpdn_Sessions_Session_Configuration Configuration data
func (*Vpdn_Sessions_Session_Configuration) GetEntityData ¶
func (configuration *Vpdn_Sessions_Session_Configuration) GetEntityData() *types.CommonEntityData
type Vpdn_Sessions_Session_Configuration_VpnId ¶
type Vpdn_Sessions_Session_Configuration_VpnId struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // OUI. The type is interface{} with range: 0..4294967295. Oui interface{} // Index. The type is interface{} with range: 0..4294967295. Index interface{} }
Vpdn_Sessions_Session_Configuration_VpnId VPN ID
func (*Vpdn_Sessions_Session_Configuration_VpnId) GetEntityData ¶
func (vpnId *Vpdn_Sessions_Session_Configuration_VpnId) GetEntityData() *types.CommonEntityData
type Vpdn_Sessions_Session_L2tp ¶
type Vpdn_Sessions_Session_L2tp struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Local endpoint 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}]+)?. LocalEndpoint interface{} // Remote endpoint 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}]+)?. RemoteEndpoint interface{} // Call serial number. The type is interface{} with range: 0..4294967295. CallSerialNumber interface{} // True if L2TP class attribute mask is set. The type is bool. IsL2tpClassAttributeMaskSet interface{} // Local tunnel ID. The type is interface{} with range: 0..65535. LocalTunnelId interface{} // Remote tunnel ID. The type is interface{} with range: 0..65535. RemoteTunnelId interface{} // Local session ID. The type is interface{} with range: 0..65535. LocalSessionId interface{} // Remote session ID. The type is interface{} with range: 0..65535. RemoteSessionId interface{} // Remote port. The type is interface{} with range: 0..65535. RemotePort interface{} // Tunnel client authentication ID. The type is string. TunnelClientAuthenticationId interface{} // Tunnel server authentication ID. The type is string. TunnelServerAuthenticationId interface{} // Tunnel assignment ID. The type is string. TunnelAssignmentId interface{} // True if tunnel authentication is enabled. The type is bool. IsTunnelAuthenticationEnabled interface{} }
Vpdn_Sessions_Session_L2tp L2TP data
func (*Vpdn_Sessions_Session_L2tp) GetEntityData ¶
func (l2tp *Vpdn_Sessions_Session_L2tp) GetEntityData() *types.CommonEntityData
type Vpdn_Sessions_Session_Session ¶
type Vpdn_Sessions_Session_Session struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Elapsed time since last change in hh:mm:ss format. The type is string. LastChange interface{} // Session interface name. The type is string with pattern: [a-zA-Z0-9._/-]+. InterfaceName interface{} // Authentication username. The type is string. Username interface{} // Domain name. The type is string. DomainName interface{} // Session state. The type is SessionState. State interface{} // L2TP session ID. The type is interface{} with range: 0..65535. L2tpSessionId interface{} // L2TP tunnel ID. The type is interface{} with range: 0..65535. L2tpTunnelId interface{} // Session SRG Slave. The type is bool. SrgSlave interface{} }
Vpdn_Sessions_Session_Session Session data
func (*Vpdn_Sessions_Session_Session) GetEntityData ¶
func (session *Vpdn_Sessions_Session_Session) GetEntityData() *types.CommonEntityData
type Vpdn_Sessions_Session_Subscriber ¶
type Vpdn_Sessions_Session_Subscriber struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // NAS port ID Val. The type is string. NasPortIdVal interface{} // NAS port type. The type is string. NasPortType interface{} // Physical channel ID. The type is interface{} with range: 0..4294967295. PhysicalChannelId interface{} // Receive connect speed in nanoseconds. The type is interface{} with range: // 0..18446744073709551615. Units are nanosecond. ReceiveConnectSpeed interface{} // Transmit connect speed in nanoseconds. The type is interface{} with range: // 0..18446744073709551615. Units are nanosecond. TransmitConnectSpeed interface{} }
Vpdn_Sessions_Session_Subscriber Subscriber data
func (*Vpdn_Sessions_Session_Subscriber) GetEntityData ¶
func (subscriber *Vpdn_Sessions_Session_Subscriber) GetEntityData() *types.CommonEntityData
type Vpdn_TunnelDestinations ¶
type Vpdn_TunnelDestinations struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // VPDN tunnel destination information. The type is slice of // Vpdn_TunnelDestinations_TunnelDestination. TunnelDestination []*Vpdn_TunnelDestinations_TunnelDestination }
Vpdn_TunnelDestinations VPDN tunnel Destinations
func (*Vpdn_TunnelDestinations) GetEntityData ¶
func (tunnelDestinations *Vpdn_TunnelDestinations) GetEntityData() *types.CommonEntityData
type Vpdn_TunnelDestinations_TunnelDestination ¶
type Vpdn_TunnelDestinations_TunnelDestination struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // VRF name. The type is string with pattern: [\w\-\.:,_@#%$\+=\|;]+. VrfName interface{} // 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{} // VRF name. The type is string. VrfNameXr interface{} // Current load on LNS. The type is interface{} with range: 0..4294967295. Load interface{} // Status of LNS. The type is LsgStatus. Status interface{} // Total count of tunnels connected. The type is interface{} with range: // 0..4294967295. Connects interface{} // Total count of tunnels disconnected. The type is interface{} with range: // 0..4294967295. Disconnects interface{} // Retries. The type is interface{} with range: 0..4294967295. Retry interface{} // Seconds since last status change. The type is interface{} with range: // 0..4294967295. Units are second. StatusChangeTime interface{} }
Vpdn_TunnelDestinations_TunnelDestination VPDN tunnel destination information
func (*Vpdn_TunnelDestinations_TunnelDestination) GetEntityData ¶
func (tunnelDestination *Vpdn_TunnelDestinations_TunnelDestination) GetEntityData() *types.CommonEntityData
type Vpdn_VpdnMirroring ¶
type Vpdn_VpdnMirroring struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // sync not conn cnt. The type is interface{} with range: 0..4294967295. SyncNotConnCnt interface{} // sso err cnt. The type is interface{} with range: 0..4294967295. SsoErrCnt interface{} // sso batch err cnt. The type is interface{} with range: 0..4294967295. SsoBatchErrCnt interface{} // alloc err cnt. The type is interface{} with range: 0..4294967295. AllocErrCnt interface{} // alloc cnt. The type is interface{} with range: 0..4294967295. AllocCnt interface{} // qad send stats. QadSendStats Vpdn_VpdnMirroring_QadSendStats // qad recv stats. QadRecvStats Vpdn_VpdnMirroring_QadRecvStats // qad send stats last clear. QadSendStatsLastClear Vpdn_VpdnMirroring_QadSendStatsLastClear // qad recv stats last clear. QadRecvStatsLastClear Vpdn_VpdnMirroring_QadRecvStatsLastClear }
Vpdn_VpdnMirroring VPDN Mirroring Statistics
func (*Vpdn_VpdnMirroring) GetEntityData ¶
func (vpdnMirroring *Vpdn_VpdnMirroring) GetEntityData() *types.CommonEntityData
type Vpdn_VpdnMirroring_QadRecvStats ¶
type Vpdn_VpdnMirroring_QadRecvStats struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // msgs recvd. The type is interface{} with range: 0..4294967295. MsgsRecvd interface{} // acks recvd. The type is interface{} with range: 0..4294967295. AcksRecvd interface{} // recvd acks failed. The type is interface{} with range: 0..4294967295. RecvdAcksFailed interface{} // init drops. The type is interface{} with range: 0..4294967295. InitDrops interface{} // msg drops. The type is interface{} with range: 0..4294967295. MsgDrops interface{} // ooo drops. The type is interface{} with range: 0..4294967295. OooDrops interface{} // stale msgs. The type is interface{} with range: 0..4294967295. StaleMsgs interface{} }
Vpdn_VpdnMirroring_QadRecvStats qad recv stats
func (*Vpdn_VpdnMirroring_QadRecvStats) GetEntityData ¶
func (qadRecvStats *Vpdn_VpdnMirroring_QadRecvStats) GetEntityData() *types.CommonEntityData
type Vpdn_VpdnMirroring_QadRecvStatsLastClear ¶
type Vpdn_VpdnMirroring_QadRecvStatsLastClear struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // msgs recvd. The type is interface{} with range: 0..4294967295. MsgsRecvd interface{} // acks recvd. The type is interface{} with range: 0..4294967295. AcksRecvd interface{} // recvd acks failed. The type is interface{} with range: 0..4294967295. RecvdAcksFailed interface{} // init drops. The type is interface{} with range: 0..4294967295. InitDrops interface{} // msg drops. The type is interface{} with range: 0..4294967295. MsgDrops interface{} // ooo drops. The type is interface{} with range: 0..4294967295. OooDrops interface{} // stale msgs. The type is interface{} with range: 0..4294967295. StaleMsgs interface{} }
Vpdn_VpdnMirroring_QadRecvStatsLastClear qad recv stats last clear
func (*Vpdn_VpdnMirroring_QadRecvStatsLastClear) GetEntityData ¶
func (qadRecvStatsLastClear *Vpdn_VpdnMirroring_QadRecvStatsLastClear) GetEntityData() *types.CommonEntityData
type Vpdn_VpdnMirroring_QadSendStats ¶
type Vpdn_VpdnMirroring_QadSendStats struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // msgs sent. The type is interface{} with range: 0..4294967295. MsgsSent interface{} // acks sent. The type is interface{} with range: 0..4294967295. AcksSent interface{} // no partner. The type is interface{} with range: 0..4294967295. NoPartner interface{} // sends failed. The type is interface{} with range: 0..4294967295. SendsFailed interface{} // acks failed. The type is interface{} with range: 0..4294967295. AcksFailed interface{} // pending acks. The type is interface{} with range: 0..4294967295. PendingAcks interface{} // timeouts. The type is interface{} with range: 0..4294967295. Timeouts interface{} // suspends. The type is interface{} with range: 0..4294967295. Suspends interface{} // resumes. The type is interface{} with range: 0..4294967295. Resumes interface{} // sends fragment. The type is interface{} with range: 0..4294967295. SendsFragment interface{} // qad last seq number. The type is interface{} with range: 0..4294967295. QadLastSeqNumber interface{} // qad frag count. The type is interface{} with range: 0..4294967295. QadFragCount interface{} // qad ack count. The type is interface{} with range: 0..4294967295. QadAckCount interface{} // qad unknown acks. The type is interface{} with range: 0..4294967295. QadUnknownAcks interface{} // qad timeouts. The type is interface{} with range: 0..4294967295. QadTimeouts interface{} // qad rx count. The type is interface{} with range: 0..4294967295. QadRxCount interface{} // qad rx list count. The type is interface{} with range: 0..4294967295. QadRxListCount interface{} // qad rx list q size. The type is interface{} with range: 0..4294967295. QadRxListQSize interface{} // qad rx first seq number. The type is interface{} with range: 0..4294967295. QadRxFirstSeqNumber interface{} }
Vpdn_VpdnMirroring_QadSendStats qad send stats
func (*Vpdn_VpdnMirroring_QadSendStats) GetEntityData ¶
func (qadSendStats *Vpdn_VpdnMirroring_QadSendStats) GetEntityData() *types.CommonEntityData
type Vpdn_VpdnMirroring_QadSendStatsLastClear ¶
type Vpdn_VpdnMirroring_QadSendStatsLastClear struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // msgs sent. The type is interface{} with range: 0..4294967295. MsgsSent interface{} // acks sent. The type is interface{} with range: 0..4294967295. AcksSent interface{} // no partner. The type is interface{} with range: 0..4294967295. NoPartner interface{} // sends failed. The type is interface{} with range: 0..4294967295. SendsFailed interface{} // acks failed. The type is interface{} with range: 0..4294967295. AcksFailed interface{} // pending acks. The type is interface{} with range: 0..4294967295. PendingAcks interface{} // timeouts. The type is interface{} with range: 0..4294967295. Timeouts interface{} // suspends. The type is interface{} with range: 0..4294967295. Suspends interface{} // resumes. The type is interface{} with range: 0..4294967295. Resumes interface{} // sends fragment. The type is interface{} with range: 0..4294967295. SendsFragment interface{} // qad last seq number. The type is interface{} with range: 0..4294967295. QadLastSeqNumber interface{} // qad frag count. The type is interface{} with range: 0..4294967295. QadFragCount interface{} // qad ack count. The type is interface{} with range: 0..4294967295. QadAckCount interface{} // qad unknown acks. The type is interface{} with range: 0..4294967295. QadUnknownAcks interface{} // qad timeouts. The type is interface{} with range: 0..4294967295. QadTimeouts interface{} // qad rx count. The type is interface{} with range: 0..4294967295. QadRxCount interface{} // qad rx list count. The type is interface{} with range: 0..4294967295. QadRxListCount interface{} // qad rx list q size. The type is interface{} with range: 0..4294967295. QadRxListQSize interface{} // qad rx first seq number. The type is interface{} with range: 0..4294967295. QadRxFirstSeqNumber interface{} }
Vpdn_VpdnMirroring_QadSendStatsLastClear qad send stats last clear
func (*Vpdn_VpdnMirroring_QadSendStatsLastClear) GetEntityData ¶
func (qadSendStatsLastClear *Vpdn_VpdnMirroring_QadSendStatsLastClear) GetEntityData() *types.CommonEntityData
type Vpdn_VpdnRedundancy ¶
type Vpdn_VpdnRedundancy struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // session total. The type is interface{} with range: 0..4294967295. SessionTotal interface{} // session synced. The type is interface{} with range: 0..4294967295. SessionSynced interface{} // state. The type is VpdnState. State interface{} // start time. The type is interface{} with range: 0..18446744073709551615. StartTime interface{} // finish time. The type is interface{} with range: 0..18446744073709551615. FinishTime interface{} // abort time. The type is interface{} with range: 0..18446744073709551615. AbortTime interface{} }
Vpdn_VpdnRedundancy Show VPDN Redundancy information
func (*Vpdn_VpdnRedundancy) GetEntityData ¶
func (vpdnRedundancy *Vpdn_VpdnRedundancy) GetEntityData() *types.CommonEntityData