From 2ecdf30c294a00e47c4c64ed214249c56429a07c Mon Sep 17 00:00:00 2001
From: Simone Spinelli <simone.spinelli@geant.org>
Date: Sat, 22 Apr 2023 13:13:58 +0000
Subject: [PATCH] Including all the recent changes

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

diff --git a/gso/workflows/iptrunk/create_iptrunk.py b/gso/workflows/iptrunk/create_iptrunk.py
index f4e7685e..73b7747f 100644
--- a/gso/workflows/iptrunk/create_iptrunk.py
+++ b/gso/workflows/iptrunk/create_iptrunk.py
@@ -48,6 +48,18 @@ def initial_input_form_generator(product_name: str) -> FormGenerator:
         geant_s_sid: str
         iptrunk_sideA_fqdn: device_selector(choice_value='DeviceEnumA')
         iptrunk_sideB_fqdn: device_selector(choice_value='DeviceEnumB')
+        iptrunk_speed: str  # This should be an enum: 1/10/100/400
+        iptrunk_minimum_links: int
+        iptrunk_sideA_fqdn: a_side_device_selector()
+        iptrunk_sideA_ae_iface: str
+        iptrunk_sideA_ae_members: list[str]
+        iptrunk_sideB_fqdn: b_side_device_selector()
+        iptrunk_sideB_ae_iface: str
+        iptrunk_sideA_ae_members: list[str]
+        # TODO: we need additional validation: 
+        # sideA fqdn must be different from sideB fqdn
+        # the lenght of iptrunk_sideA_ae_members should be the same as iptrunk_sideA_ae_members
+        # interface names must be validated
 
     user_input = yield CreateIptrunkForm
 
-- 
GitLab