Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
GAP Ansible Collection
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GÉANT Orchestration and Automation Team
GAP
GAP Ansible Collection
Merge requests
!148
`iptrunk_migration` updates related to BFD
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
`iptrunk_migration` updates related to BFD
bugfix/nat-619-bfd
into
develop
Overview
0
Commits
2
Pipelines
1
Changes
9
Merged
Aleksandr Kurbatov
requested to merge
bugfix/nat-619-bfd
into
develop
8 months ago
Overview
0
Commits
2
Pipelines
1
Changes
9
Expand
When iptrunk_type == Leased, update is needed to the BFD config on the
remaining_side
.
0
0
Merge request reports
Compare
develop
develop (base)
and
latest version
latest version
10c0f093
2 commits,
8 months ago
9 files
+
87
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
9
Search (e.g. *.vue) (Ctrl+P)
geant/gap_ansible/roles/iptrunk_checks/tasks/check_bfd.yaml
0 → 100644
+
31
−
0
Options
-
name
:
Juniper BFD check
when
:
local_side.iptrunk_side_node.vendor == "juniper"
block
:
-
name
:
Get status of BFD for neighbor "{{ new_node.router.router_lo_ipv4_address }}"
junipernetworks.junos.junos_command
:
commands
:
-
show bfd session address "{{ new_node.router.router_lo_ipv4_address }}"
register
:
response
-
name
:
Show status of BFD neigbor
ansible.builtin.debug
:
msg
:
"
{{
response.stdout_lines[0]
}}"
-
name
:
Nokia BFD check
when
:
local_side.iptrunk_side_node.vendor == "nokia"
block
:
-
name
:
Get status of BFD for neighbor "{{ new_node.router.router_lo_ipv4_address }}"
ansible.netcommon.netconf_rpc
:
rpc
:
action
xmlns
:
"
urn:ietf:params:xml:ns:yang:1"
content
:
|
<global-operations xmlns="urn:nokia.com:sros:ns:yang:sr:oper-global">
<md-cli-raw-command>
<md-cli-input-line>show lag {{ local_side.iptrunk_side_ae_iface | lower }} bfd</md-cli-input-line>
</md-cli-raw-command>
</global-operations>
display
:
json
register
:
out
-
name
:
Show BFD status
ansible.builtin.debug
:
msg
:
"
{{out.output['rpc-reply']['nokiaoper:results']['nokiaoper:md-cli-output-block'].split('
\n
')}}"
Loading