Skip to content

Commit

Permalink
Update python-avd/pyavd/_eos_designs/eos_designs_facts/uplinks.py
Browse files Browse the repository at this point in the history
Co-authored-by: Vibhu-gslab <[email protected]>
  • Loading branch information
laxmikantchintakindi and Vibhu-gslab committed Jan 14, 2025
1 parent 92de76c commit ae19691
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python-avd/pyavd/_eos_designs/eos_designs_facts/uplinks.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def _get_p2p_uplink(self: EosDesignsFacts, uplink_index: int, uplink_interface:

if uplink_ptp := self.shared_utils.node_config.uplink_ptp:
uplink["ptp"] = uplink_ptp._as_dict()
elif self.shared_utils.ptp_enabled and (not (ptp_uplinks := self.shared_utils.ptp_uplinks) or (ptp_uplinks and (uplink_interface in ptp_uplinks))):
elif self.shared_utils.ptp_enabled and (not (ptp_uplinks := self.shared_utils.ptp_uplinks) or (uplink_interface in ptp_uplinks)):
uplink["ptp"] = {"enable": True}

if self.shared_utils.node_config.uplink_macsec.profile:
Expand Down

0 comments on commit ae19691

Please sign in to comment.