Documentation ¶
Overview ¶
This module contains a collection of YANG definitions for BFD neighbor monitoring. Copyright (c) 2016-2018 by Cisco Systems, Inc. All rights reserved.
Index ¶
- type BfdLspType
- type BfdOperSessionType
- type BfdRemoteStateType
- type BfdState
- type BfdStateType
- type BfdState_Sessions
- type BfdState_Sessions_Session
- type BfdState_Sessions_Session_BfdCircuits
- type BfdState_Sessions_Session_BfdCircuits_BfdCircuit
- type BfdState_Sessions_Session_BfdMhopNbrs
- type BfdState_Sessions_Session_BfdMhopNbrs_BfdMhopNbr
- type BfdState_Sessions_Session_BfdMhopVrfNbrs
- type BfdState_Sessions_Session_BfdMhopVrfNbrs_BfdMhopVrfNbr
- type BfdState_Sessions_Session_BfdNbrs
- type BfdState_Sessions_Session_BfdNbrs_BfdNbr
- type BfdState_Sessions_Session_BfdTunnelPaths
- type BfdState_Sessions_Session_BfdTunnelPaths_BfdTunnelPath
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BfdLspType ¶
type BfdLspType string
BfdLspType represents BFD LSP type
const ( BfdLspType_working BfdLspType = "working" BfdLspType_protect BfdLspType = "protect" BfdLspType_unknown BfdLspType = "unknown" )
type BfdOperSessionType ¶
type BfdOperSessionType string
BfdOperSessionType represents BFD session type
const ( BfdOperSessionType_ipv4 BfdOperSessionType = "ipv4" BfdOperSessionType_ipv6 BfdOperSessionType = "ipv6" BfdOperSessionType_vccv BfdOperSessionType = "vccv" BfdOperSessionType_mpls_tp BfdOperSessionType = "mpls-tp" BfdOperSessionType_ipv4_multihop BfdOperSessionType = "ipv4-multihop" BfdOperSessionType_ipv6_multihop BfdOperSessionType = "ipv6-multihop" )
type BfdRemoteStateType ¶
type BfdRemoteStateType string
BfdRemoteStateType represents BFD remote state type
const ( BfdRemoteStateType_remote_up BfdRemoteStateType = "remote-up" BfdRemoteStateType_remote_down BfdRemoteStateType = "remote-down" BfdRemoteStateType_remote_init BfdRemoteStateType = "remote-init" BfdRemoteStateType_remote_admindown BfdRemoteStateType = "remote-admindown" BfdRemoteStateType_remote_invalid BfdRemoteStateType = "remote-invalid" )
type BfdState ¶
type BfdState struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // BFD neighbor session information. Sessions BfdState_Sessions }
BfdState BFD neighbor information
func (*BfdState) GetEntityData ¶
func (bfdState *BfdState) GetEntityData() *types.CommonEntityData
type BfdStateType ¶
type BfdStateType string
BfdStateType represents BFD state type
const ( BfdStateType_admindown BfdStateType = "admindown" BfdStateType_down BfdStateType = "down" BfdStateType_fail BfdStateType = "fail" BfdStateType_init BfdStateType = "init" BfdStateType_up BfdStateType = "up" BfdStateType_invalid BfdStateType = "invalid" )
type BfdState_Sessions ¶
type BfdState_Sessions struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // List of BFD sessions. The type is slice of BfdState_Sessions_Session. Session []*BfdState_Sessions_Session }
BfdState_Sessions BFD neighbor session information
func (*BfdState_Sessions) GetEntityData ¶
func (sessions *BfdState_Sessions) GetEntityData() *types.CommonEntityData
type BfdState_Sessions_Session ¶
type BfdState_Sessions_Session struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. Session type. The type is BfdOperSessionType. Type interface{} // BFD tunnel path information. BfdTunnelPaths BfdState_Sessions_Session_BfdTunnelPaths // BFD circuit information. BfdCircuits BfdState_Sessions_Session_BfdCircuits // BFD neighbor information. BfdNbrs BfdState_Sessions_Session_BfdNbrs // Multi hop neighbors for multi hop neighbor scenario for global VRF (no // VRF). BfdMhopNbrs BfdState_Sessions_Session_BfdMhopNbrs // Multi hop neighbors for multi hop neighbor scenario with non-global VRF. BfdMhopVrfNbrs BfdState_Sessions_Session_BfdMhopVrfNbrs }
BfdState_Sessions_Session List of BFD sessions
func (*BfdState_Sessions_Session) GetEntityData ¶
func (session *BfdState_Sessions_Session) GetEntityData() *types.CommonEntityData
type BfdState_Sessions_Session_BfdCircuits ¶
type BfdState_Sessions_Session_BfdCircuits struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // List of BFD circuits. The type is slice of // BfdState_Sessions_Session_BfdCircuits_BfdCircuit. BfdCircuit []*BfdState_Sessions_Session_BfdCircuits_BfdCircuit }
BfdState_Sessions_Session_BfdCircuits BFD circuit information
func (*BfdState_Sessions_Session_BfdCircuits) GetEntityData ¶
func (bfdCircuits *BfdState_Sessions_Session_BfdCircuits) GetEntityData() *types.CommonEntityData
type BfdState_Sessions_Session_BfdCircuits_BfdCircuit ¶
type BfdState_Sessions_Session_BfdCircuits_BfdCircuit struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. Associated interface. The type is string. Interface interface{} // This attribute is a key. Virtual circuit identifier. The type is // interface{} with range: 0..4294967295. Vcid interface{} // Local discriminator. The type is interface{} with range: 0..4294967295. Ld interface{} // Remote discriminator. The type is interface{} with range: 0..4294967295. Rd interface{} // Remote Heard. RH state of BFD version '0' is also mapped to up/down. The // type is BfdRemoteStateType. RemoteState interface{} // BFD state. The type is BfdStateType. State interface{} }
BfdState_Sessions_Session_BfdCircuits_BfdCircuit List of BFD circuits
func (*BfdState_Sessions_Session_BfdCircuits_BfdCircuit) GetEntityData ¶
func (bfdCircuit *BfdState_Sessions_Session_BfdCircuits_BfdCircuit) GetEntityData() *types.CommonEntityData
type BfdState_Sessions_Session_BfdMhopNbrs ¶
type BfdState_Sessions_Session_BfdMhopNbrs struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // List of MHOP neighbors. The type is slice of // BfdState_Sessions_Session_BfdMhopNbrs_BfdMhopNbr. BfdMhopNbr []*BfdState_Sessions_Session_BfdMhopNbrs_BfdMhopNbr }
BfdState_Sessions_Session_BfdMhopNbrs Multi hop neighbors for multi hop neighbor scenario for global VRF (no VRF)
func (*BfdState_Sessions_Session_BfdMhopNbrs) GetEntityData ¶
func (bfdMhopNbrs *BfdState_Sessions_Session_BfdMhopNbrs) GetEntityData() *types.CommonEntityData
type BfdState_Sessions_Session_BfdMhopNbrs_BfdMhopNbr ¶
type BfdState_Sessions_Session_BfdMhopNbrs_BfdMhopNbr struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. Neighbor IP 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}]+)?. Ip interface{} // This attribute is a key. Source IP 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}]+)?. SrcIp interface{} // Local discriminator. The type is interface{} with range: 0..4294967295. Ld interface{} // Remote discriminator. The type is interface{} with range: 0..4294967295. Rd interface{} // Remote Heard. RH state of BFD version '0' is also mapped to up/down. The // type is BfdRemoteStateType. RemoteState interface{} // BFD state. The type is BfdStateType. State interface{} }
BfdState_Sessions_Session_BfdMhopNbrs_BfdMhopNbr List of MHOP neighbors
func (*BfdState_Sessions_Session_BfdMhopNbrs_BfdMhopNbr) GetEntityData ¶
func (bfdMhopNbr *BfdState_Sessions_Session_BfdMhopNbrs_BfdMhopNbr) GetEntityData() *types.CommonEntityData
type BfdState_Sessions_Session_BfdMhopVrfNbrs ¶
type BfdState_Sessions_Session_BfdMhopVrfNbrs struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // List of multi hop neighbors. The type is slice of // BfdState_Sessions_Session_BfdMhopVrfNbrs_BfdMhopVrfNbr. BfdMhopVrfNbr []*BfdState_Sessions_Session_BfdMhopVrfNbrs_BfdMhopVrfNbr }
BfdState_Sessions_Session_BfdMhopVrfNbrs Multi hop neighbors for multi hop neighbor scenario with non-global VRF
func (*BfdState_Sessions_Session_BfdMhopVrfNbrs) GetEntityData ¶
func (bfdMhopVrfNbrs *BfdState_Sessions_Session_BfdMhopVrfNbrs) GetEntityData() *types.CommonEntityData
type BfdState_Sessions_Session_BfdMhopVrfNbrs_BfdMhopVrfNbr ¶
type BfdState_Sessions_Session_BfdMhopVrfNbrs_BfdMhopVrfNbr struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. Neighbor IP 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}]+)?. Ip interface{} // This attribute is a key. Neighbor VFR. The type is string. Vrf interface{} // This attribute is a key. Source IP 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}]+)?. SrcIp interface{} // Local discriminator. The type is interface{} with range: 0..4294967295. Ld interface{} // Remote discriminator. The type is interface{} with range: 0..4294967295. Rd interface{} // Remote Heard. RH state of BFD version '0' is also mapped to up/down. The // type is BfdRemoteStateType. RemoteState interface{} // BFD state. The type is BfdStateType. State interface{} }
BfdState_Sessions_Session_BfdMhopVrfNbrs_BfdMhopVrfNbr List of multi hop neighbors
func (*BfdState_Sessions_Session_BfdMhopVrfNbrs_BfdMhopVrfNbr) GetEntityData ¶
func (bfdMhopVrfNbr *BfdState_Sessions_Session_BfdMhopVrfNbrs_BfdMhopVrfNbr) GetEntityData() *types.CommonEntityData
type BfdState_Sessions_Session_BfdNbrs ¶
type BfdState_Sessions_Session_BfdNbrs struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // List of BFD neighbors. The type is slice of // BfdState_Sessions_Session_BfdNbrs_BfdNbr. BfdNbr []*BfdState_Sessions_Session_BfdNbrs_BfdNbr }
BfdState_Sessions_Session_BfdNbrs BFD neighbor information
func (*BfdState_Sessions_Session_BfdNbrs) GetEntityData ¶
func (bfdNbrs *BfdState_Sessions_Session_BfdNbrs) GetEntityData() *types.CommonEntityData
type BfdState_Sessions_Session_BfdNbrs_BfdNbr ¶
type BfdState_Sessions_Session_BfdNbrs_BfdNbr struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. Neighbor IP 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}]+)?. Ip interface{} // This attribute is a key. Interface. The type is string. Interface interface{} // Local discriminator. The type is interface{} with range: 0..4294967295. Ld interface{} // Remote discriminator. The type is interface{} with range: 0..4294967295. Rd interface{} // Remote Heard. RH state of BFD version '0' is also mapped to up/down. The // type is BfdRemoteStateType. RemoteState interface{} // BFD state. The type is BfdStateType. State interface{} }
BfdState_Sessions_Session_BfdNbrs_BfdNbr List of BFD neighbors
func (*BfdState_Sessions_Session_BfdNbrs_BfdNbr) GetEntityData ¶
func (bfdNbr *BfdState_Sessions_Session_BfdNbrs_BfdNbr) GetEntityData() *types.CommonEntityData
type BfdState_Sessions_Session_BfdTunnelPaths ¶
type BfdState_Sessions_Session_BfdTunnelPaths struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // List of BFD tunnel paths. The type is slice of // BfdState_Sessions_Session_BfdTunnelPaths_BfdTunnelPath. BfdTunnelPath []*BfdState_Sessions_Session_BfdTunnelPaths_BfdTunnelPath }
BfdState_Sessions_Session_BfdTunnelPaths BFD tunnel path information
func (*BfdState_Sessions_Session_BfdTunnelPaths) GetEntityData ¶
func (bfdTunnelPaths *BfdState_Sessions_Session_BfdTunnelPaths) GetEntityData() *types.CommonEntityData
type BfdState_Sessions_Session_BfdTunnelPaths_BfdTunnelPath ¶
type BfdState_Sessions_Session_BfdTunnelPaths_BfdTunnelPath struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. Associated interface. The type is string. Interface interface{} // This attribute is a key. LSP type. The type is BfdLspType. LspType interface{} // Local discriminator. The type is interface{} with range: 0..4294967295. Ld interface{} // Remote discriminator. The type is interface{} with range: 0..4294967295. Rd interface{} // Remote Heard. RH state of BFD version '0' is also mapped to up/down. The // type is BfdRemoteStateType. RemoteState interface{} // BFD state. The type is BfdStateType. State interface{} }
BfdState_Sessions_Session_BfdTunnelPaths_BfdTunnelPath List of BFD tunnel paths
func (*BfdState_Sessions_Session_BfdTunnelPaths_BfdTunnelPath) GetEntityData ¶
func (bfdTunnelPath *BfdState_Sessions_Session_BfdTunnelPaths_BfdTunnelPath) GetEntityData() *types.CommonEntityData