python-novaclient/releasenotes/notes/microversion-v2_80-c2394316f9212865.yaml
zhangbailin 8744bea0e3 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
2019-10-16 14:07:28 +00:00

21 lines
775 B
YAML

---
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