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

Add TRANSCEIVER_PM table in STATE_DB for C_CMIS #3

Merged
merged 2 commits into from
Nov 8, 2022

Conversation

longhuan-cisco
Copy link
Owner

@longhuan-cisco longhuan-cisco commented Oct 27, 2022

Add TRANSCEIVER_PM table for C_CMIS

Description

  1. Add pm related fields to a newly created table TRANSCEIVER_PM in STATE_DB. (DB schema is defined in this HLD)
  2. Add corresponding update/delete logic in xcvrd FSM.
  3. Add/modify testcases to cover new code for test_xcvrd.py

How Has This Been Tested?

Verified on testbed with C_CMIS and get UT testcases covered the new code and passed.

test output on testbed with 400G ZR optics:
pm_testbed_output.txt

Additional Information (Optional)

Note
Please don't merge this PR, it's only for internal review purpose.
Dependency PR: https://github.com/longhuan-cisco/sonic-platform-common/pull/2

@longhuan-cisco longhuan-cisco merged commit 9b9fe4d into add_to_status_tbl Nov 8, 2022
longhuan-cisco added a commit that referenced this pull request Nov 9, 2022
* Add pm tbl to STATE_DB

* Use unique info in post_port_pm_info_to_db log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants