Skip to content

update autoneg setting to support 'off' when deploy-mg#20030

Merged
StormLiangMS merged 1 commit intosonic-net:masterfrom
sdszhang:autoneg_setting
Aug 5, 2025
Merged

update autoneg setting to support 'off' when deploy-mg#20030
StormLiangMS merged 1 commit intosonic-net:masterfrom
sdszhang:autoneg_setting

Conversation

@sdszhang
Copy link
Contributor

@sdszhang sdszhang commented Aug 2, 2025

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.

value old behavior new behavior
off derived from platform.json, which could be on or off or not defined. 'off' always
on 'on' always 'on' always (no change)
empty or
other values
derived from platform.json derived from platform.json (no change)

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

@sdszhang sdszhang requested review from wangxin and yxieca as code owners August 2, 2025 15:21
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Collaborator

@StormLiangMS StormLiangMS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@StormLiangMS StormLiangMS merged commit 277c39c into sonic-net:master Aug 5, 2025
21 checks passed
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Aug 5, 2025
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

Cherry-pick PR to 202505: #20063

@mssonicbld
Copy link
Collaborator

Cherry-pick PR to msft-202412: Azure/sonic-mgmt.msft#632

nissampa pushed a commit to nissampa/sonic-mgmt_dpu_test that referenced this pull request Aug 7, 2025
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 pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Aug 9, 2025
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

Cherry-pick PR to 202505: #20166

mssonicbld pushed a commit that referenced this pull request Aug 11, 2025
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
ashutosh-agrawal pushed a commit to ashutosh-agrawal/sonic-mgmt that referenced this pull request Aug 14, 2025
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
@sdszhang sdszhang deleted the autoneg_setting branch September 13, 2025 10:22
kanchanavelusamy pushed a commit to kanchanavelusamy/sonic-mgmt that referenced this pull request Oct 7, 2025
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
vidyac86 pushed a commit to vidyac86/sonic-mgmt that referenced this pull request Oct 23, 2025
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
opcoder0 pushed a commit to opcoder0/sonic-mgmt that referenced this pull request Dec 8, 2025
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

Signed-off-by: opcoder0 <[email protected]>
gshemesh2 pushed a commit to gshemesh2/sonic-mgmt that referenced this pull request Dec 16, 2025
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

Signed-off-by: Guy Shemesh <[email protected]>
AharonMalkin pushed a commit to AharonMalkin/sonic-mgmt that referenced this pull request Dec 16, 2025
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

Signed-off-by: Aharon Malkin <[email protected]>
gshemesh2 pushed a commit to gshemesh2/sonic-mgmt that referenced this pull request Dec 21, 2025
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

Signed-off-by: Guy Shemesh <[email protected]>
venu-nexthop pushed a commit to venu-nexthop/sonic-mgmt that referenced this pull request Jan 13, 2026
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
gshemesh2 pushed a commit to gshemesh2/sonic-mgmt that referenced this pull request Jan 26, 2026
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

Signed-off-by: Guy Shemesh <[email protected]>
ytzur1 pushed a commit to ytzur1/sonic-mgmt that referenced this pull request Feb 2, 2026
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

Signed-off-by: Yael Tzur <[email protected]>
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.

5 participants