From e37e2c204d33704c4a71bfee5521cf990b935211 Mon Sep 17 00:00:00 2001
From: Aleksandr Kurbatov <aleksandr.kurbatov@GL1342.local>
Date: Mon, 18 Mar 2024 15:38:45 +0000
Subject: [PATCH] corrected list of arguments

---
 gso/workflows/iptrunk/migrate_iptrunk.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gso/workflows/iptrunk/migrate_iptrunk.py b/gso/workflows/iptrunk/migrate_iptrunk.py
index 209a6ec7..6c6056f5 100644
--- a/gso/workflows/iptrunk/migrate_iptrunk.py
+++ b/gso/workflows/iptrunk/migrate_iptrunk.py
@@ -224,6 +224,7 @@ def calculate_old_side_data(subscription: Iptrunk, replace_index: int) -> State:
 def check_ip_trunk_optical_levels(
     subscription: Iptrunk,
     callback_route: str,
+    replace_index: int,
 ) -> State:
     """Check Optical levels on the trunk."""
     extra_vars = {"wfo_ip_trunk_json": json.loads(json_dumps(subscription)), "check": "optical"}
@@ -407,6 +408,7 @@ def confirm_continue_move_fiber() -> FormGenerator:
 def check_ip_trunk_connectivity(
     subscription: Iptrunk,
     callback_route: str,
+    replace_index: int,
 ) -> State:
     """Check successful connectivity across the new trunk."""
     extra_vars = {"wfo_ip_trunk_json": json.loads(json_dumps(subscription)), "check": "ping"}
@@ -462,6 +464,7 @@ def deploy_new_isis(
 def check_ip_trunk_isis(
     subscription: Iptrunk,
     callback_route: str,
+    replace_index: int,
 ) -> State:
     """Run an Ansible playbook to confirm :term:`ISIS` adjacency."""
     extra_vars = {"wfo_ip_trunk_json": json.loads(json_dumps(subscription)), "check": "isis"}
-- 
GitLab