In the ipmi path, provide a null
dictionary to make the check
viable, and stop assuming that
an unknown system is always purley.
Change-Id: I13f7a9f70d83e5679d90acb83e0df1522f441f41
While it must not be used with redfish,
it is ok to use the fast path even though
setting requires IPMI.
Change-Id: I57de25e0ed0bb125adab42916429eca1e29f2392
There are non-PCI adapters that are modeled as 'adapter',
but without corresponding adapter data.
The inventory data is more limited, but we can at least report current
firmware.
Change-Id: I42d17befe1f95fde3b88304418743f1ac456eedd
Purley has an incomplete redfish implementation for uefi settings,
blacklist it from the new way of pushing settings.
Reading settings seems fine, however.
Change-Id: Ie8baf50e11b05e2cafa644c414970ceeaaa35dbf
While IPMI has well defined
roles and redfish has some well-defined
starter roles, permit management
of users for custom roles.
Change-Id: Id6ff87a8ccbb12491adc37b460765d4eadf2c92d
For newer systems, provide access
to the richer configuration in
the proprietary Lenovo interface.
Fall back for standard for older platforms that still require IPMI
for that configuration.
Change-Id: Id66515f00116ce3c22fcba80c0003cfb9e6b1a5d
Python changed isAlive to is_alive, check and adapt
if the running python killed off the isAlive name.
Change-Id: I0369aab0308d6f2d9d7de489b6e1f9c3f2365204
The XCC conservatively holds back administrator from IPMI
access. If an IPMI request comes in, add
a corresponding redfish to make
the user actually have the requested role.
Change-Id: I4c360388fa487256df382f0f4afc74cd1d1f69a1
The redfish and ipmi standards do not provide well for standardized
user deletion consistently implemented across vendors.
Provide a hook for an OEM handler to go into vendor specific
behavior to provide a more reasonable deletion.
Change-Id: I7131edbb6dbab31d205eef664e68d721f33b4422
Use only one extra keep alive session for keeping the media
mounted. Do a weblogout on that session when the media is
detached.
Change-Id: I3012d263510ba97477542e1325876000f2a52356
Newer variants also require the special treatment,
switch to blocking the only variant that is unsupported.
Change-Id: Ifc679dd294d445f218c0b504d286155ac3e315d6
New proprietary commands are going to be used with a bit more
capability. For now, migrate existing DC energy over to new command
Change-Id: I30a003c4d45f4a0d591c80c55f1c267333f1123c
Trying each API call in any order doesn't work correctly for all
cases since the API call for Whitley incorrectly returns success
on the newest Purley firmware and vice versa. The Whitley volume
properties have some extra keys in them. Use one of the extra keys
to differentiate between Purley and Whitley.
Change-Id: Ia18631ec16107492e8753eb4312c56171ebd33f0
If called in parallel, multiple sessions may be opened without
the old one having a chance to be closed.
Serialize any attempt to concurrently login to
keep the sessions down.
Change-Id: Id389ba1caf89897b00845be394509d489186272d
Unfortunately, different devices apply this
in different ways. The impetus was a BMC that
was incorrectly returning a bad reading, and a
thought toward using the assertion events instead.
This has two problems, one is that this mechanism is optional, and for another
the caller is expected to manage the arming.
Go back to using the sensor reading to let the BMC
mark on-the-fly the state.
Change-Id: Ie61d4b8427905171b32f6998a80806f1027660d6
When setting max timeout, select a more aggressive timeout
if recent connectivity hasn't been confirmed.
Change-Id: I806d0cddb53e4e2246c6de86e561dbd658a76256
FPCs represent blocked slots in a peculiar way,
as a node that is in 'standby'. Avoid explicitly
considering the power permission state of the
permission state is standby.
Change-Id: I801165e3e45fe1e4b7a8f7b4bc19b4ef9bee763f
The mechanism to carry over a payload into a new logon
could inadvertently carry over get channel authentication
for example, creating a very confused state.
Change-Id: I29f399006f0c210c80f726e3eb494d3e8b0c3992
This enables manipluating the feature in XCCs to
allow network connections to forward over USB port.
Change-Id: I577d6952e0dab4b9a9df8b6118fc75ed0173d366
Redfish now allows a system to opt to place virtual media
on system rather than manager. The rational being that
remote media has to be mapped to specific hosts, and the
manager relationship to that media can be implicit.
Try the system first (more specific) then fallback to traditional
manager location for virtualmedia.
Change-Id: I5d63b5e57572c6a753a2d86adb223335a15a71ea
Some resources are leaked on deletion
of a webclient without explicit close, improve
by destructor.
Change-Id: I91d313125bf79f83c3cd07e12e573b2bdd5a95ef
Various issues have been associated with trying to
reinitiate a session during a 'timeout' scenario, attempt
to clean up the various scenarios where it wasn't originally
designed to survive across a relogin.
Change-Id: Ifd9c8e98070217a1b0f4a35c8e0851a063b77800