Skip to content
Snippets Groups Projects
Commit a4171775 authored by Mohammad Torkashvand's avatar Mohammad Torkashvand
Browse files

add geant_s_sid to the network api used by map

parent 5b9b2ddb
No related branches found
No related tags found
1 merge request!248add geant_s_sid to the network api used by map
Pipeline #88301 failed
......@@ -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"],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment