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
The redfish support may be unacceptably slow for
media list. Add an accelerator for that function in
the redfish oem extension as well.
Change-Id: I066e4e469b6b2a3d534e79cdc8bd061a12b10af0
Redfish is not the best at inventory. Afford OEM
extensions the ability to override and accelerate
inventory.
Accelerate XCC based systems with this facility.
Change-Id: I3b92961e661d44b4b0f35d497085fc68f76fdcf1
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