summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorStephen Finucane <sfinucan@redhat.com>2020-04-08 09:57:41 +0100
committerStephen Finucane <stephenfin@redhat.com>2020-04-08 17:27:33 +0100
commitea092b29880e71f0ba2d8e1eb93a9cf73edee2a2 (patch)
tree9380571295753ddc46901f75f0d98eb86d37e2e9 /doc
parentd712c0fbc7a320f6eea4f8741f2f8d6e517a6507 (diff)
downloadpython-novaclient-ea092b29880e71f0ba2d8e1eb93a9cf73edee2a2.tar.gz
Make 'server list --config-drive' a boolean option
Instead of passing through whatever the user provides and exposing this bug in the REST API, simply make the opt a boolean one in expectation of a day where the API issues have been resolved. This also introduces machinery necessary to use more of these types of opts in the future. Change-Id: I9033540ac65ac0ee7337f16bdd002060652092ea Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/source/cli/nova.rst13
1 files changed, 8 insertions, 5 deletions
diff --git a/doc/source/cli/nova.rst b/doc/source/cli/nova.rst
index 48b1dbda..26c2ce2a 100644
--- a/doc/source/cli/nova.rst
+++ b/doc/source/cli/nova.rst
@@ -2224,7 +2224,7 @@ nova list
[--fields <fields>] [--minimal]
[--sort <key>[:<direction>]] [--marker <marker>]
[--limit <limit>] [--availability-zone <availability_zone>]
- [--key-name <key_name>] [--config-drive <config_drive>]
+ [--key-name <key_name>] [--[no-]config-drive]
[--progress <progress>] [--vm-state <vm_state>]
[--task-state <task_state>] [--power-state <power_state>]
[--changes-since <changes_since>]
@@ -2316,10 +2316,13 @@ present in the failure domain.
Display servers based on their keypair name
(Admin only until microversion 2.82).
-``--config-drive <config_drive>``
- Display servers based on their config_drive value
- The value must be a boolean. (Admin only until
- microversion 2.82).
+``--config-drive``
+ Display servers that have a config drive attached.
+ (Admin only until microversion 2.82).
+
+``--no-config-drive``
+ Display servers that do not have a config drive attached.
+ (Admin only until microversion 2.82).
``--progress <progress>``
Display servers based on their progress value