-
Notifications
You must be signed in to change notification settings - Fork 715
Improve the way to check port type of RJ45 port #2249
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
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
b93c919
Update the presence state of RJ45 port
stephenxs 7807e13
Use new platform API to check whether a port is RJ45 and represent pr…
stephenxs 57b29ca
Adjust sfputil and testcases
stephenxs fe78502
Adjust sfpshow
stephenxs e362226
Exact is_rj45_port to a common module shared between sfpshow and intf…
stephenxs 6029535
Fall back to old way for checking RJ45 port
stephenxs ec074d9
Move RJ45 part to platform_sfputil_helper
stephenxs a1b1a56
Remove fallback mechanism in is_rj45_port
stephenxs f0e3f4c
Remove get_child_ports which is not used
stephenxs abcfec7
Temporarily commit
stephenxs 0c564b7
Update unit test
ea0ded8
Adjust unit test
stephenxs 91ed1de
Commit missed files
stephenxs 3cdfcdd
Add missing files
b30ab63
Fix typo
stephenxs 5fa3e79
Remove code that was committed by mistake.
stephenxs a3f6ee7
Fix an issue: the ports should be in nature order in sfputil show pre…
stephenxs edc5116
Fix present state for RJ45: Link Up/Down => Port Up/Down
stephenxs 6369527
LGTM warning supression
stephenxs 9684a4c
LGTM warning supression
stephenxs 60e5d39
Move present state part into another PR
stephenxs f5ff311
Fix review comments
stephenxs File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.