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
413 may return on the upload, but sometimes not the status
query. Support the direct evaluation of the return code.
Change-Id: I4e8e8f4a03adc00d4c1de3a1fe4fbcb5d1b3d8f3
Fallbackdata was actually being preferred rather than a
last resort. Fix by changing to a more usual return
scheme.
Change-Id: I098dfc424c173c87c24a712efdebefb46f724473
It was observed that an adapter update could be inflicted
with an expiring token. Aggressively refresh to mitigate
this.
Change-Id: I7624e8c9abbfdc4e8fd3b323f868d3606cd0039e
Certain calls were exceeding the lifetime of the token, add some
refreshes to keep token up to date.
Change-Id: I539f6323715ddacc5b435a61b2a1d9af65f29c2b
If firmware offers up an unparseable expression, prcoeed as if the
expression were not there in the first place. The occurance observed
was not viable. This hampers the improved error message, but the
firmware will still enforce any rules.
Change-Id: I2be9db12b9fa8da9d40bf6829b3cdc02bbdc946d
Independent concurrent requests are going to be a way of life, add
a generic helper. Future modify to take a dict of urls to handlers
to launch handlers in a pool as well.
Names are usually more descriptive, but are occasionally not unique.
Fallback to Id for devices that conflict.
Store name map to urls for faster performance of
get_inventory_of_component
Change-Id: I83207d24c8bd2a23ac0d16ab5e1777f7df8d4369
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.
This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.
This update should result in no functional change.
For more information see the thread at
http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html
Change-Id: Ib91d991abd3e2166797130573808810492a88089
This permits the code to be able to risk redundant fetches without high
performance penalty through caching.
It also introduces a way for calling code to provide a concurrency
pool, e.g. a GreenPool from eventlet.
Change-Id: I60c4aabb5064a5ee19b0804a520d4ace1195710e