We joyfully announce the release of: python-novaclient 15.0.0: Client library for OpenStack Compute API This release is part of the train release series. The source is available from: https://opendev.org/openstack/python-novaclient Download the package from: https://pypi.org/project/python-novaclient Please report issues through: https://bugs.launchpad.net/python-novaclient/+bugs For more details, please see below. 15.0.0 ^^^^^^ New Features ************ * The "--migration-type" and "--source-compute" options are added to the "nova migration-list" CLI and related kwargs are added to the "novaclient.v2.migrations.MigrationManager.list" method. These can be used to filter the list of migrations by type (evacuation, live- migration, migration, resize) and the name of the source compute service host involved in the migration. * Added support for microversion 2.75. The following changes were made: * Return all fields of "server" in "nova rebuild" command which are returned in "nova show". Both command will return the same set of fields of "server" representation. * Default return value of "swap" field will be 0 (integer) in below commands: * "nova flavor-list" * "nova flavor-show" * "nova flavor-create" * "nova flavor-update" (https://docs.openstack.org/nova/latest/reference/api-microversion- history.html#id67) * Support has been added for microversion 2.77. This microversion allows specifying an availability zone to unshelve a shelve offloaded server. (https://docs.openstack.org/nova/latest/reference/api-microversion- history.html#id69) Upgrade Notes ************* * The following properties have been removed. * "novaclient.client.SessionClient" * "management_url" * "novaclient.v2.client.Client" * "projectid" * "tenant_id" The following methods have been removed. * "novaclient.client.get_client_class" * "novaclient.v2.client.Client" * "set_management_url" * "authenticate" The "novaclient.v2.client.Client.__enter__" method now raises the "InvalidUsage" runtime error. Deprecation Notes ***************** * The following CLIs and their backing API bindings are deprecated. * "nova list-extensions" * "nova cell-capacities" * "nova cell-show" The CLIs and API bindings will be removed in the first major release after Nova 20.0.0 Train is released. Changes in python-novaclient 14.2.0..15.0.0 ------------------------------------------- ecfa521b Microversion 2.77: Support Specifying AZ to unshelve 6aae5b23 Follow up for microversion 2.75 a3e44e8b API microversion 2.76: Add 'power-update' external event 0e873a2d Microversion 2.75 - Multiple API cleanup changes 0e7c99c8 Add --migration-type and --source-compute to migration-list e281368c docs: clarify nova migration-list --host option acef73c9 Update api-ref location 8fc24c7d Bump the openstackdocstheme extension to 1.20 517ff099 doc: Clarify versioned wrapped method 3ac90a52 Deprecate cells v1 and extension commands and APIs 9fe78e8a Add a guide to add a new microversion support 3cacca20 Add Python 3 Train unit tests 81ec72ec Remove deprecated methods and properties Diffstat (except docs and test files) ------------------------------------- novaclient/__init__.py | 2 +- novaclient/client.py | 23 ----- novaclient/exceptions.py | 36 -------- .../functional/v2/legacy/test_readonly_nova.py | 6 +- novaclient/v2/cells.py | 16 +++- novaclient/v2/client.py | 39 +-------- novaclient/v2/list_extensions.py | 14 +++ novaclient/v2/migrations.py | 36 ++++++-- novaclient/v2/servers.py | 31 ++++++- novaclient/v2/shell.py | 93 +++++++++++++++++--- ...re-migration-list-filters-6c801896c7ee5cdc.yaml | 9 ++ ...precate-cellsv1-extension-16482759993d112f.yaml | 11 +++ .../notes/microversion-v2_75-ea7fa3ba1396edea.yaml | 18 ++++ .../notes/microversion-v2_77-ffee30c180aa4dbe.yaml | 8 ++ ...-deprecated-methods-train-c450fe317c90d7f0.yaml | 24 ++++++ releasenotes/source/conf.py | 18 ---- tox.ini | 2 +- 34 files changed, 709 insertions(+), 192 deletions(-)