Newer SMM firmware supports 16 bit wide fields instead of 8,
use struct to unpack them to align with the 8-bit wide fields from
before.
Change-Id: I485fa1bc03eb1fd6eaf7f0e800ed2a46ae5ad1ed
Some firmware has incomplete uefi configuration management,
have the dependency check disable when such a firmware
is encountered.
Change-Id: I08935c87a1c29d2ae2c318426dac16b411c38876
Instruct the peer device to give a bit more time
to allow for longer idle before closing a file.
This permits operations to work more reliably
against many systems at once.
Change-Id: Ic7e7fa1dd934231bf967b9a82cbd041fb12db613
The pure python EFI decompressor was extraordinarily
slow. Dramatically improve performance by switching to
the C version of the function.
Change-Id: Ib931d46a4b5b4937cb8dfc3d37bfa63b92e84ead
TSM only needs to use redfish for UEFI
configuration when used as an IPMI 'extension'.
Restrict use to avoid depending on redfish
when not needed.
Change-Id: I72aece79dc1814124a4a06b48c3266853af9a14e
When using IPv6 to IMMv2, the web will reject the fe80::
Set fake 1.2.3.4 headers to always give a pleasant and consistent
result to the IMM.
Change-Id: I56e738841269f24fe1968f77d7a3aa492f6bee23
Older IBM system path still used a python2-only operation.
Address with a python 2/3 agnostic approach.
Change-Id: I33df26a0b2311682642660a5e0893201b547fb03
SMMv2 is coming and it tweaks some commands to an extent.
Recognize and adapt to the SMM2 variations on the SMM.
Change-Id: I27932158e13fdc1eef302b73f1a931394575eb5a
Software sensors are not in the SDR, and
the owner ID is used to distinguish them.
Incorporate the owner ID to qualify
the sensors.
Change-Id: I984eaab21fd992bfd9bf8eda4e22943f9812a104
Under pythton3, we have another case of one
thing defaulting to bytes and a str. Explicitly
decode from utf8 in such a case.
Change-Id: Icbf6ad375e6398d12656ab4ddc8d0f248fe1cc73
XCC can struggle with link local addresses. Simplify by just using a
static fake name so that XCC treats
it like maybe some unknown
/etc/hosts entry on the client.
Change-Id: I1c6dc9d3eb86ae876c24441a924bcff4720b53ac
PSU configuration was SMM specific, change
to use FPC v. SMM format as needed for this
difference between the two platforms.
Change-Id: Id8f7e2597ca5e867bd0e63dccff35f1cea99a30f
While python 3 is ok, with using a bytearray slice,
for pythton2 we have to explicitly make it bytes.
Change-Id: I7ba4f466d398892715b72695818b09d1cf57a794
While confluent does pull in dateutil, pyghmi
itself depends upon it, so it should pull it in
as well.
Change-Id: I3af963f14451bf6efac0c74981c6644df9950d05
Large images take some time before
they can be mounted. Track
the size field to see when the
file is actually done copying.
Change-Id: I23c921798d6be4370e7314822d37fba1cb9faad3
Set flake8-import-order version to 0.17.1
Full py3 compatible version.
Add all Python3 modules to stdlib list.
Change-Id: I3ef01e49c0e6822368146434f056ac7a1aa7ce4d
During the course of applying
configuration changes, the pending set
may change for some reason.
Repeat the logic if etag triggers an exception.
Change-Id: I3783b4ba45dd0dd57fdd3af80af16223e39fce05
For redfish, store the MessageId
for programattic processing.
For identify, use wildcard for
the identify etag. While an implementation required
etag for set identify, it permitted wildcard.
It doesn't matter to check etag on something as trivial as
LED control, so just wildcard it.
Change-Id: If3cf600e46f38858551c5f744388a57393b45123
In python2, cannot directly copy a memoryview to a ctypes
string. Catch and try with a copy of the memoryview
data for python2.
Change-Id: I6dc0183921e4e888aca131fe7968d820b25dc5d5
Commands without data were causing problems
for python2 ctypes interface. Skip the
copy attempt when there is no data to
copy.
Change-Id: If115a1145c277992aa4ffbe420a582dc08d0926e