This has negligible performance impact, but
may confer the same benefit as the slow
workaround done before.
Change-Id: I400646ea1004b21ec381867dab09589e5ee209ed
Problems may occur if setting configuration in
a script and multiple transactions are attempted
back to back.
Also, it can be confusing to set settings and then readback the old settings.
Address both concerns by only returning from
set when the transaction manifests in the data
returned from the peer system.
Change-Id: I93f360e0e2a3360bed460534bb924df1472d2bfb
Particularly in redfish, there is a distinction made
from 'floppy', and some implementations do not implement
floppy correctly.
Change-Id: I983d4ba94579a850b36786f04cbe03af3fce8de2
Update minversion of tox to 3.9.0 to allow inline comments.
Add skipsdist and ignore_basepython_conflict for better compatibility
and to use correct python version when specified.
Move pep8 test requirements to tox.ini for easier management and update
requirement versions.
Fix a small typo found with new pep8 deps.
Add py27 constraints file for Python 2.7 tox jobs.
Use wallaby jobs.
Remove lower-constraints (it was not used anyway).
Fix docs job
Change-Id: I1132814a86b46a154b3a8eed5bc3e73ad7950589
It may occur that the exit logout could get hung
up for one reason or another. Change to opportunistically
trying to logout.
It would have to fail generally around 3 times within a minute
for it to be a problem, so it is unlikely to ever
be a problem should it fail.
Change-Id: Ie32b2ae03618fe078e3965d9ee68dda962206bfe
Request more forgiving timing for the write filehandle,
and also do not raise error on closing a purged filehandle.
Change-Id: I2a8274f5e2e5b651d8b062433030e75a2bd608eb
The TSM implements these two policies, make them configurable
through the bmc configuration like other Lenovo equipment
Change-Id: Ia5f4a5902af39795394ad4d096ff2c8123a59e0e
This exposes DNS configuration as 'bmc configuration',
which is in line with how they manifest in XCC.
Change-Id: If8cc3ffd76dd1f245c177032ceb1483892952873
Under certain strain, we may unexpectedly
be logged out. Counteract through a single
retry, which seems to overwhelmingly
mitigate the issue.
Change-Id: Ibf72959988a2c143e5479f82db777b39cfa4a9a2
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