We are glad to announce the release of: neutron-lib 1.11.0: Neutron shared routines and utilities This release is part of the queens 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.11.0 ^^^^^^ New Features ************ * The "bgpvpn-vni" API extension adds the "vni" optional attribute to "bgpvpn" objects to control the VXLAN VNI when VXLAN encapsulation is used. * The "flavors" API definition is now available in "neutron_lib.api.definitions.flavors". * A new "type:service_plugin_type" validator has been added that allows a service plugin to be validated at runtime by checking the "neutron_lib.plugins.directory". * Exceptions related to the "flavor" API have been added to "neutron_lib.exceptions.flavors" except for "InvalidFlavorServiceType" which is now a generic "InvalidServiceType" in "neutron_lib.exceptions". * The "PROVISIONAL_IPV6_PD_PREFIX" constant is now available in "neutron_lib.constants". Bug Fixes ********* * Fixes BGPVPN Interconnection API to not allow the definition of an empty string Route Target (allowing it was simply wrong and unintentional). * Bug 1720046 (https://bugs.launchpad.net/neutron/+bug/1720046) is fixed by reverting the logic of "neutron_lib.utils.net.get_random_mac" to its original behavior from commit If2539f94b5479f0d6afa64c973082cbe8c5309ac (https://review.openstack.org/#/c/400408/). Changes in neutron-lib 1.10.0..1.11.0 ------------------------------------- e499b08 Updated from global requirements 5deda57 revert get_random_mac behavior from review 400408 4202a7b Fix comment in context.py a90d73a bgpvpn-vni api extension 3baf48f add PROVISIONAL_IPV6_PD_PREFIX to constants 9a7ee91 fix doc links b4ec3d0 add api ref and doc link validation to release 5f3c2ca sync plugin common constants dfe532b Update links in CONTRIBUTING.rst 8ba7edb Revert "Withdraw doc for bgpvpn-routes-control API extension" b309cad Don't allow an empty-string Route Target 3ee0386 rehome flavor extension API definition c813857 api ref for quota details extension 1b4ce7a finish routes api ref c315d58 Add the default-subnetpools extension to api-ref Diffstat (except docs and test files) ------------------------------------- CONTRIBUTING.rst | 9 +- api-ref/source/conf.py | 7 + api-ref/source/v2/bgpvpn-bgpvpns.inc | 18 +- api-ref/source/v2/bgpvpn-overview.inc | 53 +++++ api-ref/source/v2/bgpvpn-port_associations.inc | 250 +++++++++++++++++++++ api-ref/source/v2/bgpvpn-router_associations.inc | 65 ++++++ api-ref/source/v2/index.rst | 2 + api-ref/source/v2/parameters.yaml | 150 +++++++++++++ api-ref/source/v2/quota_details.inc | 41 ++++ api-ref/source/v2/routers.inc | 8 + .../bgpvpn/bgpvpns/bgpvpn-create-request.json | 3 +- .../bgpvpn/bgpvpns/bgpvpn-create-response.json | 4 +- .../bgpvpn/bgpvpns/bgpvpn-show-response.json | 4 +- .../bgpvpn/bgpvpns/bgpvpn-update-response.json | 4 +- .../bgpvpn/bgpvpns/bgpvpns-list-response.json | 4 +- .../port_association-create-request.json | 11 + .../port_association-create-response.json | 14 ++ .../port_association-list-response.json | 16 ++ .../port_association-show-response.json | 14 ++ .../port_association-update-request.json | 13 ++ .../port_association-update-response.json | 15 ++ .../router_association-create-response.json | 3 +- .../router_association-list-response.json | 3 +- .../router_association-show-response.json | 11 +- .../router_association-update-request.json | 6 + .../router_association-update-response.json | 8 + .../quota-details-show-for-project-response.json | 39 ++++ .../v2/samples/routers/router-show-response.json | 7 +- .../v2/samples/routers/router-update-request.json | 6 + .../v2/samples/routers/router-update-response.json | 7 +- .../v2/samples/routers/routers-list-response.json | 7 +- api-ref/source/v2/subnets.inc | 11 + neutron_lib/api/definitions/__init__.py | 4 + neutron_lib/api/definitions/base.py | 1 + neutron_lib/api/definitions/bgpvpn.py | 9 +- neutron_lib/api/definitions/bgpvpn_vni.py | 86 +++++++ neutron_lib/api/definitions/flavors.py | 124 ++++++++++ neutron_lib/api/validators/__init__.py | 19 +- neutron_lib/constants.py | 2 + neutron_lib/context.py | 8 +- neutron_lib/exceptions/__init__.py | 8 + neutron_lib/exceptions/flavors.py | 58 +++++ neutron_lib/plugins/constants.py | 1 + neutron_lib/utils/net.py | 13 +- .../notes/add-vni-to-bgpvpn-7531df9fa4f8955b.yaml | 6 + .../notes/bgpvpn_rt_fix-6d02db6a1c22f002.yaml | 5 + .../rehome-flavors-apidef-ef84b2c1c7eaeed7.yaml | 11 + ...rehome-ipv6pdprefix-const-d3b39992df4adef8.yaml | 4 + .../revert-review-400408-4999a9159689c0c5.yaml | 6 + requirements.txt | 16 +- test-requirements.txt | 8 +- tox.ini | 8 + 62 files changed, 1258 insertions(+), 81 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 2d58d57..ed700c1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -10,2 +10,2 @@ stevedore>=1.20.0 # Apache-2.0 -oslo.concurrency>=3.8.0 # Apache-2.0 -oslo.config!=4.3.0,!=4.4.0,>=4.0.0 # Apache-2.0 +oslo.concurrency>=3.20.0 # Apache-2.0 +oslo.config>=4.6.0 # Apache-2.0 @@ -13,2 +13,2 @@ oslo.context>=2.14.0 # Apache-2.0 -oslo.db>=4.24.0 # Apache-2.0 -oslo.i18n!=3.15.2,>=2.1.0 # Apache-2.0 +oslo.db>=4.27.0 # Apache-2.0 +oslo.i18n>=3.15.3 # Apache-2.0 @@ -16 +16 @@ oslo.log>=3.30.0 # Apache-2.0 -oslo.messaging!=5.25.0,>=5.24.2 # Apache-2.0 +oslo.messaging>=5.29.0 # Apache-2.0 @@ -18,3 +18,3 @@ oslo.policy>=1.23.0 # Apache-2.0 -oslo.serialization!=2.19.1,>=1.10.0 # Apache-2.0 -oslo.service>=1.10.0 # Apache-2.0 -oslo.utils>=3.20.0 # Apache-2.0 +oslo.serialization!=2.19.1,>=2.18.0 # Apache-2.0 +oslo.service>=1.24.0 # Apache-2.0 +oslo.utils>=3.28.0 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index d6afc0a..7b02327 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -12 +12 @@ sphinx>=1.6.2 # BSD -openstackdocstheme>=1.16.0 # Apache-2.0 +openstackdocstheme>=1.17.0 # Apache-2.0 @@ -14,2 +14,2 @@ oslotest>=1.10.0 # Apache-2.0 -os-api-ref>=1.0.0 # Apache-2.0 -os-testr>=0.8.0 # Apache-2.0 +os-api-ref>=1.4.0 # Apache-2.0 +os-testr>=1.0.0 # Apache-2.0 @@ -17 +17 @@ reno>=2.5.0 # Apache-2.0 -testresources>=0.2.4 # Apache-2.0/BSD +testresources>=2.0.0 # Apache-2.0/BSD