Skip to content

Move media_settings.json to platform directory#24884

Merged
lguohan merged 7 commits intosonic-net:masterfrom
nexthop-ai:bgallagher.nos-3392.ment-1
Jan 16, 2026
Merged

Move media_settings.json to platform directory#24884
lguohan merged 7 commits intosonic-net:masterfrom
nexthop-ai:bgallagher.nos-3392.ment-1

Conversation

@bgallagher-nexthop
Copy link
Copy Markdown
Contributor

@bgallagher-nexthop bgallagher-nexthop commented Dec 17, 2025

Why I did it

Move the media_settings.json from the hwsku folder to the parent platform directory since it can be shared across many hwskus for this hardware platform.

Work item tracking

N/A

How I did it

I moved x86_64-nexthop_5010-r0/NH-5010-F-O64/media_settings.json to x86_64-nexthop_5010-r0/media_settings.json.

How to verify it

Manually tested the change on an in-house device.

Which release branch to backport (provide reason below if selected)

  • 202305
  • 202311
  • 202405
  • 202411
  • 202505
  • 202511

Tested branch (Please provide the tested image version)

N/A

Description for the changelog

Move the media_settings.json from the hwsku folder to the parent platform directory since it can be shared across many hwskus for the x86_64-nexthop_5010-r0 hardware platform.

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run Azure.sonic-buildimage

@linux-foundation-easycla
Copy link
Copy Markdown

linux-foundation-easycla Bot commented Dec 17, 2025

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: bgallagher-nexthop / name: Brian Gallagher (bdfed1f)

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

Move the media_settings.json from the hwsku folder to the parent
platform directory since it can be shared across many hwskus for this
hardware platform.

Signed-off-by: Brian Gallagher <bgallagher@nexthop.ai>
@bgallagher-nexthop bgallagher-nexthop force-pushed the bgallagher.nos-3392.ment-1 branch from bbc8f0e to 96f389a Compare December 17, 2025 18:48
@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@bgallagher-nexthop bgallagher-nexthop marked this pull request as ready for review December 18, 2025 17:51
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@bgallagher-nexthop is this a symlink? I don't see any content in the file

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

No symlink -- it contains the JSON content, but Github doesn't seem to render any diff for this since it was just a file rename without any other changes:

git mv device/nexthop/x86_64-nexthop_5010-r0/NH-5010-F-064/media_settings.json device/nexthop/x86_64-nexthop_5010-r0/media_settings.json

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@lguohan lguohan merged commit bbdc24f into sonic-net:master Jan 16, 2026
23 checks passed
@mssonicbld
Copy link
Copy Markdown
Collaborator

Cherry-pick PR to 202511: #25179

@mssonicbld
Copy link
Copy Markdown
Collaborator

@bgallagher-nexthop cherry pick PR didn't pass PR checker. Please check!!!
#25179

3 similar comments
@mssonicbld
Copy link
Copy Markdown
Collaborator

@bgallagher-nexthop cherry pick PR didn't pass PR checker. Please check!!!
#25179

@mssonicbld
Copy link
Copy Markdown
Collaborator

@bgallagher-nexthop cherry pick PR didn't pass PR checker. Please check!!!
#25179

@mssonicbld
Copy link
Copy Markdown
Collaborator

@bgallagher-nexthop cherry pick PR didn't pass PR checker. Please check!!!
#25179

FengPan-Frank pushed a commit to FengPan-Frank/sonic-buildimage that referenced this pull request Mar 6, 2026
…24884)

Move the media_settings.json from the hwsku folder to the parent
platform directory since it can be shared across many hwskus for this
hardware platform.

Signed-off-by: Brian Gallagher <bgallagher@nexthop.ai>
Co-authored-by: arpit-nexthop <arpit@nexthop.ai>
Co-authored-by: saravanan sellappa <saravanan@nexthop.ai>
Signed-off-by: Feng Pan <fenpan@microsoft.com>
dprital pushed a commit that referenced this pull request Mar 19, 2026
Move the media_settings.json from the hwsku folder to the parent
platform directory since it can be shared across many hwskus for this
hardware platform.

Signed-off-by: Brian Gallagher <bgallagher@nexthop.ai>
Co-authored-by: arpit-nexthop <arpit@nexthop.ai>
Co-authored-by: saravanan sellappa <saravanan@nexthop.ai>
Signed-off-by: dprital <drorp@nvidia.com>
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.

8 participants