File tree 2 files changed +0
-21
lines changed
x86_64-arista_7050_qx32/plugins
x86_64-arista_7050_qx32s/plugins
2 files changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -85,16 +85,6 @@ def __init__(self):
85
85
with open ("/sys/class/leds/psu2/brightness" , "w" ) as f :
86
86
f .write ("1" )
87
87
88
- # Initialize all fan LEDs to green
89
- with open ("/sys/devices/platform/sb800-fans/hwmon/hwmon1/fan1_led" , "w" ) as f :
90
- f .write ("3" )
91
- with open ("/sys/devices/platform/sb800-fans/hwmon/hwmon1/fan2_led" , "w" ) as f :
92
- f .write ("3" )
93
- with open ("/sys/devices/platform/sb800-fans/hwmon/hwmon1/fan3_led" , "w" ) as f :
94
- f .write ("3" )
95
- with open ("/sys/devices/platform/sb800-fans/hwmon/hwmon1/fan4_led" , "w" ) as f :
96
- f .write ("3" )
97
-
98
88
# Initialize: Turn all front panel QSFP LEDs off
99
89
for qsfp_index in range (self .QSFP_BREAKOUT_START_IDX , self .QSFP_BREAKOUT_END_IDX + 1 ):
100
90
for lane in range (1 , 5 ):
Original file line number Diff line number Diff line change @@ -80,17 +80,6 @@ def __init__(self):
80
80
with open ("/sys/class/leds/psu2/brightness" , "w" ) as f :
81
81
f .write ("1" )
82
82
83
- # Initialize all fan LEDs to green
84
- with open ("/sys/devices/pci0000:00/0000:00:02.2/0000:02:00.0/i2c-3/3-0060/hwmon/hwmon4/fan1_led" , "w" ) as f :
85
- f .write ("1" )
86
- with open ("/sys/devices/pci0000:00/0000:00:02.2/0000:02:00.0/i2c-3/3-0060/hwmon/hwmon4/fan2_led" , "w" ) as f :
87
- f .write ("1" )
88
- with open ("/sys/devices/pci0000:00/0000:00:02.2/0000:02:00.0/i2c-3/3-0060/hwmon/hwmon4/fan3_led" , "w" ) as f :
89
- f .write ("1" )
90
- with open ("/sys/devices/pci0000:00/0000:00:02.2/0000:02:00.0/i2c-3/3-0060/hwmon/hwmon4/fan4_led" , "w" ) as f :
91
- f .write ("1" )
92
-
93
-
94
83
# Initialize: Turn all front panel QSFP LEDs off
95
84
for qsfp_index in range (self .QSFP_BREAKOUT_START_IDX , self .QSFP_BREAKOUT_END_IDX + 1 ):
96
85
for lane in range (1 , 5 ):
You can’t perform that action at this time.
0 commit comments