Skip to content

"address" field in gearbox_config.json is not parsed as a hex string per HLD #4595

@kewei-arista

Description

@kewei-arista

As per gearbox HLD, address field in gearbox_config.json has type hexstr: https://github.com/sonic-net/SONiC/blob/b0451ad554f1789b4d00e8a5aeb8721c1456aa3b/doc/gearbox/gearbox_mgr_design.md?plain=1#L183

However, current parsing code only treats it as a string of decimal number: https://github.com/sonic-net/sonic-swss/blob/master/lib/gearboxutils.cpp#L183

We should either fix parsing code or HLD

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions