Skip to content

[action] [PR:20030] update autoneg setting to support 'off' when deploy-mg#20063

Closed
mssonicbld wants to merge 1 commit intosonic-net:202505from
mssonicbld:cherry/202505/20030
Closed

[action] [PR:20030] update autoneg setting to support 'off' when deploy-mg#20063
mssonicbld wants to merge 1 commit intosonic-net:202505from
mssonicbld:cherry/202505/20030

Conversation

@mssonicbld
Copy link
Collaborator

Description of PR

Summary:
Current 'autoneg' column in links.csv only support 'on'. If it's 'off' or other settings, it will default to platform.json behavior.
This PR add the support for 'off' settings.
For DUT which want to use the default behavior, it can leave that column empty, or use any other value, e.g. 'none'

Note: There will be a behavior change if user is using off in links.csv already for their DUT.
old behavior: the autoneg settings will be derived from platform.json, which chould be on or off or not defined.
new behavior: will be off always.
If users is using off already, they need to update their links.csv to leave autoneg field as empty if they want to use the default settings in platform.json.

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • New Test case
  • Skipped for non-supported platforms
  • Test case improvement

Back port request

  • 202205
  • 202305
  • 202311
  • 202405
  • 202411
  • 202505

Approach

What is the motivation for this PR?

update autoneg setting to support 'off'

How did you do it?

Check autoneg value for both on and off in minigraph

How did you verify/test it?

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

Summary:
Current 'autoneg' column in links.csv only support 'on'. If it's 'off' or other settings, it will default to platform.json behavior.
This PR add the support for 'off' settings.
For DUT which want to use the default behavior, it can leave that column empty, or use any other value, e.g. 'none'

Note: There will be a behavior change if user is using off in links.csv already for their DUT.
old behavior: the autoneg settings will be derived from platform.json, which chould be on or off or not defined.
new behavior: will be off always.
If users is using off already, they need to update their links.csv to leave autoneg field as empty if they want to use the default settings in platform.json.

What is the motivation for this PR?
update autoneg setting to support 'off'

How did you do it?
Check autoneg value for both on and off in minigraph
@mssonicbld
Copy link
Collaborator Author

Original PR: #20030

@sdszhang sdszhang closed this Aug 8, 2025
@sdszhang sdszhang reopened this Aug 8, 2025
@mssonicbld
Copy link
Collaborator Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@sdszhang sdszhang closed this Aug 9, 2025
@sdszhang
Copy link
Contributor

sdszhang commented Aug 9, 2025

close due to pipeline error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants