mirror of
https://opendev.org/x/pyghmi
synced 2025-03-09 21:56:48 +00:00
Add XCC Pending version to firmware inventory
The XCC with an update prepared but not yet executed offers that info. Provide that to the calling code. Change-Id: Iaafe681c6f744368ecc42dd87919a50a69466e1b
This commit is contained in:
parent
d74b22a1fb
commit
b32089acea
@ -543,6 +543,12 @@ class XCCClient(IMMClient):
|
||||
})
|
||||
if bdata:
|
||||
yield ('{0} Trusted Image'.format(self.bmcname), bdata)
|
||||
bdata = self.fetch_grouped_properties({
|
||||
'build': '/v2/ibmc/dm/fw/imm3/primary_pending_build_id',
|
||||
'version': '/v2/ibmc/dm/fw/imm3/primary_pending_build_version',
|
||||
'date': '/v2/ibmc/dm/fw/imm3/primary_pending_build_date'})
|
||||
if bdata:
|
||||
yield ('{0} Pending Update'.format(self.bmcname), bdata)
|
||||
bdata = self.fetch_grouped_properties({
|
||||
'build': '/v2/bios/build_id',
|
||||
'version': '/v2/bios/build_version',
|
||||
|
Loading…
x
Reference in New Issue
Block a user