-
Notifications
You must be signed in to change notification settings - Fork 174
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
[Y-Cable][Credo] Credo implementation of YCable class which inherits from YCableBase required for Y-Cable API's in sonic-platform-daemons #203
Conversation
inherits from YCableBase required for Y-Cable API's in sonic-platform-daemons Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
This pull request introduces 13 alerts when merging e7cb18a into 4533f82 - view on LGTM.com new alerts:
|
4 for Unused local variable 4 for Variable defined multiple times 2 for Unreachable code 1 for Testing equality to None 1 for Except block handles 'BaseException' 1 for Unused import Signed-off-by: xinyu <xinyu0123@gmail.com>
Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
This pull request introduces 12 alerts when merging 482da93 into 4533f82 - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging 1962fc2 into 4533f82 - view on LGTM.com new alerts:
|
Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
Signed-off-by: xinyu <xinyu0123@gmail.com>
Signed-off-by: xinyu <xinyu0123@gmail.com>
Signed-off-by: xinyu <xinyu0123@gmail.com>
Signed-off-by: xinyu <xinyu0123@gmail.com>
Signed-off-by: xinyu <xinyu0123@gmail.com>
Signed-off-by: xinyu <xinyu0123@gmail.com>
…en change the prbs pattern Signed-off-by: xinyu <xinyu0123@gmail.com>
This pull request introduces 1 alert when merging a3d976a into 4533f82 - view on LGTM.com new alerts:
|
Signed-off-by: xinyu <xinyu0123@gmail.com>
Signed-off-by: xinyu <xinyu0123@gmail.com>
Signed-off-by: xinyu <xinyu0123@gmail.com>
Signed-off-by: xinyu <xinyu0123@gmail.com>
Signed-off-by: xinyu <xinyu0123@gmail.com>
Signed-off-by: xinyu <xinyu0123@gmail.com>
This pull request introduces 1 alert when merging e2834d1 into 4533f82 - view on LGTM.com new alerts:
|
Signed-off-by: xinyu <xinyu0123@gmail.com>
Signed-off-by: xinyu <xinyu0123@gmail.com>
Signed-off-by: xinyu <xinyu0123@gmail.com>
Signed-off-by: xinyu <xinyu0123@gmail.com>
This pull request introduces 1 alert when merging 635dc4f into 4533f82 - view on LGTM.com new alerts:
|
Signed-off-by: xinyu <xinyu0123@gmail.com>
@@ -0,0 +1,13 @@ | |||
mapping = { | |||
"Credo": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we please make the vendor name and model names in lower cases, to comply with fetching vendor mapping attribute.
example
mapping = {
"credo": {
"cacl2x321p2pa1ms": "credo.y_cable_credo"
}
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, we can convert the PN and vendor name in lower case.
Signed-off-by: xinyu <xinyu0123@gmail.com>
Signed-off-by: xinyu <xinyu0123@gmail.com>
Signed-off-by: xinyu <xinyu0123@gmail.com>
Signed-off-by: xinyu <xinyu0123@gmail.com>
Signed-off-by: xinyu <xinyu0123@gmail.com>
Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
Signed-off-by: xinyu <xinyu0123@gmail.com>
…not loaded Signed-off-by: xinyu <xinyu0123@gmail.com>
Hi @qiluo-msft , please cherry pick this to 202012, so that I can update the submodule. |
…from YCableBase required for Y-Cable API's in sonic-platform-daemons (#203) This PR adds support for YCable class required for platform-daemons to use the YCable API's for credo. Description Basically a vendor specific implementation of abstract YCableBase class . detailed design discussion can be found https://github.com/Azure/SONiC/pull/757/files Motivation and Context Required for transitioning to vendor agnostic API's to be called by xcvrd, so that all types of cables can be called. How Has This Been Tested? Ran the changes on Arista7050cx3 switch, making changes inside the container. Co-authored-by: xinyu <xinyu0123@gmail.com>
Fix a bug coming from PR sonic-net#175 when asic is removed due to card getting offline (before it was online).
This PR adds support for YCable class required for platform-daemons to use the YCable API's for credo.
Description
Basically a vendor specific implementation of abstract YCableBase class .
detailed design discussion can be found https://github.com/Azure/SONiC/pull/757/files
Motivation and Context
Required for transitioning to vendor agnostic API's to be called by xcvrd, so that all types of cables can be called.
How Has This Been Tested?
Ran the changes on Arista7050cx3 switch, making changes inside the container.
Additional Information (Optional)
Signed-off-by: vaibhav-dahiya vdahiya@microsoft.com