From 2e764fb20db5a7db652018934050f4a6986e600a Mon Sep 17 00:00:00 2001
From: Neda Moeini <neda.moeini@geant.org>
Date: Wed, 21 Aug 2024 08:57:43 +0200
Subject: [PATCH] Remove ae_iface from EdgePort product block since it is
 always the same as the Edge port name.

---
 gso/products/product_blocks/edge_port.py | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/gso/products/product_blocks/edge_port.py b/gso/products/product_blocks/edge_port.py
index cb042581..58d4c058 100644
--- a/gso/products/product_blocks/edge_port.py
+++ b/gso/products/product_blocks/edge_port.py
@@ -86,7 +86,6 @@ class EdgePortBlockInactive(
     edge_port_type: EdgePortType
     edge_port_ignore_if_down: bool = False
     edge_port_geant_ga_id: str | None = None
-    edge_port_ae_iface: str | None = None
     edge_port_ae_members: LAGMemberList[EdgePortInterfaceBlockInactive]
 
 
@@ -103,7 +102,6 @@ class EdgePortBlockProvisioning(EdgePortBlockInactive, lifecycle=[SubscriptionLi
     edge_port_type: EdgePortType
     edge_port_ignore_if_down: bool = False
     edge_port_geant_ga_id: str | None = None
-    edge_port_ae_iface: str | None = None
     edge_port_ae_members: LAGMemberList[EdgePortInterfaceBlockProvisioning]  # type: ignore[assignment]
 
 
@@ -112,7 +110,7 @@ class EdgePortBlock(EdgePortBlockProvisioning, lifecycle=[SubscriptionLifecycle.
 
     #: The router that this edge port is connected to.
     node: RouterBlockInactive
-    #: The name of the edge port.
+    #: The name of the edge port. In our case, this is the name of the LAG interface.
     edge_port_name: str
     #: Indicates whether LACP (Link Aggregation Control Protocol) is enabled for this edge port.
     edge_port_enable_lacp: bool
@@ -130,7 +128,5 @@ class EdgePortBlock(EdgePortBlockProvisioning, lifecycle=[SubscriptionLifecycle.
     edge_port_ignore_if_down: bool = False
     #: The GEANT GA ID associated with this edge port, if any.
     edge_port_geant_ga_id: str | None = None
-    #: The interface name for the aggregated Ethernet (AE) interface, if applicable.
-    edge_port_ae_iface: str | None = None
     #: A list of LAG members associated with this edge port.
     edge_port_ae_members: LAGMemberList[EdgePortInterfaceBlock]  # type: ignore[assignment]
-- 
GitLab