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

Reuse enum XcvrInfoDB #147

Open
qiluo-msft opened this issue Jul 14, 2020 · 0 comments
Open

Reuse enum XcvrInfoDB #147

qiluo-msft opened this issue Jul 14, 2020 · 0 comments
Assignees

Comments

@qiluo-msft
Copy link
Contributor

It is better to move into a common place and shared with the repo sonic-platform-common.

@unique
class XcvrInfoDB(bytes, Enum):
    """
    Transceiver info keys
    """

    TYPE              = b"type"
    HARDWARE_REVISION = b"hardware_rev"
    SERIAL_NUMBER     = b"serial"
    MANUFACTURE_NAME  = b"manufacturer"
    MODEL_NAME        = b"model"
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

No branches or pull requests

2 participants