diff options
author | zhangbailin <zhangbailin@inspur.com> | 2019-08-07 11:36:10 +0800 |
---|---|---|
committer | Matt Riedemann <mriedem.os@gmail.com> | 2019-10-16 14:07:28 +0000 |
commit | 8744bea0e3ebe5bc4d0d899189bfa0bcdcb0a08f (patch) | |
tree | 02f734034376bd0a67e35ba7b4c794aeaa83646e /doc/source | |
parent | 6c0e4d7a3940ba6d4d11d0c89933cc00b898ed9e (diff) | |
download | python-novaclient-8744bea0e3ebe5bc4d0d899189bfa0bcdcb0a08f.tar.gz |
Microversion 2.80: Add user_id/project_id to migration-list API
Add ``user_id`` and ``project_id`` to the ``GET /os-migrations``
API, and it can called ``--user-id <user_id>`` and/or
``--project-id <project_id>`` by ``nova migration-list`` CLI.
Showing the ``user_id`` and ``project_id`` when using api_version>=2.80
with the server-migration-list or server-migration-show APIs.
Depends-On: https://review.opendev.org/#/c/674243/
Part of blueprint add-user-id-field-to-the-migrations-table
Change-Id: I11343ca265ab2b6b6f46877897d8223ef340c258
Diffstat (limited to 'doc/source')
-rw-r--r-- | doc/source/cli/nova.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/source/cli/nova.rst b/doc/source/cli/nova.rst index cada3d62..b94e52af 100644 --- a/doc/source/cli/nova.rst +++ b/doc/source/cli/nova.rst @@ -2516,6 +2516,8 @@ nova migration-list [--limit <limit>] [--changes-since <changes_since>] [--changes-before <changes_before>] + [--project-id <project_id>] + [--user-id <user_id>] Print a list of migrations. @@ -2573,6 +2575,14 @@ To see the list of evacuation operations *from* a compute service host: point of time. The provided time should be an ISO 8061 formatted time. e.g. 2016-03-04T06:27:59Z . (Supported by API versions '2.66' - '2.latest') +``--project-id <project_id>`` + Filter the migrations by the given project ID. + (Supported by API versions '2.80' - '2.latest') + +``--user-id <user_id>`` + Filter the migrations by the given user ID. + (Supported by API versions '2.80' - '2.latest') + .. _nova_pause: nova pause |