Skip to content

Commit e355126

Browse files
committed
Add set_status_led to fan_drawer.py
1 parent 86f1bad commit e355126

File tree

1 file changed

+11
-0
lines changed
  • device/accton/x86_64-accton_minipack-r0/sonic_platform

1 file changed

+11
-0
lines changed

device/accton/x86_64-accton_minipack-r0/sonic_platform/fan_drawer.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,17 @@ def get_position_in_parent(self):
8181
"""
8282
return (self.fantrayindex+1)
8383

84+
def set_status_led(self, color):
85+
"""
86+
Sets the state of the fan module status LED
87+
Args:
88+
color: A string representing the color with which to set the
89+
fan module status LED
90+
Returns:
91+
bool: True if status LED state is set successfully, False if not
92+
"""
93+
return False #Not supported
94+
8495
def is_replaceable(self):
8596
"""
8697
Indicate whether this device is replaceable.

0 commit comments

Comments
 (0)