[action] [PR:16956] Enhance minigraph link template for autonegotiation and remove requirement to add autoneg interfaces in topo file#17261
Merged
mssonicbld merged 1 commit intosonic-net:202411from Mar 3, 2025
Conversation
…ement to add autoneg interfaces in topo file (sonic-net#16956) This PR updates the minigraph_link_meta.j2 template and topology configuration to enhance how AutoNegotiation (autoneg) interfaces are processed in SONiC's Ansible scripts. The changes streamline interface detection and remove redundant conditions. Removed dependency on msft_an_enabled for processing autoneg_interfaces. Improved logic to check for 'autoneg' directly in device_conn rather than relying on predefined interface lists. Ensured FEC settings are included only if msft_an_enabled is defined. Type of change Signed-off-by: Vaibhav Dahiya <vdahiya@microsoft.com>
Collaborator
Author
|
/azp run |
11 tasks
Collaborator
Author
|
Original PR: #16956 |
|
Azure Pipelines successfully started running 1 pipeline(s). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of PR
This PR updates the
minigraph_link_meta.j2template and topology configuration to enhance how AutoNegotiation (autoneg) interfaces are processed in SONiC's Ansible scripts. The changes streamline interface detection and remove redundant conditions.Summary:
Fixes # (issue)
msft_an_enabledfor processingautoneg_interfaces.'autoneg'directly indevice_connrather than relying on predefined interface lists.msft_an_enabledis defined.Type of change
Back port request
Approach
What is the motivation for this PR?
How did you do it?
How did you verify/test it?
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation