Skip to content

[sfputilbase] Fix xcvr and sfpshow crash with OSFP#63

Merged
jleveque merged 2 commits intosonic-net:masterfrom
pphuchar:handle-osfp-in-sfputilbase
Oct 9, 2019
Merged

[sfputilbase] Fix xcvr and sfpshow crash with OSFP#63
jleveque merged 2 commits intosonic-net:masterfrom
pphuchar:handle-osfp-in-sfputilbase

Conversation

@pphuchar
Copy link
Copy Markdown
Contributor

@pphuchar pphuchar commented Oct 2, 2019

In get_transceiver_dom_threshold_info_dict() ad a case to handle osfp port type.
In get_transceiver_info_dict() update specification_compliance from N/A to empty dictionary.
This prevents error in sfpshow trying to prase data from STATE_DB with eval function.

@jleveque
Copy link
Copy Markdown
Contributor

jleveque commented Oct 8, 2019

@keboliu: Please review.

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.

4 participants