We are satisfied to announce the release of: neutron-lib 2.21.0: Neutron shared routines and utilities This release is part of the zed 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.21.0 ^^^^^^ New Features * Constants "LOCAL_EGRESS_TABLE", "LOCAL_IP_TABLE" and "PACKET_RATE_LIMIT" are now available in "neutron_lib.plugins.ml2.ovs_constants". * Add API extension "port-mac-address-override". This is a shim extension that indicates if Neutron supports overriding the direct- phyiscal port MAC via the active binding profile. * The class "NumaAffinityPoliciesEnumField" is now available in "neutron_lib.objects.common_types". * To guarantee the correct transition to SQLAlchemy 2.0, Neutron and neutron-lib set the SQL engine connection "autocommit" parameter to "False". Since SQLAlchemy 1.4, this parameter will default to "False"; in SQLAlchemy 2.0, this will be the only value. If session "autocommit" is "False", the session transaction will not end at the end of a reader/writer context. In this case, a session could have an active transaction even when it is not inside a reader/writer context. In order to mimic the previous behaviour, this method checks the pending new, deleted and dirty elements to be flushed. In case of not having any pending command, the session is considered as non active. Changes in neutron-lib 2.20.0..2.21.0 ------------------------------------- d2b395f fix pep8 error daaa1e7 Drop lower-constraints.txt and its testing 2dfe3c3 Remove unimplemented api-def: BFD monitors ef1e8ab Refactor session "is_active" handling for sqlalchemy-20 8448eab Add "neutron-tempest-plugin-jobs" to CI a5b9390 Remove unimplemented api-def: multiple-external-gateways 75a5fbc Don't translate logs 652741d doc: add local-ip api-ref to index 7ae8e74 Doc: Add router gateway IP QoS to api-ref da2baf3 Add oslo_policy.InvalidScope exception to the api faults map ad835ad Rehome missing ovs constants into neutron-lib a3ee9e0 Remove unused code b5f0a26 Add port-mac-address-override shim extension 74d3765 Add Python3 zed unit tests 5ef0d26 Add NumaAffinityPoliciesEnumField class unit tests 1dde6c2 Add custom range parameters on port_range validator 096fb92 Rehome ``NumaAffinityPoliciesEnumField`` a8abe9d [test]Remove the validation of the tenant property e2f05ff Support binding floating ip to smart-nic port 38d6345 Update master for stable/yoga f765e3c Rehome exception ``L3ExtensionException`` Diffstat (except docs and test files) ------------------------------------- .zuul.yaml | 6 +- api-ref/source/v2/bfd_monitors.inc | 307 ---------------- api-ref/source/v2/index.rst | 2 +- api-ref/source/v2/parameters.yaml | 142 +------- api-ref/source/v2/routers.inc | 252 +------------ .../v2/samples/bfd/bfd_monitor-create-request.json | 8 - .../samples/bfd/bfd_monitor-create-response.json | 18 - .../v2/samples/bfd/bfd_monitor-list-response.json | 20 -- .../v2/samples/bfd/bfd_monitor-show-response.json | 18 - .../v2/samples/bfd/bfd_monitor-update-request.json | 9 - .../samples/bfd/bfd_monitor-update-response.json | 18 - .../bfd/bfd_monitor_association-response.json | 23 -- .../bfd/bfd_monitor_session_status-response.json | 13 - .../router-add-external-gateways-request.json | 16 - .../router-add-external-gateways-response.json | 71 ---- .../routers/router-add-extraroutes-request.json | 3 +- .../routers/router-add-extraroutes-response.json | 3 +- .../router-remove-external-gateways-request.json | 9 - .../router-remove-external-gateways-response.json | 61 ---- .../v2/samples/routers/router-show-response.json | 3 +- .../router-update-external-gateways-request.json | 10 - .../router-update-external-gateways-response.json | 71 ---- .../v2/samples/routers/router-update-request.json | 3 +- .../v2/samples/routers/router-update-response.json | 3 +- .../v2/samples/routers/routers-list-response.json | 3 +- lower-constraints.txt | 101 ------ neutron_lib/api/converters.py | 3 +- neutron_lib/api/definitions/__init__.py | 8 +- neutron_lib/api/definitions/base.py | 15 +- neutron_lib/api/definitions/bfd_for_extraroutes.py | 34 -- neutron_lib/api/definitions/bfd_monitor.py | 123 ------- neutron_lib/api/definitions/fip_pf_port_range.py | 4 +- neutron_lib/api/definitions/l3_multi_ext_gw.py | 48 --- .../api/definitions/network_segment_range.py | 3 - .../definitions/port_mac_address_override.py} | 21 +- neutron_lib/api/extensions.py | 7 +- neutron_lib/api/faults.py | 1 + neutron_lib/api/validators/__init__.py | 388 ++++++++++----------- neutron_lib/api/validators/bfd.py | 51 --- neutron_lib/db/api.py | 38 +- neutron_lib/exceptions/l3.py | 7 +- neutron_lib/objects/common_types.py | 4 + neutron_lib/placement/utils.py | 4 - neutron_lib/plugins/ml2/ovs_constants.py | 8 + neutron_lib/plugins/utils.py | 5 +- .../api/definitions/test_bfd_for_extraroutes.py | 22 -- .../unit/api/definitions/test_l3_multi_ext_gw.py | 21 -- ...ome-missing-ovs-constants-c398aa6462c9eb5e.yaml | 6 + ...s-override-shim-extension-fb11c4f40c12a99b.yaml | 6 + ...bfd_monitor_api_extension-910f5842783e040a.yaml | 12 - ...d_monitor_for_extraroutes-ea889414ec8de401.yaml | 10 - .../notes/l3-multi-ext-gw-5a55c7afb7114db7.yaml | 9 - ...affinitypoliciesenumfield-e1e2e8bfe4df4153.yaml | 5 + .../notes/sqlalchemy-2.0-c794885886a62fa6.yaml | 13 + releasenotes/source/index.rst | 1 + releasenotes/source/yoga.rst | 6 + requirements.txt | 4 + tox.ini | 6 - 62 files changed, 365 insertions(+), 1814 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 8b7fc1a..2f0f941 100644 --- a/requirements.txt +++ b/requirements.txt @@ -0,0 +1,4 @@ +# Requirements lower bounds listed here are our best effort to keep them up to +# date but we do not test them so no guarantee of having them all correct. If +# you find any incorrect lower bounds, let us know or propose a fix. +