Skip to content

Commit

Permalink
create circuit endpoints use site hfid instead of default_filter
Browse files Browse the repository at this point in the history
  • Loading branch information
wvandeun committed Oct 23, 2024
1 parent a1081c5 commit 38db33f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions models/infrastructure_edge.py
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ async def create_backbone_connectivity(
branch=branch,
kind="InfraCircuitEndpoint",
description=f"Endpoint {backbone_link.circuit} to {backbone_link.site1_device}",
site=backbone_link.site1,
site={"hfid": [backbone_link.site1]},
circuit=obj,
connected_endpoint=intf1,
)
Expand All @@ -606,7 +606,7 @@ async def create_backbone_connectivity(
branch=branch,
kind="InfraCircuitEndpoint",
description=f"Endpoint {backbone_link.circuit} to {backbone_link.site2_device}",
site=backbone_link.site2,
site={"hfid": [backbone_link.site2]},
circuit=obj,
connected_endpoint=intf2,
)
Expand Down

0 comments on commit 38db33f

Please sign in to comment.