diff --git a/pyghmi/redfish/oem/lenovo/tsma.py b/pyghmi/redfish/oem/lenovo/tsma.py index f4303268..d061b25b 100644 --- a/pyghmi/redfish/oem/lenovo/tsma.py +++ b/pyghmi/redfish/oem/lenovo/tsma.py @@ -437,7 +437,7 @@ class TsmHandler(generic.OEMHandler): self._wc = wc return wc - def update_firmware(self, filename, data=None, progress=None, bank=None): + def update_firmware(self, filename, data=None, progress=None, bank=None, otherfields=None): wc = self.wc wc.set_header('Content-Type', 'application/json') basefilename = os.path.basename(filename) diff --git a/pyghmi/redfish/oem/lenovo/xcc.py b/pyghmi/redfish/oem/lenovo/xcc.py index 4f3a9fa8..61fee772 100644 --- a/pyghmi/redfish/oem/lenovo/xcc.py +++ b/pyghmi/redfish/oem/lenovo/xcc.py @@ -1400,13 +1400,13 @@ class OEMHandler(generic.OEMHandler): '/redfish/v1/UpdateService', {'HttpPushUriTargets': []}, method='PATCH') - def update_firmware(self, filename, data=None, progress=None, bank=None): + def update_firmware(self, filename, data=None, progress=None, bank=None, otherfields=None): result = None usd = self._do_web_request('/redfish/v1/UpdateService') rfishurl = usd.get('HttpPushUri', None) if rfishurl: return self.redfish_update_firmware( - usd, filename, data, progress, bank) + usd, filename, data, progress, bank, otherfields) if self.updating: raise pygexc.TemporaryError('Cannot run multiple updates to same ' 'target concurrently')