summaryrefslogtreecommitdiff
path: root/openstackclient/compute
diff options
context:
space:
mode:
authorMatt Riedemann <mriedem.os@gmail.com>2019-05-01 17:59:16 -0400
committerMatt Riedemann <mriedem.os@gmail.com>2019-05-01 18:00:17 -0400
commit42cd4b2e40455591de42439352ad1516bc1fa788 (patch)
tree869376d58fcfabd9594b9aa3857df7bb7cd21e15 /openstackclient/compute
parent70cf7ea1ced4724ebf11aa526c5c9cac983a835a (diff)
downloadpython-openstackclient-42cd4b2e40455591de42439352ad1516bc1fa788.tar.gz
Document that server dump create requires 2.17
There is no indication to the user in the command help that they have to use 2.17 or greater [1] to run the "openstack server dump create" command. This mentions that requirement in the help of the command. [1] https://developer.openstack.org/api-ref/compute/#trigger-crash-dump-in-server Change-Id: I02c06e10a26eb38ddecb70f970cfcbfad962201c
Diffstat (limited to 'openstackclient/compute')
-rw-r--r--openstackclient/compute/v2/server.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/openstackclient/compute/v2/server.py b/openstackclient/compute/v2/server.py
index a040e4f0..cb9f8d43 100644
--- a/openstackclient/compute/v2/server.py
+++ b/openstackclient/compute/v2/server.py
@@ -947,6 +947,8 @@ class CreateServerDump(command.Command):
It will create a dump file in the server(s) dumping the server(s)'
memory, and also crash the server(s). OSC sees the dump file
(server dump) as a kind of resource.
+
+ This command requires ``--os-compute-api-version`` 2.17 or greater.
"""
def get_parser(self, prog_name):