- Why I did it As a LED indicator to help user to find switch location in the lab, UID LED is a useful LED in Mellanox switch. - How I did it I add a new member _led_uid in Mellanox/Chassis.py, and extend Mellanox/led.py to support blue color. Relevant platform-common PR sonic-net/sonic-platform-common#369 - How to verify it Add unit test cases in test.py, and do manual test including turn-on/off/show uid led. Signed-off-by: David Xia <daxia@nvidia.com> |
||
---|---|---|
.. | ||
__init__.py | ||
chassis.py | ||
component.py | ||
cpu_thermal_control.py | ||
device_data.py | ||
eeprom.py | ||
fan_drawer.py | ||
fan.py | ||
led.py | ||
module.py | ||
pcie.py | ||
platform.py | ||
psu.py | ||
sfp_event.py | ||
sfp.py | ||
thermal_actions.py | ||
thermal_conditions.py | ||
thermal_infos.py | ||
thermal_manager.py | ||
thermal.py | ||
utils.py | ||
vpd_parser.py | ||
watchdog.py |