Add server list -n and --no-name-lookup arguments
Remove translation of Image ID and Flavor ID to Image and Flavor names In large environments amount of images can be very large (thousands) Which requires ~hundreds of requests to Glance to get all images (by default client request only 20 images) As a result listing even few servers is going to take minutes This patch allows to avoid these queries by not doing translation, which allows one to get information about servers in seconds. Change-Id: I4ae00e6324a41c4c79bf5b620179dae99aea5431
This commit is contained in:

committed by
Boris Pavlovic

parent
ca4b9be8a2
commit
2c57f7bfb2
doc/source/cli/command-objects
openstackclient
@ -330,6 +330,7 @@ List servers
|
||||
[--all-projects]
|
||||
[--project <project> [--project-domain <project-domain>]]
|
||||
[--long]
|
||||
[-n | --no-name-lookup]
|
||||
[--marker <server>]
|
||||
[--limit <num-servers>]
|
||||
[--deleted]
|
||||
@ -397,6 +398,10 @@ List servers
|
||||
|
||||
List additional fields in output
|
||||
|
||||
.. option:: --no-name-lookup
|
||||
|
||||
Skips image and flavor names lookup
|
||||
|
||||
.. option:: --marker <server>
|
||||
|
||||
The last server of the previous page. Display list of servers
|
||||
|
Reference in New Issue
Block a user