Skip to content

[Nexthop][m4062nhp] Add Platform Manager support#1332

Open
anna-nexthop wants to merge 4 commits into
facebook:mainfrom
nexthop-ai:anna-nexthop.m4062nhp-platform-manager
Open

[Nexthop][m4062nhp] Add Platform Manager support#1332
anna-nexthop wants to merge 4 commits into
facebook:mainfrom
nexthop-ai:anna-nexthop.m4062nhp-platform-manager

Conversation

@anna-nexthop

Copy link
Copy Markdown
Contributor

Pre-submission checklist

  • I've ran the linters locally and fixed lint errors related to the
    files I modified in this PR. You can install the linters by running pip install -r requirements-dev.txt && pre-commit install
  • pre-commit run

Summary

Add platform_manager.json for the M4062nhp platform, modeling the SCM and SMB PmUnits (PCI/I2C/FPGA topology, chassis EEPROM, port LEDs, fans, PSUs) per the Platform Manager spec. Also add a ConfigLibTest case that deserializes and validates the committed config.

Requires #1330 for exposing two additional cpu busses off of the ASIC. The changes are encompassed in 80a8392

Test Plan

Validated the JSON parses and conforms to platform_manager_config.thrift.
Built the BSP kmods RPM from nexthop-ai/nexthop.fboss.bsp.kmods and confirmed it provides every module in requiredKmodsToLoad.
Added a ConfigLibTest case that deserializes and runs ConfigValidator on the committed config.

**Pre-submission checklist**
- [x] I've ran the linters locally and fixed lint errors related to the
files I modified in this PR. You can install the linters by running `pip
install -r requirements-dev.txt && pre-commit install`
- [x] `pre-commit run`

**Summary
Add platform_manager.json for the M4062nhp platform, modeling the SCM
and SMB PmUnits (PCI/I2C/FPGA topology, chassis EEPROM, port LEDs, fans,
PSUs) per the Platform Manager spec. Also add a ConfigLibTest case that
deserializes and validates the committed config.

**Test Plan
Validated the JSON parses and conforms to
platform_manager_config.thrift.
Built the BSP kmods RPM from nexthop-ai/nexthop.fboss.bsp.kmods and
confirmed it provides every module in requiredKmodsToLoad.
Added a ConfigLibTest case that deserializes and runs ConfigValidator
on the committed config.
@anna-nexthop anna-nexthop force-pushed the anna-nexthop.m4062nhp-platform-manager branch from 95c978b to 5105175 Compare June 29, 2026 19:36
@anna-nexthop anna-nexthop marked this pull request as ready for review June 29, 2026 22:12
@anna-nexthop anna-nexthop requested review from a team as code owners June 29, 2026 22:12
@meta-codesync

meta-codesync Bot commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

@somasun has imported this pull request. If you are a Meta employee, you can view this in D110123487.

Comment thread fboss/platform/configs/m4062nhp/platform_manager.json Outdated
Comment thread fboss/platform/configs/m4062nhp/platform_manager.json
@anna-nexthop anna-nexthop requested a review from somasun June 30, 2026 21:37
@facebook-github-tools

Copy link
Copy Markdown

@anna-nexthop has updated the pull request. You must reimport the pull request before landing.

@facebook-github-tools

Copy link
Copy Markdown

@anna-nexthop has updated the pull request. You must reimport the pull request before landing.

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

2 participants