Skip to content

How to display different color on a port led with different speed? #1573

@appleCh

Description

@appleCh

According to https://github.com/Azure/SONiC/wiki/Port-Breakout-High-Level-Design,
A 100G port can be breakout to four 25G ports.
If we want to use two color to recognize port speed,
such as port up at 100G with white coler, non-100G with green color,
Have any porting guide to reference?

As far as we know that init port led is by "rcload ${PLATFORM_DIR}/led_proc_init.soc "
(https://github.com/Azure/sonic-buildimage/blob/master/platform/broadcom/docker-syncd-brcm/start.sh),
it use "led auto on" command to register led linkscan callback.
The cb seems only trun on 0x01 present LINKUP, we can not know the port up with what speed.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions