Dell S6000,S6100 system health changes (#6788)

Needed support for platform system health in Dell platforms
This commit is contained in:
Aravind Mani 2021-02-23 12:56:59 +05:30 committed by GitHub
parent 7ec4d15320
commit 3aee87d6dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 31 additions and 3 deletions

View File

@ -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"
}
}

View File

@ -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"
}
}

View File

@ -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

View File

@ -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

View File

@ -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):
""" """