diff --git a/gso/workflows/router/update_ibgp_mesh.py b/gso/workflows/router/update_ibgp_mesh.py index 1b43273ccff72b24c68ec10f59d12394d106a011..23379ba079804d7bdec8a8d34e4100c4b4dde0ae 100644 --- a/gso/workflows/router/update_ibgp_mesh.py +++ b/gso/workflows/router/update_ibgp_mesh.py @@ -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}, }