Showtech collection for gearbox#4305
Open
arpit-nexthop wants to merge 5 commits intosonic-net:masterfrom
Open
Conversation
1) Updated gearboxutil to show gearbox fec stats and histogram 2) Added gearbox stats in the generate_dump Signed-off-by: arpit-nexthop <[email protected]>
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Add unit tests for the new InterfaceFecStats class and format_ber() helper introduced in the gearboxutil script. Includes a mock GB_COUNTERS_DB fixture with Ethernet0 line/system port data. Tests cover: - format_ber(): normal values, zero, N/A, -1, non-numeric passthrough - InterfaceFecStats: fec-stats headers, port display, BER formatting, port filtering, invalid port error handling, fec-histogram bins (BIN0-BIN15), histogram port filtering and error handling Signed-off-by: arpit-nexthop <[email protected]>
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Use SourceFileLoader explicitly to load extensionless script as spec_from_file_location returns None without a .py extension. Remove extra blank line to fix E303 flake8 violation. Signed-off-by: arpit-nexthop <[email protected]>
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Signed-off-by: arpit-nexthop <[email protected]>
SonicV2Connector.GB_COUNTERS_DB attribute is not available in all environments. Use the string literal directly, consistent with how get_all() calls already reference the DB name. Signed-off-by: arpit-nexthop <[email protected]>
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
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.
Why I did it
Hummingbird debugability enhancement
How I did it
How to verify it
Verified by updating the utilities on the device
Which release branch to backport