From cf9a1cfcb7d028ccf01ab918550239ed946bbcd2 Mon Sep 17 00:00:00 2001 From: Karel van Klink <karel.vanklink@geant.org> Date: Tue, 3 Dec 2024 12:54:43 +0100 Subject: [PATCH] Update PE router list attribute in ibgp mesh update --- gso/workflows/router/update_ibgp_mesh.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gso/workflows/router/update_ibgp_mesh.py b/gso/workflows/router/update_ibgp_mesh.py index 80dda3558..5940898c8 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", } -- GitLab