We are glad to announce the release of: neutron-lib 1.27.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.27.0 ^^^^^^ New Features ************ * A new method "retrieve_valid_sort_keys" was added to "neutron_lib.api.attributes". This method can help retrieve valid sort keys from a given resource attribute map. * The "l3-conntrack-helper" API definition for "Router" is introduced, which allows conntrack helper target rules to be set for a "Router". * Introduced "expose-l3-conntrack-helper" API extension for exposing "conntrack_helpers" field in "Router" API response. This extension requires the "router" and "conntrack_helper" service plugins. Other Notes *********** * Since commit (https://github.com/sqlalchemy/sqlalchemy/commit/6446e 0dfd3e3bb60754bad81c4d52345733d94e3), an AssociationProxy proxy instance is an AssociationProxyInstance derivative object. In order to import versions SQLAlchemy>=1.3.x, we need to handle both implementations. Changes in neutron-lib 1.26.0..1.27.0 ------------------------------------- 96b8260 sync sql fixtures from neutron 5b6a27d Cap sphinx for py2 to match global requirements 57d7d3b Update Python 3 test runtimes for Train 65264a9 Add sort_keys retrieving function b04ea0d Blacklist bandit 1.6.0 due to directory exclusion bug c220374 use once rather than always for filterwarnings a0b3912 Use AssociationProxyInstance instead of AssociationProxy 975d664 Update hacking version d825414 Replace git.openstack.org URLs with opendev.org URLs 84dc525 OpenDev Migration Patch 8fe6e3c Remove "tags" listed in Create port POST api-ref c6b907a L3 Conntrack Helper Extension Diffstat (except docs and test files) ------------------------------------- .gitreview | 2 +- .zuul.yaml | 3 +- README.rst | 2 +- api-ref/source/conf.py | 6 +- api-ref/source/v2/index.rst | 1 + api-ref/source/v2/l3-conntrack-helper.inc | 212 +++++++++++++++++++++ api-ref/source/v2/parameters.yaml | 100 ++++++++++ api-ref/source/v2/ports.inc | 1 - api-ref/source/v2/routers.inc | 11 ++ .../conntrack-helper-create-request.json | 7 + .../conntrack-helper-create-response.json | 8 + .../conntrack-helper-list-response.json | 16 ++ .../conntrack-helper-show-response.json | 8 + .../conntrack-helper-update-request.json | 7 + .../conntrack-helper-update-response.json | 8 + .../v2/samples/routers/router-create-response.json | 3 +- .../v2/samples/routers/router-show-response.json | 3 +- .../v2/samples/routers/router-update-response.json | 3 +- .../v2/samples/routers/routers-list-response.json | 28 ++- neutron_lib/api/attributes.py | 13 ++ neutron_lib/api/definitions/__init__.py | 4 + neutron_lib/api/definitions/base.py | 14 +- .../api/definitions/expose_l3_conntrack_helper.py | 42 ++++ neutron_lib/api/definitions/l3_conntrack_helper.py | 127 ++++++++++++ neutron_lib/api/definitions/trunk_details.py | 2 +- neutron_lib/api/validators/__init__.py | 14 +- neutron_lib/db/model_query.py | 7 +- neutron_lib/db/utils.py | 14 +- neutron_lib/exceptions/__init__.py | 4 +- neutron_lib/fixture.py | 41 ++-- neutron_lib/placement/utils.py | 2 +- .../definitions/test_expose_l3_conntrack_helper.py | 24 +++ .../api/definitions/test_l3_conntrack_helper.py | 28 +++ ...t-keys-from-attribute-map-ae53d67e0be2ace0.yaml | 5 + .../api-definition-base-d2e9514c5ee2ef5b.yaml | 2 +- .../notes/context-public-6df198b77027c224.yaml | 2 +- .../l3_conntrack_helper-f186bcdcc31bcaf2.yaml | 9 + .../notes/plugin-directory-55861f4098813ba6.yaml | 2 +- .../revert-review-400408-4999a9159689c0c5.yaml | 2 +- .../notes/sqlalchemy-1-3-0-b0a2b15b10ae526f.yaml | 7 + setup.cfg | 1 + test-requirements.txt | 4 +- tox.ini | 12 +- 53 files changed, 792 insertions(+), 92 deletions(-) Requirements updates -------------------- diff --git a/test-requirements.txt b/test-requirements.txt index b2318b1..81e2e83 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -5 +5 @@ -hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0 +hacking>=1.1.0,<1.2.0 # Apache-2.0 @@ -7 +7 @@ hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0 -bandit>=1.1.0 # Apache-2.0 +bandit!=1.6.0,>=1.1.0 # Apache-2.0
participants (1)
-
no-reply@openstack.org