diff options
| author | Boris Pavlovic <boris@pavlovic.me> | 2017-06-29 15:17:33 -0700 |
|---|---|---|
| committer | Boris Pavlovic <bpavlovic@godaddy.com> | 2017-07-10 16:20:45 -0700 |
| commit | 2c57f7bfb2dc39afd361b85639df1ac4e1d417f5 (patch) | |
| tree | fe1426876104da864ebeec45ce0eee20da4ceead /doc/source/cli/command-objects/server.rst | |
| parent | ca4b9be8a23136fb709c73b702f98fd749026a8c (diff) | |
| download | python-openstackclient-2c57f7bfb2dc39afd361b85639df1ac4e1d417f5.tar.gz | |
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
Diffstat (limited to 'doc/source/cli/command-objects/server.rst')
| -rw-r--r-- | doc/source/cli/command-objects/server.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/source/cli/command-objects/server.rst b/doc/source/cli/command-objects/server.rst index cc580603..dee27219 100644 --- a/doc/source/cli/command-objects/server.rst +++ b/doc/source/cli/command-objects/server.rst @@ -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 |
