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

[Nokia ixs7215] sfp get_name test case fix #8507

Merged
merged 1 commit into from
Aug 20, 2021

Conversation

carl-nokia
Copy link
Contributor

@carl-nokia carl-nokia commented Aug 17, 2021

Why I did it

Fix for open community test test_sfp.py test_get_name

How I did it

Account for sfputil_helper indexing being 0 based

How to verify it

Run sonic-mgmt test_sfp.py test cases

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106

Description for the changelog

A picture of a cute animal (not mandatory but encouraged)

@carl-nokia carl-nokia requested a review from lguohan as a code owner August 17, 2021 20:11
@lguohan
Copy link
Collaborator

lguohan commented Aug 18, 2021

it is not quite clear if the test is correct or not, there is ongoing discussing which what index should be used, currently the thinking is that it should the use the index that is in the port_config.ini.

@carl-nokia
Copy link
Contributor Author

What is the reference product code for this that uses index from port_config.ini that I can look at? -- it appears to be implemented differently by many vendors.

@carl-nokia
Copy link
Contributor Author

I reviewed this PR with Prince George - his conclusion is "Your PR looks fine to me."

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.

6 participants