From 8744bea0e3ebe5bc4d0d899189bfa0bcdcb0a08f Mon Sep 17 00:00:00 2001 From: zhangbailin Date: Wed, 7 Aug 2019 11:36:10 +0800 Subject: 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 `` and/or ``--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 --- doc/source/cli/nova.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'doc') 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 ] [--changes-since ] [--changes-before ] + [--project-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 `` + Filter the migrations by the given project ID. + (Supported by API versions '2.80' - '2.latest') + +``--user-id `` + Filter the migrations by the given user ID. + (Supported by API versions '2.80' - '2.latest') + .. _nova_pause: nova pause -- cgit v1.2.1