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

[sonic_sfp/qsfp_dd.py] Update DOM capability method name to align with other drivers #163

Merged
merged 1 commit into from
Feb 9, 2021
Merged

[sonic_sfp/qsfp_dd.py] Update DOM capability method name to align with other drivers #163

merged 1 commit into from
Feb 9, 2021

Conversation

jleveque
Copy link
Contributor

@jleveque jleveque commented Feb 5, 2021

Update method name to align with other drivers. Change from parse_qsfp_dom_capability to parse_dom_capability. Other drivers were aligned via sonic-net/sonic-mgmt#2937.

When this submodule is updated in sonic-buildimage, all callers will need to be updated to reflect the new nomenclature.

@jleveque
Copy link
Contributor Author

jleveque commented Feb 5, 2021

@keboliu, @shlomibitton: Please review.

@shlomibitton
Copy link
Contributor

@jleveque Need to update the mlnx-platform-api with this change
https://github.com/Azure/sonic-buildimage/blob/834347b8f793ca60e3b0b6a91654259006c4df7b/platform/mellanox/mlnx-platform-api/sonic_platform/sfp.py#L485

@jleveque
Copy link
Contributor Author

jleveque commented Feb 8, 2021

@shlomibitton: Yes, I am aware of this. Another contributor made a similar modification in sonic-net/sonic-mgmt#2937, and I needed to do the same. Since that PR has merged, I believe we should align the method name everywhere. I will make the related changes with the submodule update. If it's OK with with, please approve the changes.

@jleveque jleveque merged commit b9b05c0 into sonic-net:master Feb 9, 2021
@jleveque jleveque deleted the update_dd_dom_cap_name branch February 9, 2021 21:40
jleveque added a commit that referenced this pull request Feb 9, 2021
…h other drivers (#163)

Update method name to align with other drivers. Change from `parse_qsfp_dom_capability` to `parse_dom_capability`. Other drivers were aligned via sonic-net/sonic-mgmt#2937.

When this submodule is updated in sonic-buildimage, all callers will need to be updated to reflect the new nomenclature.
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.

2 participants