Dell S6000,S6100 system health changes (#6788)
Needed support for platform system health in Dell platforms
This commit is contained in:
parent
7ec4d15320
commit
3aee87d6dc
@ -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"
|
||||||
|
}
|
||||||
|
}
|
@ -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"
|
||||||
|
}
|
||||||
|
}
|
@ -341,6 +341,9 @@ class Chassis(ChassisBase):
|
|||||||
return True, ret_dict
|
return True, ret_dict
|
||||||
return False, ret_dict
|
return False, ret_dict
|
||||||
|
|
||||||
|
def initizalize_system_led(self):
|
||||||
|
return True
|
||||||
|
|
||||||
def set_status_led(self, color):
|
def set_status_led(self, color):
|
||||||
"""
|
"""
|
||||||
Sets the state of the system LED
|
Sets the state of the system LED
|
||||||
|
@ -372,6 +372,9 @@ class Chassis(ChassisBase):
|
|||||||
|
|
||||||
return True, ret_dict
|
return True, ret_dict
|
||||||
|
|
||||||
|
def initizalize_system_led(self):
|
||||||
|
return True
|
||||||
|
|
||||||
def set_status_led(self, color):
|
def set_status_led(self, color):
|
||||||
"""
|
"""
|
||||||
Sets the state of the system LED
|
Sets the state of the system LED
|
||||||
|
@ -113,7 +113,7 @@ class Psu(PsuBase):
|
|||||||
if not is_valid:
|
if not is_valid:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
return "{:.1f}".format(voltage)
|
return float(voltage)
|
||||||
|
|
||||||
def get_voltage_low_threshold(self):
|
def get_voltage_low_threshold(self):
|
||||||
"""
|
"""
|
||||||
@ -159,7 +159,7 @@ class Psu(PsuBase):
|
|||||||
if not is_valid:
|
if not is_valid:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
return "{:.1f}".format(current)
|
return float(current)
|
||||||
|
|
||||||
def get_power(self):
|
def get_power(self):
|
||||||
"""
|
"""
|
||||||
@ -173,7 +173,7 @@ class Psu(PsuBase):
|
|||||||
if not is_valid:
|
if not is_valid:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
return "{:.1f}".format(power)
|
return float(power)
|
||||||
|
|
||||||
def get_powergood_status(self):
|
def get_powergood_status(self):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user