Skip to content
Snippets Groups Projects
Commit 8001d826 authored by root's avatar root
Browse files

Few fixes for checking trunks

parent 0fbc80df
No related branches found
No related tags found
1 merge request!40Few fixes for checking trunks
Pipeline #83791 failed
This commit is part of merge request !40. Comments created here will be created in the context of that merge request.
......@@ -171,12 +171,13 @@ def check_ip_trunk(params: IPTrunkCheckParams) -> PlaybookLaunchResponse:
"""
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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment