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

add owner_subscription_id to the network api used by maps

parent 869dccf4
No related branches found
No related tags found
1 merge request!249add owner_subscription_id to the network api used by maps
Pipeline #88322 failed
......@@ -42,6 +42,7 @@ class RouterBlock(OrchestratorBaseModel):
router_role: RouterRole
vendor: Vendor
router_site: SiteBlock
owner_subscription_id: UUID
class IptrunkSideBlock(OrchestratorBaseModel):
......@@ -121,6 +122,7 @@ def network_topology() -> NetworkTopologyDomainModelSchema:
"router_role": side["iptrunk_side_node"]["router_role"],
"vendor": side["iptrunk_side_node"]["vendor"],
"router_site": side["iptrunk_side_node"]["router_site"],
"owner_subscription_id": side["iptrunk_side_node"]["owner_subscription_id"],
},
}
for side in extended_model["iptrunk"]["iptrunk_sides"]
......
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