-
Notifications
You must be signed in to change notification settings - Fork 176
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
Add diagnostic monitoring APIs for DOM, VDM and status access for CMIS modules #515
Conversation
…S modules Signed-off-by: Mihir Patel <[email protected]>
@prgeor @qinchuanares Can you please help in reviewing this? |
======================================================================== | ||
""" | ||
vdm_real_value_dict = dict() | ||
vdm_raw_dict = self.get_vdm(self.vdm.VDM_REAL_VALUE) |
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.
Shall we perform VDM 1) freeze 2) read and 3) unfreeze to update min/max/avg statistical values?
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.
@qinchuanares We plan to perform freeze and unfreeze operation at the caller side (from xcvrd
).
@prgeor Please correct me if my understanding is incorrect.
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.
@mihirpat1 that is correct
Description
We need to add DOM, VDM and status related APIs to be inline with the changes proposed via the below HLD
HLD for diagnostic monitoring of CMIS based transceivers by mihirpat1 · Pull Request #1828 · sonic-net/SONiC (github.com)
Motivation and Context
a. get_transceiver_dom_flags
b. get_transceiver_vdm_real_value
c. get_transceiver_vdm_thresholds
d. get_transceiver_vdm_flags
e. get_transceiver_status_flags
How Has This Been Tested?
Tested the changes on the following types of transceivers
Additional Information (Optional)
MSFT ADO - 30215715