[release-announce] neutron-lib 2.7.0 (wallaby)

no-reply at openstack.org no-reply at openstack.org
Tue Dec 1 08:42:14 UTC 2020


We are ecstatic to announce the release of:

neutron-lib 2.7.0: Neutron shared routines and utilities

This release is part of the wallaby release series.

The source is available from:

    https://opendev.org/openstack/neutron-lib

Download the package from:

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

Please report issues through:

    https://bugs.launchpad.net/neutron/+bugs

For more details, please see below.

2.7.0
^^^^^

New Features

* Add new constant "BROADCAST_MAC" which has value
  "FF:FF:FF:FF:FF:FF" and represents broadcast MAC address.

* A new vnic type "vdpa" has been added to allow requesting port
  that utilize a vhost-vdpa offload. vhost-vdpa is simpler to vhost-
  user or kernel vhost offload but utilizes the newly added vdpa bus
  introduced in the Linux 5.7 kernel. vdpa interface can be
  implemented in software or hardware, when implemented in hardware
  they provide equivalent performance to sr-iov or hardware offloaded
  ovs while have two main advantages over both sriov and hardware
  offloaded ovs. Unlike the alternatives vhost-vdpa enable live
  migration of instance transparently and provides a standard virtio-
  net interface to the guest avoiding the need to install vendor
  specific drivers  in the guest.

Changes in neutron-lib 2.6.0..2.7.0
-----------------------------------

8c6ab5e add vnic type vdpa
7bacdb5 Add address groups to callbacks resources
14fb663 Add address group in use exception
e92e98f Start running pylint for pep8 tests
7567ae2 Add BRODCAST_MAC constant with "FF:FF:FF:FF:FF:FF" value
a61f955 remove rc from allocation dict if value is 0
1812945 Fix lower-constraints job for focal
c64c134 Add Python3 wallaby unit tests
50726df Update master for stable/victoria


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

.pylintrc                                          | 138 +++++++++++++++++++++
.zuul.yaml                                         |   2 +-
lower-constraints.txt                              |  17 +--
neutron_lib/api/converters.py                      |  24 ++--
neutron_lib/api/definitions/portbindings.py        |   8 +-
neutron_lib/api/extensions.py                      |   4 +-
neutron_lib/api/validators/__init__.py             |  19 ++-
neutron_lib/callbacks/events.py                    |   7 +-
neutron_lib/callbacks/resources.py                 |   1 +
neutron_lib/constants.py                           |   3 +-
neutron_lib/context.py                             |  12 +-
neutron_lib/db/api.py                              |   9 +-
neutron_lib/db/standard_attr.py                    |  10 +-
neutron_lib/db/utils.py                            |   5 +-
neutron_lib/exceptions/__init__.py                 |  20 +--
neutron_lib/exceptions/address_group.py            |   5 +
neutron_lib/exceptions/l3.py                       |   6 +-
neutron_lib/fixture.py                             |   6 +-
neutron_lib/objects/common_types.py                |  52 ++++----
neutron_lib/objects/exceptions.py                  |   4 +-
neutron_lib/objects/logapi/event_types.py          |   4 +-
neutron_lib/objects/utils.py                       |  10 +-
neutron_lib/placement/client.py                    |  46 ++++---
neutron_lib/placement/utils.py                     |  16 +--
neutron_lib/plugins/utils.py                       |   2 +-
neutron_lib/rpc.py                                 |  12 +-
neutron_lib/utils/net.py                           |   9 +-
neutron_lib/utils/runtime.py                       |   6 +-
...dd-broadcast-mac-constant-ec00b18a883bf875.yaml |   5 +
.../notes/vhost-vdpa-cc35f8d0ff9b3c4a.yaml         |  14 +++
releasenotes/source/index.rst                      |   1 +
releasenotes/source/victoria.rst                   |   6 +
requirements.txt                                   |   4 +-
test-requirements.txt                              |   2 +
tools/coding-checks.sh                             |  58 +++++++++
tox.ini                                            |   2 +
37 files changed, 438 insertions(+), 166 deletions(-)


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

diff --git a/requirements.txt b/requirements.txt
index 0e6244b..17b8abf 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -16 +16 @@ oslo.context>=2.19.2 # Apache-2.0
-oslo.db>=4.37.0 # Apache-2.0
+oslo.db>=4.44.0 # Apache-2.0
@@ -19 +19 @@ oslo.log>=3.36.0 # Apache-2.0
-oslo.messaging>=5.29.0 # Apache-2.0
+oslo.messaging>=7.0.0 # Apache-2.0
diff --git a/test-requirements.txt b/test-requirements.txt
index 1481c15..036b8a9 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -10,0 +11,2 @@ flake8-import-order==0.12 # LGPLv3
+pylint>=2.2.0 # GPLv2
+isort==4.3.21 # MIT






More information about the Release-announce mailing list