Skip to content
Snippets Groups Projects
Commit e26f82d0 authored by Karel van Klink's avatar Karel van Klink :smiley_cat:
Browse files

prevent sending an empty extra_vars in iBGP check run

parent d1774281
No related branches found
No related tags found
1 merge request!319Update empty extra_vars and PE router list in ibgp mesh update
This commit is part of merge request !319. Comments created here will be created in the context of that merge request.
......@@ -155,12 +155,12 @@ def add_all_pe_to_p_real(subscription: dict[str, Any], tt_number: str, process_i
@step("Verify iBGP session health")
def check_ibgp_session(subscription: Router) -> LSOState:
def check_ibgp_session(subscription: dict[str, Any]) -> LSOState:
"""Run a playbook using the provisioning proxy, to check the health of the new iBGP session."""
return {
"playbook_name": "gap_ansible/playbooks/check_ibgp.yaml",
"inventory": {"all": {"hosts": {subscription.router.router_fqdn: None}}},
"extra_vars": {},
"inventory": {"all": {"hosts": {subscription["router"]["router_fqdn"]: None}}},
"extra_vars": {"subscription": subscription},
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment