Skip to content

[Nexthop][m4061nhp] Add the asic_config_v3 config - #1841

Open
lotus-nexthop wants to merge 6 commits into
meta:mainfrom
nexthop-ai:lotus.m4061nhp-asic-config
Open

lotus-nexthop wants to merge 6 commits into
meta:mainfrom
nexthop-ai:lotus.m4061nhp-asic-config

Conversation

@lotus-nexthop

@lotus-nexthop lotus-nexthop commented Oct 25, 2026 •

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

PR commit stack:

  1. [Nexthop][m4340nhp] Introduce m4340nhp platform #1828
  2. [Nexthop][m4061nhp] Introduce the m4061nhp platform #1836
  3. [Nexthop][misc] platform_mapping_v2: Map PROFILE_1600G_8_PAM4_RS544X2N_COPPER #1842
  4. [Nexthop][m4061nhp] Add the platform mapping #1837
  5. [Nexthop][feature] "asic_config_v3" - Support multiple management ports #1714
  6. This (top of stack)

Add m4061nhp's asic_config_v3 input and the SDK yaml generated from it. The yaml is the same one the default agent.conf in #1840 embeds.

#1714 is in the stack because m4061nhp declares its QSFP28 management port as a mgmt_port_overrides list entry, which the schema accepts only with #1714.

Test Plan

Note:
validate_asic_configs_contents reports REFERENCE_MISSING for m4061nhp because no internal reference exists yet at fboss/lib/asic_config_v2/synced_asic_configs/m4061nhp.yml.

python3 fboss/lib/asic_config_v3/gen.py --fboss-root fboss --platform m4061nhp regenerates generated/default.yml byte for byte, and the nine existing platforms regenerate unchanged. validate_asic_configs_schemas passes.

Note: pre-commit run --from-ref <main> --to-ref <this PR> fails ruff check and ruff format on fboss/lib/platform_mapping_v2/gen.py (from #1837) and fboss/lib/platform_mapping_v2/helpers.py (from #1842). The findings are in existing code: upstream main fails the same hooks on both files with the same results, and this stack adds no new ones.

@lotus-nexthop
lotus-nexthop requested review from a team as code owners October 25, 2026 00:10
@meta-cla meta-cla Bot added the CLA Signed label Oct 25, 2026
@github-actions github-actions Bot added nexthop project:m4061nhp FBOSS project: m4061nhp labels Oct 25, 2026
@lotus-nexthop
lotus-nexthop force-pushed the lotus.m4061nhp-asic-config branch from 9708544 to 08f5130 Compare October 25, 2026 06:40
lotus-nexthop and others added 4 commits October 25, 2026 21:18
Add m4061nhp's asic_config_v3 input and the SDK yaml generated from it,
plus the synced reference validate_asic_configs_contents compares it to.
check-yaml skips synced references, as it already does generated outputs.

Stacked on meta#1837 (platform mapping,
which carries meta#1842, meta#1836 and meta#1828) and
meta#1714 (multiple management ports).
@lotus-nexthop
lotus-nexthop force-pushed the lotus.m4061nhp-asic-config branch from 08f5130 to 2b62bea Compare October 25, 2026 21:23

This branch has not been deployed

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants