summaryrefslogtreecommitdiff
path: root/releasenotes
diff options
context:
space:
mode:
authorPavlo Shchelokovskyy <shchelokovskyy@gmail.com>2018-05-14 18:13:28 +0000
committerDean Troyer <dtroyer@gmail.com>2018-11-02 12:01:36 -0500
commite782f49927a6b142a35f85a1a4a759fd2b1ceedf (patch)
tree18980d991f18528afdf5eee68c0d974556e0569b /releasenotes
parentb9fab849f7be93fa62e793ce68303a9473c54fa7 (diff)
downloadpython-openstackclient-e782f49927a6b142a35f85a1a4a759fd2b1ceedf.tar.gz
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
Diffstat (limited to 'releasenotes')
-rw-r--r--releasenotes/notes/name-lookup-one-by-one-e0f15f4eab329b19.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/releasenotes/notes/name-lookup-one-by-one-e0f15f4eab329b19.yaml b/releasenotes/notes/name-lookup-one-by-one-e0f15f4eab329b19.yaml
new file mode 100644
index 00000000..b572b75d
--- /dev/null
+++ b/releasenotes/notes/name-lookup-one-by-one-e0f15f4eab329b19.yaml
@@ -0,0 +1,14 @@
+---
+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.