mirror of
https://opendev.org/x/pyghmi
synced 2025-12-06 00:42:10 +00:00
Merge "Connect redfish configuration to TSMA IPMI"
This commit is contained in:
@@ -993,6 +993,8 @@ class OEMHandler(generic.OEMHandler):
|
||||
def set_system_configuration(self, changeset):
|
||||
if self.has_imm or self.has_xcc:
|
||||
return self.immhandler.set_system_configuration(changeset)
|
||||
if self.has_tsma:
|
||||
return self.tsmahandler.set_uefi_configuration(changeset)
|
||||
return super(OEMHandler, self).set_system_configuration(changeset)
|
||||
|
||||
def clear_bmc_configuration(self):
|
||||
|
||||
@@ -92,6 +92,9 @@ class TsmHandler(generic.OEMHandler):
|
||||
def get_uefi_configuration(self, hideadvanced=True):
|
||||
return self.fishclient.get_system_configuration(hideadvanced)
|
||||
|
||||
def set_uefi_configuration(self, changeset):
|
||||
return self.fishclient.set_system_configuration(changeset)
|
||||
|
||||
def get_diagnostic_data(self, savefile, progress=None, autosuffix=False):
|
||||
wc = self.wc
|
||||
wc.grab_json_response('/api/mini_ffdc', {'action': 'trigger'})
|
||||
|
||||
Reference in New Issue
Block a user