We are pumped to announce the release of: neutron-lib 3.9.0: Neutron shared routines and utilities This release is part of the caracal 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. 3.9.0 ^^^^^ New Features * Added support for more ciphers to the neutron-vpnaas API. Added encryption algorithms (AES CCM and AES GCM modes for 128/192/256 bit keys and 8/12/16 octet ICVs, e.g. aes-256-ccm-16), authentication algorithms (AES-XCBC, AES-CMAC) and PFS choices (Diffie Hellman groups 15 to 31). * "CallbacksManager" can now subscribe cancellable events. By default, only "before_" and "precommit_" events, in case of error, can raise a "CallbackFailure" exception. Now, if the event is subscribed with the flag "cancellable" enabled, the "publish" method will raise this exception if the callback fails and returns an error. Changes in neutron-lib 3.8.0..3.9.0 ----------------------------------- 8bb438d Switch to py311 sqlalchemy master job 343b2db Remove unmaintained API report tooling 825d292 Change test_sqlalchemytypes.py to support sqlalchemy 2.0 b7598da vpnaas: add support for more ciphers (auth, encryption, pfs modes) 08b8c6d Add the "cancellable" flag to the ``CallbacksManager`` events 1da7187 Imported Translations from Zanata bdebe1d Update master for stable/2023.2 7de2cb3 api-ref: Move sfc api-ref to neutron-lib Diffstat (except docs and test files) ------------------------------------- .zuul.yaml | 1 + api-ref/source/v2/index.rst | 8 + api-ref/source/v2/parameters.yaml | 226 ++- .../samples/sfc-chains/port-chain-create-req.json | 15 + .../samples/sfc-chains/port-chain-create-resp.json | 16 + .../v2/samples/sfc-chains/port-chain-get-resp.json | 16 + .../samples/sfc-chains/port-chain-list-resp.json | 18 + .../samples/sfc-chains/port-chain-update-req.json | 16 + .../samples/sfc-chains/port-chain-update-resp.json | 16 + .../flow-classifier-create-req.json | 14 + .../flow-classifier-create-resp.json | 15 + .../sfc-classifiers/flow-classifier-get-resp.json | 15 + .../sfc-classifiers/flow-classifier-list-resp.json | 17 + .../flow-classifier-update-req.json | 8 + .../flow-classifier-update-resp.json | 15 + .../port-pair-group-create-req.json | 10 + .../port-pair-group-create-resp.json | 11 + .../port-pair-group-get-resp.json | 11 + .../port-pair-group-list-resp.json | 13 + .../port-pair-group-update-req.json | 10 + .../port-pair-group-update-resp.json | 11 + .../sfc-port-pairs/port-pair-create-req.json | 9 + .../sfc-port-pairs/port-pair-create-resp.json | 10 + .../samples/sfc-port-pairs/port-pair-get-resp.json | 10 + .../sfc-port-pairs/port-pair-list-resp.json | 13 + .../sfc-port-pairs/port-pair-update-req.json | 7 + .../sfc-port-pairs/port-pair-update-resp.json | 10 + .../service-graph-create-req.json | 22 + .../service-graph-create-resp.json | 25 + .../sfc-service-graphs/service-graph-get-resp.json | 25 + .../service-graph-list-resp.json | 39 + .../service-graph-update-req.json | 6 + .../service-graph-update-resp.json | 25 + api-ref/source/v2/sfc-chains.inc | 206 +++ api-ref/source/v2/sfc-classifiers.inc | 230 +++ api-ref/source/v2/sfc-port-pair-groups.inc | 202 +++ api-ref/source/v2/sfc-port-pairs.inc | 200 +++ api-ref/source/v2/sfc-servicegraph.inc | 189 +++ neutron_lib/api/definitions/__init__.py | 2 + neutron_lib/api/definitions/vpn.py | 68 +- neutron_lib/api/definitions/vpn_aes_ccm_gcm.py | 27 + neutron_lib/callbacks/events.py | 6 + neutron_lib/callbacks/exceptions.py | 7 +- neutron_lib/callbacks/manager.py | 74 +- neutron_lib/callbacks/registry.py | 6 +- .../locale/zh_CN/LC_MESSAGES/neutron_lib.po | 229 +-- .../unit/api/definitions/test_vpn_aes_ccm_gcm.py | 18 + .../notes/add-vpnaas-ciphers-6c1dffbc2cdc3225.yaml | 8 + ...anager-cancellable-events-966d76925db919a8.yaml | 8 + releasenotes/source/2023.2.rst | 6 + releasenotes/source/index.rst | 1 + .../locale/en_GB/LC_MESSAGES/releasenotes.po | 317 ++++ test-requirements.txt | 1 + tools/api_report.sh | 93 -- tools/pyir.py | 1526 -------------------- tox.ini | 4 - 59 files changed, 2316 insertions(+), 1947 deletions(-) Requirements updates -------------------- diff --git a/test-requirements.txt b/test-requirements.txt index 036b8a9..652d301 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -8,0 +9 @@ coverage!=4.4,>=4.0 # Apache-2.0 +ddt>=1.0.1 # MIT