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 /releasenotes | |
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 'releasenotes')
-rw-r--r-- | releasenotes/notes/microversion-v2_80-c2394316f9212865.yaml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/releasenotes/notes/microversion-v2_80-c2394316f9212865.yaml b/releasenotes/notes/microversion-v2_80-c2394316f9212865.yaml new file mode 100644 index 00000000..cace47d1 --- /dev/null +++ b/releasenotes/notes/microversion-v2_80-c2394316f9212865.yaml @@ -0,0 +1,20 @@ +--- +features: + - | + Added support for `microversion 2.80`_ which adds ``user_id`` + and ``project_id`` filter parameters to the ``GET /os-migrations`` API. + + New kwargs ``project_id`` and ``user_id`` have been added to + the following python API binding: + + - novaclient.v2.migrations.MigrationManager.list + + The following CLI changes have been made: + + - The ``--project-id`` and ``--user-id`` options are added to the + ``nova migration-list`` CLI. + - The ``nova server-migration-list`` and ``nova server-migration-show`` + commands will show the ``Project ID`` and ``User ID`` values when + using microversion 2.80 or greater. + + .. _microversion 2.80: https://docs.openstack.org/nova/latest/reference/api-microversion-history.html#id72 |