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

Include Provisioning routers by default when calculating an iBGP mesh

parent f396fe73
No related branches found
No related tags found
1 merge request!308Also include provisioning routers for iBGP mesh in trunk validation workflow
Pipeline #90553 failed
......@@ -128,7 +128,7 @@ def generate_inventory_for_routers(
exclude_routers: list[str] | None = None,
router_vendor: Vendor | None = None,
*,
include_provisioning_routers: bool = False,
include_provisioning_routers: bool = True,
) -> dict:
"""Generate an Ansible-compatible inventory for executing playbooks.
......
......@@ -58,9 +58,7 @@ def verify_p_ibgp(subscription: dict[str, Any]) -> LSOState:
extra_vars = {
"dry_run": True,
"subscription": subscription,
"pe_router_list": generate_inventory_for_routers(RouterRole.PE, include_provisioning_routers=True)["all"][
"hosts"
],
"pe_router_list": generate_inventory_for_routers(RouterRole.PE)["all"]["hosts"],
"verb": "verify_p_ibgp",
"is_verification_workflow": "true",
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment