Repository navigation
[Nexthop][wedge800cact] Update platform_manager lanesPerPort for eth1/33/2 from 4 to 2 - #1575
Open
raghavv-nexthop wants to merge 1 commit into
Open
raghavv-nexthop wants to merge 1 commit into
raghavv-nexthop wants to merge 1 commit into
Conversation
raghavv-nexthop
force-pushed
the
no-devx-wedge800cact-fix-port-33-led-2
branch
from
August 31, 2026 23:30
16a395f to
ece9b16
Compare
raghavv-nexthop
marked this pull request as ready for review
September 1, 2026 22:14
Contributor
Author
|
/autorebase |
…m 4 to 2 Signed-off-by: Raghav Varshney <raghavv@nexthop.ai>
rabbit-nexthop
force-pushed
the
no-devx-wedge800cact-fix-port-33-led-2
branch
from
December 6, 2026 11:33
ece9b16 to
f75f43b
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pre-submission checklist
pip install -r requirements-dev.txt && pre-commit installpre-commit runSummary
Issue
eth1/33/2(aka Port 33 LED 2, aka LED 98) on Wedge800CACT never lit up during any LED-status-driven path. OnlyLedServiceTest.visualForceAllLeds, which force-writes every declared LED directly, could touch it.Root cause
lanesPerPortinplatform_manager.jsondeclares the whole cage's lane count, not a single breakout sub-port's. Port 33 on Wedge800CACT is a 2-lane cage split into two single/dual-lane breakout sub-ports (eth1/33/1on lanes 0-1,eth1/33/2on lane 1), butlanesPerPortwas set to4. WithlanesPerLed = lanesPerPort / ledPerPort = 4 / 2 = 2, lanes {1,2} both bucket into LED 97 and lanes {3,4} bucket into LED 98. Lanes 3/4 don't physically exist on this 2-lane cage, so LED 98 was structurally unreachable by any real lane.eth1/33/2's real lane (lane 2) fell into the first bucket and got silently routed to LED 97 instead, alongsideeth1/33/1.Fix
Update
lanesPerPortfrom4to2, matching the cage's actual lane count. This gives a clean 1:1 lane->LED map (lane1->LED97,lane2->LED98), soeth1/33/2now drives LED 98 independently.Test Plan
Without this fix, LED 98 is not driven on Wedge800CACT during any LED test (except for
visualForceAllLeds), despite all tests reporting as passing. This was confirmed visually and by inspecting the test logs. With the fix, the LED is driven during each test; again, this was confirmed visually and also by inspecting the test logs.Furthermore, this change does not cause any regression with the actual pass/fail status of the LED tests (which, as stated before, were already all passing):