python-openstackclient/releasenotes/notes/name-lookup-one-by-one-e0f15f4eab329b19.yaml
Pavlo Shchelokovskyy e782f49927 Add --name-lookup-one-by-one option to server list
usually in a big cloud there are many images and flavors,
while each given project might use only some of those.

This patch introduces '--name-lookup-one-by-one' argument to
server list command (mutually exclusive with '--no-name-lookup')

When provided (or either '--image' or '--flavor' is specified) to the
`server list` command, name resolving for
corresponding entity is now using targeted GET commands instead of
full entities list.

In some situations this can significantly speedup the execution of the
`server list` command by reducing the number of API requests performed.

Change-Id: I59cbf3f75c55e5d3747654edcc9be86ad954cf40
Story: #2002039
Task: #19682
2018-11-02 12:01:36 -05:00

15 lines
699 B
YAML

---
features:
- |
Add ``--name-lookup-one-by-one`` option to the ``server list`` command
that is (mutually exclusive with ``-n | --no-name-lookup``).
When provided, the names of images and flavors will be resolved one by one
only for those images and flavors that are needed to display the obtained
list of servers instead of fetching all the images and flavors.
Depending on amount of images in your deployment this can speed up the
execution of this command.
- |
When given ``--image`` or ``--flavor`` argument, the ``server list``
command now resolves only single image or flavor instead of fetching
all the images or flavors for name lookup purposes.