From 39860601de5e0d41115f9653d2bc2e531630eeb1 Mon Sep 17 00:00:00 2001
From: Aleksandr Kurbatov <aleksandr.kurbatov@GL1342.local>
Date: Thu, 6 Jun 2024 22:33:09 +0100
Subject: [PATCH] remove tt_number from `add_all_pe_to_p_dry`

tt_number is not needed in the `dry` run anyway, and is not supplied
from the `validate_router` workflow.
---
 gso/utils/workflow_steps.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/gso/utils/workflow_steps.py b/gso/utils/workflow_steps.py
index 4edb906c..252f5f3e 100644
--- a/gso/utils/workflow_steps.py
+++ b/gso/utils/workflow_steps.py
@@ -124,13 +124,12 @@ def prompt_sharepoint_checklist_url(checklist_url: str) -> FormGenerator:
 
 
 @step("[DRY RUN] Add all PE routers to P router iBGP table")
-def add_all_pe_to_p_dry(subscription: dict[str, Any], callback_route: str, tt_number: str, process_id: UUIDstr) -> None:
+def add_all_pe_to_p_dry(subscription: dict[str, Any], callback_route: str, process_id: UUIDstr) -> None:
     """Perform a dry run of adding the list of all PE routers to the new P router."""
     extra_vars = {
         "dry_run": True,
         "subscription": subscription,
         "pe_router_list": subscriptions.get_active_pe_router_dict(),
-        "commit_comment": f"GSO_PROCESS_ID: {process_id} - TT_NUMBER: {tt_number} - Update iBGP mesh",
         "verb": "add_pe_to_p",
     }
 
-- 
GitLab