openstack-python-openstackc.../openstackclient
Stephen Finucane 4a2fd82b07 compute: Make 'hypervisor show' a bit faster
In the event that a user provides a hypervisor name rather than an ID to
the 'hypervisor show' command, passing 'details=True' (the default) to
'find_hypervisor' will ensure we get the detailed response we need.
However, this comes at the cost of retrieving reams of additional
irrelevant data for all the other hypervisors. Rather than doing this,
use a summary view and then a second call to fetch only the hypervisor
we care about.

Change-Id: I92b53802e41a962c6f916c3a111dc2de7c12d0fc
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Closes-bug: #2072965
2024-08-07 13:50:28 +01:00
..
api network: Replace use of in-tree API client 2024-07-09 18:19:36 +01:00
common Respect --skip-resource when deleting. 2024-07-25 20:20:56 +01:00
compute compute: Make 'hypervisor show' a bit faster 2024-08-07 13:50:28 +01:00
identity Merge "identity: Migrate 'service' commands to SDK" 2024-07-12 14:07:22 +00:00
image Remove python-novaclient 2024-07-18 13:28:51 +01:00
locale/tr_TR/LC_MESSAGES Imported Translations from Zanata 2018-03-01 07:25:50 +00:00
network network: Replace use of in-tree API client 2024-07-09 18:19:36 +01:00
object trivial: Prepare for pyupgrade pre-commit hook 2024-04-23 12:24:23 +01:00
tests compute: Make 'hypervisor show' a bit faster 2024-08-07 13:50:28 +01:00
volume Merge "Add volume snapshot unmanage support" 2024-07-23 12:58:03 +00:00
__init__.py Clean up W503 and E402 pep8 errors 2018-04-15 12:23:06 +09:00
i18n.py Remove log translations 2017-03-21 17:23:09 +08:00
shell.py trivial: Prepare for pyupgrade pre-commit hook 2024-04-23 12:24:23 +01:00