From a41717758ef78d02eb28435a9ceaa9383cdd55b6 Mon Sep 17 00:00:00 2001 From: Mohammad Torkashvand <mohammad.torkashvand@geant.org> Date: Tue, 6 Aug 2024 12:00:03 +0200 Subject: [PATCH] add geant_s_sid to the network api used by map --- gso/api/v1/network.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gso/api/v1/network.py b/gso/api/v1/network.py index 9109fd6f..9b385c8e 100644 --- a/gso/api/v1/network.py +++ b/gso/api/v1/network.py @@ -62,6 +62,7 @@ class IptrunkBlock(OrchestratorBaseModel): iptrunk_capacity: str iptrunk_isis_metric: int iptrunk_sides: list[IptrunkSideBlock] + geant_s_sid: str class IptrunkSchema(OrchestratorBaseModel): @@ -106,6 +107,7 @@ def network_topology() -> NetworkTopologyDomainModelSchema: "iptrunk_capacity": _calculate_iptrunk_capacity( extended_model["iptrunk"]["iptrunk_sides"], extended_model["iptrunk"]["iptrunk_speed"] ), + "geant_s_sid": extended_model["iptrunk"]["geant_s_sid"], "iptrunk_sides": [ { "subscription_instance_id": side["subscription_instance_id"], -- GitLab