Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dell S6000,S6100 system health changes #6788

Merged
merged 2 commits into from
Feb 23, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"services_to_ignore": [],
"devices_to_ignore": [],
"user_defined_checkers": [],
"polling_interval": 60,
"led_color": {
"fault": "amber",
"normal": "green",
"booting": "blinking green"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"services_to_ignore": [],
"devices_to_ignore": [],
"user_defined_checkers": [],
"polling_interval": 60,
"led_color": {
"fault": "amber",
"normal": "green",
"booting": "blinking green"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,9 @@ def get_change_event(self, timeout=0):
return True, ret_dict
return False, ret_dict

def initizalize_system_led(self):
return True

def set_status_led(self, color):
"""
Sets the state of the system LED
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,9 @@ def get_change_event(self, timeout=0):

return True, ret_dict

def initizalize_system_led(self):
return True

def set_status_led(self, color):
"""
Sets the state of the system LED
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def get_voltage(self):
if not is_valid:
return None

return "{:.1f}".format(voltage)
return float(voltage)

def get_voltage_low_threshold(self):
"""
Expand Down Expand Up @@ -159,7 +159,7 @@ def get_current(self):
if not is_valid:
return None

return "{:.1f}".format(current)
return float(current)

def get_power(self):
"""
Expand All @@ -173,7 +173,7 @@ def get_power(self):
if not is_valid:
return None

return "{:.1f}".format(power)
return float(power)

def get_powergood_status(self):
"""
Expand Down