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
The new version enables a lot of standard flake8 checks, so a few
fixes are required. W503 is disabled as it conflicts with W504
and the latter seems to be preferred nowadays.
Change-Id: I0d2fa8c88f081d553ebefb5f764397b2761dc2b5
With support for non-zero LUN,
update portions of event log
to be consistent. PET does not
seem to have LUN in the data,
so for the time being just assume 0 there.
Change-Id: I24b6b27f81fe1c24a516d28788a2c0efc2f9ccbb
When get sensor reading says
a sensor is disabled without
also saying it is unavailable,
mark it as unavailable.
Change-Id: I00c61824f3539373b48223da9b37acfed97f6576
Some redfish implementations endlessly mutate
their etag. This makes it impossible to
fully establish atomicity.
Move the logic as much server side as possible.
There is still a window where entries change
between fetching the entries and the loginfo,
but there is little hope.
Change-Id: I9135b96acf82f06bc8622efb4d53d0bc695d1758