Skip to content

Commit

Permalink
reverting dict
Browse files Browse the repository at this point in the history
  • Loading branch information
Vibhu-gslab committed Feb 24, 2025
1 parent 03a6f27 commit b79f7f1
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,13 @@ def router_bgp(self: AvdStructuredConfigCoreInterfacesAndL3EdgeProtocol) -> None

# RFC5549
if self.inputs.underlay_rfc5549 and p2p_link.routing_protocol != "ebgp":
self.structured_config.router_bgp.neighbor_interfaces.append_new(name=p2p_link_data["interface"], **neighbor._as_dict())
self.structured_config.router_bgp.neighbor_interfaces.append_new(
name=p2p_link_data["interface"],
remote_as=p2p_link_data["peer_bgp_as"],
peer=p2p_link_data["peer"],
description=p2p_link_data["peer"],
peer_group=self.inputs.bgp_peer_groups.ipv4_underlay_peers.name,
)
continue

# Regular BGP Neighbors
Expand Down

0 comments on commit b79f7f1

Please sign in to comment.