mirror of
https://opendev.org/x/pyghmi
synced 2026-06-15 08:10:46 +00:00
Extend timeout for firmware inventory
An XCC3 in some cases may take over a minute to provide full firmware inventory. Change-Id: I4507f5f5c4cec9aebd532c96a3f4c1be437b4a03
This commit is contained in:
@@ -1152,7 +1152,10 @@ class OEMHandler(generic.OEMHandler):
|
||||
pendingscm = None
|
||||
if pendinghpm == '*':
|
||||
pendinghpm = None
|
||||
oldtimeout = fishclient.wc.mytimeout
|
||||
fishclient.wc.mytimeout = 120
|
||||
fwlist = fishclient._do_web_request(fishclient._fwinventory + '?$expand=.')
|
||||
fishclient.wc.mytimeout = oldtimeout
|
||||
fwlist = copy.deepcopy(fwlist.get('Members', []))
|
||||
self._fwnamemap = {}
|
||||
for redres in fwlist:
|
||||
|
||||
Reference in New Issue
Block a user