From 95805e0226cffd03bf87bbcfe2225192d0ec1ba3 Mon Sep 17 00:00:00 2001
From: Karel van Klink <karel.vanklink@geant.org>
Date: Fri, 12 Jan 2024 10:33:55 +0100
Subject: [PATCH] add verbs to playbook steps in iBGP workflow

---
 gso/workflows/router/update_ibgp_mesh.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gso/workflows/router/update_ibgp_mesh.py b/gso/workflows/router/update_ibgp_mesh.py
index f6208e25..9c76e288 100644
--- a/gso/workflows/router/update_ibgp_mesh.py
+++ b/gso/workflows/router/update_ibgp_mesh.py
@@ -82,6 +82,7 @@ def add_p_to_mesh_dry(
         "dry_run": True,
         "subscription": subscription,
         "commit_comment": f"GSO_PROCESS_ID: {process_id} - TT_NUMBER: {tt_number} - Update iBGP mesh",
+        "verb": "add_p_to_pe",
     }
 
     provisioning_proxy.execute_playbook(
@@ -101,6 +102,7 @@ def add_p_to_mesh_real(
         "dry_run": False,
         "subscription": subscription,
         "commit_comment": f"GSO_PROCESS_ID: {process_id} - TT_NUMBER: {tt_number} - Update iBGP mesh",
+        "verb": "add_p_to_pe",
     }
 
     provisioning_proxy.execute_playbook(
@@ -127,6 +129,7 @@ def add_all_pe_to_p_dry(
             for router in pe_router_list
         },
         "commit_comment": f"GSO_PROCESS_ID: {process_id} - TT_NUMBER: {tt_number} - Update iBGP mesh",
+        "verb": "add_pe_to_p",
     }
 
     provisioning_proxy.execute_playbook(
@@ -153,6 +156,7 @@ def add_all_pe_to_p_real(
             for router in pe_router_list
         },
         "commit_comment": f"GSO_PROCESS_ID: {process_id} - TT_NUMBER: {tt_number} - Update iBGP mesh",
+        "verb": "add_pe_to_p",
     }
 
     provisioning_proxy.execute_playbook(
-- 
GitLab