From 2c57f7bfb2dc39afd361b85639df1ac4e1d417f5 Mon Sep 17 00:00:00 2001 From: Boris Pavlovic Date: Thu, 29 Jun 2017 15:17:33 -0700 Subject: 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 --- doc/source/cli/command-objects/server.rst | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doc/source/cli/command-objects') 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-domain ]] [--long] + [-n | --no-name-lookup] [--marker ] [--limit ] [--deleted] @@ -397,6 +398,10 @@ List servers List additional fields in output +.. option:: --no-name-lookup + + Skips image and flavor names lookup + .. option:: --marker The last server of the previous page. Display list of servers -- cgit v1.2.1