There exists one set of FPCs and IMMs that share id. Compensate
by using the more direct IMM query first, then falling back
to the fpc id based.
Change-Id: Ibbaea1ffce6e5903523a8467280d168bb080daee
Some devices might experience a problem returning a useful response to
get device id under certain circumstance. Make failures due to
inability to lock into a device id transient rather than persistent.
Change-Id: Ie11155632c1a627a1c3303555a6ba10926c7efb0
Slot events should generically have the Slot/Connector number.
Fix this by clarifying the description and allowing it
for any offset. Additionally, the USB offset defined in
the spec is added.
Change-Id: I80dcb86ae58f47b794eab1571c292708edf83995
For inventory taking, the lack of common names for the same thing
is a problem. Provide a 'name' field to preserve the original
name that may be duplicate, but indicate multiple instances
of the same thing.
Change-Id: I02e9902f4c2d9d07982fd00b9a17617b96deb1ef
Rework the disk inventory to handle both firmware and hardware
style data, at least for XCC generation.
Change-Id: I195ab395b8f1905f548094bc5014200fb3a39e2a
For some settings, it is very helpful to be able to take wildcards.
Honor those and have those potentially replicate across multiple
matches.
Change-Id: I9ebfb2a4686b5f822527be9b05b59ca9df1e3caf
Reset to factory defaults is a relatively common request, provide
an extensible hook. Use the standard redfish method on current systems.
Change-Id: I92a17a7434eeab0d8f455cf609ca2db764fe4a17
The property is ASCII representation of decimal number that would result
from erroneously evaluating BCD as normal. Compensate by working back
to the hexadecimal representation and presenting that as a number.
Change-Id: I47ae2fe484c2eaaa4c103eae81c56f9561ac316c
Implement a function to call into whatever the appropriate method
for a vendor to provide diagnostic/support/service data to send
to their support staff.
Change-Id: I1e1d73ec0133aa413cb3d9d44101e7f22cb1a398
Make it easier to cope with burdens of long running execution by
providing a single-shot call to establish a persistent context
to run keepalives from.
Change-Id: I5ddbd647846daf119a4219d5c014682223657dfd
Also traverse the directediowaiter list in reverse, to avoid
index referring to wrong value as it goes.
Change-Id: Id8ffa4795b0d90f0cf1db59a271b1ec21d2dafea
Since we want to delete as we iterate, use list() to make a copy
that will survive modification during iteration.
Change-Id: I4b0425acbe01a84a47d6cbaa2138e8bc908b2dfe
iowaiter overhead can be significantly reduced by not calling
monotonic_time() for every single one that is waiting.
Change-Id: I7ee5cd78541d722f4a11898dcd4a3390b8220a95
The only way for a registered waiter for general IO activity
to be forgotten was for it to be satisfied. Unfortunately, in a bad
scenario, it would sit and be relatively worthless. In a large
environment, this could accrue and those stubbed out events become a
large headache.
Change-Id: I1e2c7afa1dc5c9e2adeb26f2e4cd7a7b7b9709ed
* Add installed scripts into the spec.
* Add missing BuildRequires
* Pull source by URL
* Remove installation directories as they do not
seem to be used
Change-Id: Ib4ff280cb4c50c2f1d57b271557b0c2ddf4e07fe
According to OpenStack summit session [1], stestr is
maintained project to which all OpenStack projects should
migrate.
Let's switch to stestr as other projects have already
moved to it.
Uses environment inclusions which need tox 2.8.1 due to
a bug fix. So increase the tox minversion.
[1] https://etherpad.openstack.org/p/YVR-python-pti
Change-Id: If6eded0dd802cbdfe49ad72c64004585d4a1484b
The addition to actively try to logout failed to notify custom keepalive
Have logout() run the same routines that mark_broken did if logged
to have it more consistent and reliable.
Change-Id: I557ce0e8ef856acee5eb52622537e02f7bffe805
The session.py uses lists and struct liberally. We can be clearer and
more efficient by just working with bytearrays instead, which are better
fit for this purpose.
Change-Id: I280db9322c9a4f89470d93cf6df56b18966edb51