Skip to content

Refactor common.get_cmis_state_from_state_db #681

@bobby-nexthop

Description

@bobby-nexthop

Once CMIS refactor is complete. We should refactor

common.get_cmis_state_from_state_db(lport, self.xcvr_table_helper.get_status_sw_tbl(self.get_asic_id(lport)))

into

class CmisManagerTask(threading.Thread):
...
    def get_cmis_state_from_transceiver_status_table(self, lport):
        return common.get_cmis_state_from_state_db(lport, self.xcvr_table_helper.get_status_tbl(self.get_asic_id(lport)))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions