From 43c11c356b92e11a27179a02d2aab1b56fe3bc07 Mon Sep 17 00:00:00 2001 From: Tang Chen Date: Tue, 17 Nov 2015 21:44:02 +0800 Subject: Add --limit option to "server list" command. This option will limit the total amount of items the command will list up. Change-Id: I46af0d479d795ebb6a74585d0f76629dd940b117 --- doc/source/command-objects/server.rst | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'doc/source/command-objects') diff --git a/doc/source/command-objects/server.rst b/doc/source/command-objects/server.rst index 41d484ee..afa328ba 100644 --- a/doc/source/command-objects/server.rst +++ b/doc/source/command-objects/server.rst @@ -188,6 +188,7 @@ List servers [--project [--project-domain ]] [--long] [--marker ] + [--limit ] .. option:: --reservation-id @@ -256,6 +257,12 @@ List servers The last server (name or ID) of the previous page. Display list of servers after marker. Display all servers if not specified. +.. option:: --limit + + Maximum number of servers to display. If limit equals -1, all servers will + be displayed. If limit is greater than 'osapi_max_limit' option of Nova + API, 'osapi_max_limit' will be used instead. + server lock ----------- -- cgit v1.2.1