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

Fix a bug at removing asics on not-online cards #203

Merged
merged 1 commit into from Sep 14, 2021

Conversation

ngoc-do
Copy link
Contributor

@ngoc-do ngoc-do commented Jul 14, 2021

Fix a bug coming from #175 when asic is removed due to card getting offline (before it was online).

The change works on real hw + unit test.

Signed-off-by: Ngoc Do <ngocdo@us110.sjc.aristanetworks.com>
@ngoc-do
Copy link
Contributor Author

ngoc-do commented Jul 14, 2021

Add @mprabhu-nokia for review.

Copy link
Contributor

@mprabhu-nokia mprabhu-nokia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you get to check if some underlying implementation changed because of which the table.get() returns a list instead of tuple?

@mprabhu-nokia
Copy link
Contributor

@judyjoseph Could you please review?

@ngoc-do
Copy link
Contributor Author

ngoc-do commented Aug 2, 2021

Did you get to check if some underlying implementation changed because of which the table.get() returns a list instead of tuple?

I didn't have chance to look at if it's because of table implementation change since I fixed on our code base that recently got upgraded.

@judyjoseph judyjoseph merged commit dfe737a into sonic-net:master Sep 14, 2021
judyjoseph pushed a commit that referenced this pull request Oct 14, 2021
Fix a bug coming from PR #175 when asic is removed due to card getting offline (before it was online).
vdahiya12 added a commit to vdahiya12/sonic-platform-daemons that referenced this pull request Apr 4, 2022
…from YCableBase required for Y-Cable API's in sonic-platform-daemons (sonic-net#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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants