Skip to content

[Nexthop][m4340nhp] Run AgentPortProfileTest on VOQ switches and Qumran4D - #1886

Open
marif-nexthop wants to merge 2 commits into
meta:mainfrom
nexthop-ai:marif.fboss-port-profile-test-voq
Open

marif-nexthop wants to merge 2 commits into
meta:mainfrom
nexthop-ai:marif.fboss-port-profile-test-voq

Conversation

@marif-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

Two changes let AgentPortProfileTest run on m4340nhp.

  • On VOQ switches the test starts from initialConfig() instead of oneL3IntfTwoPortConfig(). That helper adds a VLAN interface, but VOQ switches have no VLANs, so every profile test aborted at config apply with No vlan found for : 2000.
  • On Qumran4D the test programs the profile in initialConfig(), as it already does on Chenab. A profile with a different lane count makes SaiPortManager re-create the port while its port RIF is still attached, and the Qumran4D SDK does not remove a port that a RIF references, so the hw agent aborted on the 400G-4 and 200G-2 profiles.

Test Plan

Tested on a m4340nhp device. AgentPortProfileTest passes on cold and warm boot for all six profiles that its ports support, and skips the rest.

@marif-nexthop
marif-nexthop requested a review from a team as a code owner October 31, 2026 02:23
@github-actions github-actions Bot added nexthop project:m4340nhp FBOSS project: m4340nhp labels Oct 31, 2026
@meta-cla meta-cla Bot added the CLA Signed label Oct 31, 2026

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.

1 participant