Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LSO
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
GÉANT Orchestration and Automation Team
GAP
LSO
Merge requests
!40
Few fixes for checking trunks
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Few fixes for checking trunks
NAT-230_Add_ISIS_and_ping_checks_to_create_iptrunk_workflow
into
develop
Overview
0
Commits
2
Pipelines
2
Changes
1
Merged
Simone Spinelli
requested to merge
NAT-230_Add_ISIS_and_ping_checks_to_create_iptrunk_workflow
into
develop
1 year ago
Overview
0
Commits
2
Pipelines
2
Changes
1
Expand
Adding check parameter and fixing playbook name for IPTRUNK checks.
0
0
Merge request reports
Compare
develop
version 1
8001d826
1 year ago
develop (base)
and
latest version
latest version
9a7a55ed
2 commits,
1 year ago
version 1
8001d826
1 commit,
1 year ago
1 file
+
2
−
4
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
lso/routes/ip_trunk.py
+
2
−
4
Options
@@ -169,14 +169,12 @@ def check_ip_trunk(params: IPTrunkCheckParams) -> PlaybookLaunchResponse:
:return: Response from the Ansible runner, including a run ID.
:rtype: :class:`lso.playbook.PlaybookLaunchResponse`
"""
extra_vars
=
{
"
wfo_ip_trunk_json
"
:
params
.
subscription
,
}
extra_vars
=
{
"
wfo_ip_trunk_json
"
:
params
.
subscription
,
"
check
"
:
params
.
check_name
}
# FIXME: needs to be updated when checks become available, this includes
# writing tests.
return
run_playbook
(
playbook_path
=
path
.
join
(
config_params
.
ansible_playbooks_root_dir
,
f
"
{
params
.
check_name
}
.yaml
"
),
playbook_path
=
path
.
join
(
config_params
.
ansible_playbooks_root_dir
,
"
iptrunks_checks
.yaml
"
),
inventory
=
params
.
subscription
[
"
iptrunk
"
][
"
iptrunk_sideA_node
"
][
"
device_fqdn
"
],
extra_vars
=
extra_vars
,
callback
=
params
.
callback
,
Loading