Check Default Bgp Peers#
Workflows → CDCheck Default Bgp Peers
The CheckDefaultBGPPeers workflow can be used to query the status of all BGP sessions in the default VRF, across a selection of nodes. More specifically, for a list of nodes, it loops over all DefaultBGPPeers configured on those nodes and looks up whether the session is established on the relevant node.
Workflow definition#
The selection of the nodes can be done in one of two ways:
- via the node selector, by selecting individual nodes
- via the label selector, which selects all nodes that have the label assigned to them
If both the node selector and the label selector are left empty, no nodes will be selected.
The Waitfor parameter
The Waitfor parameter of this workflow waits for the nodes on which the workflow is run to be ready, not for the sessions to be ready!
Workflow execution#
The result of the workflow, upon completion, is the number of BGP sessions that were operational compared to the number of BGP sessions that have an associated DefaultBGPPeer resource. For example:
Dependencies#
This workflow has no dependencies. If no nodes were selected by the node selector or no nodes matched the label selector, the workflow will complete successfully.
Examples#
Custom Resource Definition#
To browse the Custom Resource Definition go to crd.eda.dev.
CheckDefaultBgpPeers
SPEC
CheckDefaultBgpPeersSpec defines the desired state of CheckDefaultBgpPeers
STATUS
CheckDefaultBgpPeersStatus defines the observed state of CheckDefaultBgpPeers
-
Aggregate result of the Flow