The XCC requires a different auth header for non-redfish calls. Isolate
xcc changes to the xcc usage.
Change-Id: I9891a0a3e79cbe119da96f6db6e12725ca86f3bd
There's no need to have an empty file here, the configuration is in
zuul.d directory. Remove the file.
Change-Id: I721f5bbbfa35517ff57bfe8b2f4a8d210f47851c
For Lenovo equipment, improve compatibility
with the ipmi interface and provide
more info than redfish provides.
Change-Id: I1b5ad99c89d8dec0abd18b1f794dabdb0aed13c3
Replace obsolete sphinx-build job with tox-docs job, use
a template for this.
The newer job uses "tox -e docs" directly.
Add sphinx requirements for python 3.
Change-Id: I1acc55a470ebacce812ba6840663302d759f69b7
If an implementation provides no message, at least use the MessageID.
Longer term this would be consulting the redfish registry to get the
correct message with messageargs interpolated, but for the short term,
at least provide this.
Change-Id: I099745e929dbfa5b11d630966308f6986eef41e5
Older redfish implementations did not support this request attribute. Try
with the attribute and if it fails, just don't try injecting the attribute.
Change-Id: I80b2e725822f0de9a6dd12df17b5c7347b094431
Since we added gzip support due to a non-compliant
implementation firing gzip at us anyway, advertise
so that we have the benefit for compliant implementations.
Also add the OData-Version header. This is required but
mostly not needed, except one implementation that uses it
to enter standard compliant mode and is non-compliant
without that in the client.
Change-Id: Ie2fdb95fa12f2ddef46506ca531e5188b6019227
Some redfish implementations may use a trailing slash in registries.
Additionally, any json may be gzipped.
Support these two scenarios.
Change-Id: I6437af21c927d13a74e8d914ed261412c1a3afa1
Redfish implementations can get dodgy about some things
and use different names for the same thing and different
mappings depending on vendor opinion...
Change-Id: I7ec5f1754fcfeca3933dd22a91d1a2daa037e501
redfish did not have a compatible function for the ipmi get_inventory_of_component.
For now, only provide fastpath for system,
other components are difficult to have shortcuts for.
Change-Id: I1998186340b206a997fd0c062bec02fcb0af5ebe
For keepalive, there are applications that can self heal and
would rather close an idle session instead of keeping it alive.
If the caller knows exactly that it wants to be administrator,
then do not automatically allow the session to downgrade to
operator.
Change-Id: Iefaf04387e28da9d7f2c613d567cd83ce69c2c03
When used with invalid credentials, present a more clear
exception rather than a missed member of a dictionary.
Change-Id: I1e5bda9368673db62dce3ca2fd321cd79c62cb9c
If a BMC provided a time, but the format was not compliant,
it caused an exception. Now gracefully degrade to not
doing time correction if time cannot be parsed.
Change-Id: I5ab45d51913232016bb55d3595ea30188bbfe2e7
This uses the Dependencies section to perform validation
of data provided by the caller. This produces more informative
error messages without having to reboot to examine why.
Change-Id: I6360b8a2694e42d7b848de9ce45466c88e722c91
To be consistent with the ipmi settings, present the pending
as the 'value' and 'active' for the current value for pending
settings.
Change-Id: Ia99374732f05509d2796b5e2166c686716e93c69
Provide support for wildcards in settings and attributes,
as well as case insensitivity. This brings set nearly to
parity with the XCC configuration set in the ipmi half.
Change-Id: I6eef01af8e9e3bb7be03538509a606728c3c33da
Redfish models a moderate amount of data that can map to sensors.
Provide a preliminary partially compatible sensor model.
Change-Id: I10cadac5871497ef89f14b95924a5f4c3be52b01
This permits log clear while ensuring
that the log data did not change between retrieval and deletion.
Change-Id: I15ef6bb330612b83a6acb1dcf3663eb60bb8363b
Some settings that are numeric show a default of ''. Such a default is not usable.
Treat such a situation as a default not existing.
Change-Id: Id3931da7128a732f62863055a93117a3abd05805
7Y36 firmware does not populate u-height.
Workaround the bug by embedding the correct value for the model.
Change-Id: I78481b7ec80956d76e6085855d35cd7c6886a225
A new category of settings have instances without declaring
maximum instances. Autosense and hide these sorts of settings.
Change-Id: I5334d6fad76454674dc0c1ffa094c2178e950c66
Bring more urls together in hopes of performance
through concurrency. There are still points of
serialization, however.
Change-Id: Ie2b4eebe84cbd35e08a6fbf703d3a2b15a17026d
Some redfish implementations leave a dead DHCP definition when
configured static. Filter out such an address when encountered.
Change-Id: I25ff6b07ff75b67f7661157a8a0f1dc230f9010c