From a2e3f6edec30e0fabb6e46e269e6484243e7ff65 Mon Sep 17 00:00:00 2001
From: Aleksandr Kurbatov <ak@geant.org>
Date: Mon, 25 Nov 2024 19:25:20 +0000
Subject: [PATCH] `validate_router` - change in P-BGP verb

Using `add_pe_to_p` will check that all PE neighbors are present in the
list of BGP neighbors in P-ONLY group.
`verify_p_ibgp` had a custom template to regenerate the entire BGP
config on a P router - this is legacy.
---
 gso/workflows/router/validate_router.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gso/workflows/router/validate_router.py b/gso/workflows/router/validate_router.py
index f85299f6..7e96438a 100644
--- a/gso/workflows/router/validate_router.py
+++ b/gso/workflows/router/validate_router.py
@@ -59,7 +59,7 @@ def verify_p_ibgp(subscription: dict[str, Any]) -> LSOState:
         "dry_run": True,
         "subscription": subscription,
         "pe_router_list": generate_inventory_for_routers(RouterRole.PE)["all"]["hosts"],
-        "verb": "verify_p_ibgp",
+        "verb": "add_pe_to_p",
         "is_verification_workflow": "true",
     }
 
-- 
GitLab