We joyfully announce the release of: neutron-lib 1.29.0: Neutron shared routines and utilities This release is part of the train 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. 1.29.0 ^^^^^^ New Features ************ * Router API is modified through a regime API extension to neutron- lib that enforces the admin state of a router be DOWN (admin_state_up=False) prior to modifying the distributed attribute of the router. * A new API validation type "type:ethertype" has been added and validates ethertypes either as a valid two byte octet or as 'IPv4' and 'IPv6' based on the sg_filter_ethertypes configuration setting. * New API definition: "extraroute-atomic". Bug Fixes ********* * Fixes an issue in the "l3-conntrack-helper" API definition. The validation for the "helper" field passed a string validation method instead of the maximum length of the string. This caused a TypeError when running under python3. Changes in neutron-lib 1.28.0..1.29.0 ------------------------------------- 104627a New api-def: extraroute-atomic 24aef13 Ensure that extended ethertypes still work by name d27313f Update api-ref location aaae83a Mention that list of e.g. IDs is supported in GET requests 60ca196 Update api-ref location / version db04334 Add ethertype validator for custom ethertype validation 6d9f9e2 Fix - L3 Conntrack Helper validator 2a888c1 Filter placement API endpoint by type too 1376d2e Only have one number to name mapping for IPv6 ICMP adc6a70 Add shim extension admin_state_down_before_update 806763b Add Python 3 Train unit tests Diffstat (except docs and test files) ------------------------------------- api-ref/source/conf.py | 11 +- api-ref/source/v2/intro.inc | 9 ++ api-ref/source/v2/lbaas-v2.inc | 2 +- api-ref/source/v2/routers.inc | 162 +++++++++++++++++++++ .../routers/router-add-extraroutes-request.json | 8 + .../routers/router-add-extraroutes-response.json | 12 ++ .../routers/router-remove-extraroutes-request.json | 8 + .../router-remove-extraroutes-response.json | 10 ++ lower-constraints.txt | 1 + neutron_lib/api/definitions/__init__.py | 4 + neutron_lib/api/definitions/base.py | 1 + neutron_lib/api/definitions/extraroute_atomic.py | 38 +++++ neutron_lib/api/definitions/l3_conntrack_helper.py | 3 +- .../router_admin_state_down_before_update.py | 28 ++++ neutron_lib/api/validators/__init__.py | 50 +++++++ neutron_lib/constants.py | 8 +- neutron_lib/placement/client.py | 3 +- neutron_lib/placement/constants.py | 2 +- .../test_admin_state_down_before_update.py | 18 +++ .../unit/api/definitions/test_extraroute_atomic.py | 20 +++ ...-state-down-before-update-c06fb3a551fe499f.yaml | 5 + .../ethertype_validator-2d608a46c237e214.yaml | 5 + .../extraroute-atomic-apidef-80a7c6d4a773c701.yaml | 4 + ...onntrack-helper-validator-654ccafb296e5f21.yaml | 8 + requirements.txt | 1 + tox.ini | 2 +- 28 files changed, 460 insertions(+), 18 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index f06314f..f69a5c0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -12,0 +13 @@ stevedore>=1.20.0 # Apache-2.0 +os-ken >= 0.3.0 # Apache-2.0
participants (1)
-
no-reply@openstack.org