diff --git a/gso/workflows/router/update_ibgp_mesh.py b/gso/workflows/router/update_ibgp_mesh.py index 80dda3558032e3c8718cce971e5747850202b834..5940898c8727bd03871e99a671c47fafba4fc6be 100644 --- a/gso/workflows/router/update_ibgp_mesh.py +++ b/gso/workflows/router/update_ibgp_mesh.py @@ -107,7 +107,7 @@ def add_all_pe_to_p_dry(subscription: dict[str, Any]) -> LSOState: extra_vars = { "dry_run": True, "subscription": subscription, - "pe_router_list": generate_inventory_for_routers(RouterRole.PE), + "pe_router_list": generate_inventory_for_routers(RouterRole.PE)["all"]["hosts"], "verb": "add_pe_to_p", } @@ -124,7 +124,7 @@ def add_all_pe_to_p_real(subscription: dict[str, Any], tt_number: str, process_i extra_vars = { "dry_run": False, "subscription": subscription, - "pe_router_list": generate_inventory_for_routers(RouterRole.PE), + "pe_router_list": generate_inventory_for_routers(RouterRole.PE)["all"]["hosts"], "commit_comment": f"GSO_PROCESS_ID: {process_id} - TT_NUMBER: {tt_number} - Update iBGP mesh", "verb": "add_pe_to_p", }