Redfish has a richer model for standardized location information.
Create a function to expose this.
Change-Id: I1460ee250f163b4d5a2be18147f8f4cd3e3d6a16
There are more variations on key parameters, tolerate the
distinct responses consistent with existing replies of
similar purpose.
Change-Id: I22c3ecf7b78213cc9b0c1b8c88deb91251c1facd
Only 6 out of the 9 fans were previously
reported, use the get_psu_count function
to accurately get the number of PSUs
in chassis.
Change-Id: I3e227b67f928b9a2c0d82ce119a143ad0d38b040
Newer platform extends the 0xa8 response. Do not assume right
indexed access to responses anymore.
Change-Id: I400fd3bc3da1a7aa9f1d96f7a774a17027ac098c
A firmware update changes the reply and has us lose
track of a water cooled chassis. Support either form of
the reply that may be water cooled.
Change-Id: I94e0b411b1d93caa07387339c2a0655f52621daa
FPC had a different command, but for all the newer
variants, also apply the SMM vocabulary for
modifying configuration.
Change-Id: I167de6f1953391d494c2e0c6b4d4d6b9447f0af5
print_error deletes reference to
ipmi_session. Be ready to handle
by checking ipmi_session before
use.
Change-Id: Ife5e8b71c4944422c57d7a11c130c4488b214bbc
The SMMv2 changed the
get VPD command to
echo back the reply bytes.
For SMMv2, discard the first
two bytes of the reply.
Change-Id: I31a3c5442cfe15bf44201b5eae594485ac0a3a90
There are some popular Redfish implementations
that violate the standard. More gracefully
tolerate the violations.
Change-Id: I52d1bb21a812c8c721a6ee0888dd92b80944fd65
While it would manage to send the first packet of a
relog, it would then go on to report the transient
error.
Change-Id: I9eb39290ffd259fe56c5d923a7ee9ed229f9f6e1
Prior to ODATA limitations, . was a common delimiter.
If a setting is a good match if substituting . instead
of _, go ahead and consider it a match.
Change-Id: I5da06464f34a1d0d7f4869312ef1c48fe2f858cc
When used as IPMI oem handler, extend the
LXPM info since that is available through
IPMI at least.
Change-Id: Ib3b52b31040ab35c2766f2bbedcc540ae1be0768
For one, check only basename for
filename conventions.
Secondly, recoginze fw_drv
files as being LXPM class.
Change-Id: I829e4fe0bf1c1eea2d7ec96c5e4aae9a64010a35
When zipfile checks for zip signatures, it
does not guarantee seek position at end.
Seek to the beginning explicitly after zipfile
is done.
Change-Id: I13d053576ba12ae7cd668d96179c9f435d0fa751
The v2 generation of Lenovo servers supports remote reseat
for rackmount servers. Expose this as reseating bay '-1'.
Change-Id: Ie6135c030cd5f56970ea9f968f5f5fda8e053341
The fanspeed setting does not apply when there are no fans.
Skip querying that setting for environments where it does not exist.
Change-Id: I4343e263612150279c10fe79c4a25904210c4e10
Some firmware takes a long time
to apply. Add token refresh to avoid the session
going bad during apply phase.
Change-Id: I9b40cb608adc235d49865a94bf4aef98ca0ac1bc