Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[code sync] Merge code from sonic-net/sonic-utilities:202205 to 202205 #17

Merged
merged 2 commits into from
Jul 13, 2023

Conversation

mssonicbld
Copy link
Collaborator

* 20853a6f - (head/202205) Revert "[GCU Feature Update] Cherry-pick Platform Validator PR to 202205  (#2883)" (#2908) (2023-07-12) [isabelmsft]<br>```

@mssonicbld mssonicbld merged commit ad65cf1 into sonic-net:202205 Jul 13, 2023
3 checks passed
jfeng-arista pushed a commit to jfeng-arista/sonic-utilities.msft that referenced this pull request Sep 1, 2023
…n RJ45 ports (#2111)

* enhance show interface transceiver eeprom logic with RJ45 port support

Signed-off-by: Kebo Liu <[email protected]>

* enhance sfputil to support RJ45 port, exclude error status

* fix sfputil issue on RJ45 port

Signed-off-by: Kebo Liu <[email protected]>

* [RJ45] change the way to judge port type and add more UT test case

Signed-off-by: Kebo Liu <[email protected]>

* [sfputil] simplity the logic for RJ45 support

Signed-off-by: Kebo Liu <[email protected]>

* Support sfputil show present

Signed-off-by: Stephen Sun <[email protected]>

* Support rj45 in sfpshow

Signed-off-by: Stephen Sun <[email protected]>

* Add test case for sfputil with RJ45 supported

Signed-off-by: Stephen Sun <[email protected]>

* Add mock data for RJ45 ports into STATE_DB

Signed-off-by: Stephen Sun <[email protected]>

* Add test for sfputil show for RJ45 ports

Signed-off-by: Stephen Sun <[email protected]>

* remove debug code in sfputil test case

Signed-off-by: Kebo Liu <[email protected]>

* remove unnecessary argument for format()

Signed-off-by: Kebo Liu <[email protected]>

* Revert the logic to fetch presence status from error status for RJ45 port (sonic-net#17)

* Revert the logic to fetch presence status from error status

Signed-off-by: Stephen Sun <[email protected]>

* Unit test

Signed-off-by: Stephen Sun <[email protected]>

* Fix error

Signed-off-by: Stephen Sun <[email protected]>

* Add test cases to cover lpmode and error status

Signed-off-by: Stephen Sun <[email protected]>

* add comments to describe the usage of functions to judge the port type

Signed-off-by: Kebo Liu <[email protected]>

* add more testcase for sfputil

Signed-off-by: Kebo Liu <[email protected]>

* fix typo in testcase name

Signed-off-by: Kebo Liu <[email protected]>

Co-authored-by: Stephen Sun <[email protected]>
Co-authored-by: Stephen Sun <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants