[release-announce] [neutron] neutron-lib 1.4.0 (pike)

no-reply at openstack.org no-reply at openstack.org
Mon Apr 10 12:00:31 UTC 2017


We are ecstatic to announce the release of:

neutron-lib 1.4.0: Neutron shared routines and utilities

This release is part of the pike release series.

The source is available from:

    http://git.openstack.org/cgit/openstack/neutron-lib

Download the package from:

    https://pypi.python.org/pypi/neutron-lib

Please report issues through launchpad:

    http://bugs.launchpad.net/neutron

For more details, please see below.

1.4.0
^^^^^


New Features
************

* A new fixture for testing with neutron-lib API definitions has
  been added as "neutron_lib.fixtures.APIDefinitionFixture". This
  fixture can be used anytime extension plugins are being tested that
  modify resource attribute maps and ensures the single global API
  definition attribute map is copied and restored.

* The "neutron_lib.api.extensions.APIExtensionDescriptor" class now
  defines update_attributes_map that uses the API definitions
  attribute map if none is given. This is the default behavior in most
  all extensions today and thus is collapsed into the base class for
  convenience.

* Many of the constants from "neutron.plugins.common.constants" are
  now available in "neutron_lib.plugins.constants" and
  "neutron_lib.constants".

* The "NeutronWorker" class from the "neutron.worker" module is now
  available as "BaseWorker" in "neutron_lib.worker".


Bug Fixes
*********

* The oslo.db context manager returned by
  "db.api.get_context_manager()" will be configured with
  flush_on_subtransaction=True to more closely match the behavior of
  the previous session.begin(subtransactions=True) pattern we used
  everywhere before. See bug 1664643 for more details.

Changes in neutron-lib 1.3.0..1.4.0
-----------------------------------

72a2e9d Add flush_on_subtransaction=True to engine config
1331fb2 rehome plugin common constants
8ee998d Updated from global requirements
8c4990f Handle tenant_name and project_name more equally
c4a921e Stop enforcing non-debug log translations
28bcca9 extensions: Tweak docstring for get_required_extensions
60bf1fb API extension updates and fixture
3fe13e2 api-ref: provider and multiple provider are allowed to update
26fe053 Downgrade callback abortable event log to debug
534333c rehome NeutronWorker class


Diffstat (except docs and test files)
-------------------------------------

HACKING.rst                                        |  1 -
api-ref/source/v2/networks.inc                     | 21 ++++++-
.../networks/network-multi-create-request.json     |  8 +--
.../networks/network-multi-create-response.json    |  6 +-
.../networks/network-multi-show-response.json      |  6 +-
.../networks/network-multi-update-request.json     | 15 +++++
.../networks/network-provider-create-request.json  |  2 +-
.../networks/network-provider-create-response.json |  2 +-
.../networks/network-provider-update-request.json  |  7 +++
.../networks/networks-provider-list-response.json  |  6 +-
neutron_lib/api/definitions/__init__.py            | 44 +++++++++++++
neutron_lib/api/extensions.py                      | 20 +++++-
neutron_lib/callbacks/manager.py                   |  2 +-
neutron_lib/constants.py                           | 46 ++++++++++++++
neutron_lib/context.py                             | 27 ++++----
neutron_lib/db/api.py                              |  2 +-
neutron_lib/fixture.py                             | 39 ++++++++++++
neutron_lib/hacking/checks.py                      |  1 -
neutron_lib/hacking/translation_checks.py          | 48 +--------------
neutron_lib/plugins/constants.py                   | 24 ++++++++
neutron_lib/worker.py                              | 72 ++++++++++++++++++++++
.../notes/extension-fixture-b7fd61384f1a4d1d.yaml  | 12 ++++
.../flush_on_subtransaction-99ef11dfb56b706d.yaml  |  6 ++
.../rehome-plugin-constants-ebf350dfd989957a.yaml  |  5 ++
.../notes/rehome-worker-b7e9c7f477bdb926.yaml      |  4 ++
requirements.txt                                   |  4 +-
33 files changed, 471 insertions(+), 120 deletions(-)


Requirements updates
--------------------

diff --git a/requirements.txt b/requirements.txt
index 53d73bf..c2f5be9 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -12 +12 @@ oslo.context>=2.12.0 # Apache-2.0
-oslo.db>=4.15.0 # Apache-2.0
+oslo.db>=4.19.0 # Apache-2.0
@@ -14 +14 @@ oslo.i18n>=2.1.0 # Apache-2.0
-oslo.log>=3.11.0 # Apache-2.0
+oslo.log>=3.22.0 # Apache-2.0





More information about the Release-announce mailing list