Commit 5105175
committed
[Nexthop][M4062NHP] Add Platform Manager support
**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.1 parent ba96ca6 commit 5105175
5 files changed
Lines changed: 738 additions & 0 deletions
File tree
- cmake
- fboss/platform
- config_lib
- configs/m4062nhp
- platform_manager/tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| 56 | + | |
55 | 57 | | |
56 | 58 | | |
57 | 59 | | |
| |||
0 commit comments