Skip to content

Add TRANSCEIVER_PM table in STATE_DB for C_CMIS#3

Merged
longhuan-cisco merged 2 commits intoadd_to_status_tblfrom
add_pm_tbl
Nov 8, 2022
Merged

Add TRANSCEIVER_PM table in STATE_DB for C_CMIS#3
longhuan-cisco merged 2 commits intoadd_to_status_tblfrom
add_pm_tbl

Conversation

@longhuan-cisco
Copy link
Copy Markdown
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