neutron-lib 1.22.0 (stein)
We joyfully announce the release of: neutron-lib 1.22.0: Neutron shared routines and utilities This release is part of the stein release series. The source is available from: https://git.openstack.org/cgit/openstack/neutron-lib Download the package from: https://pypi.org/project/neutron-lib Please report issues through launchpad: https://bugs.launchpad.net/neutron For more details, please see below. 1.22.0 ^^^^^^ New Features * Adds new traffic control exceptions "TcLibQdiscNeededArguments" and "TcLibQdiscTypeError" in "neutron-lib.exceptions.qos". * A new function named "validate_route_cidr" was introduced which is used to validate if "destination" of "routes" and "destination" of "host_routes" is a network address of a destination subnet or an IP address of a destination. * Add API definition for the new "network-segment-range" extension. * The following exceptions from "neutron.common.exceptions" have been rehomed into neutron-lib; "PortBindingAlreadyActive", "PortBindingAlreadyExists", "PortBindingError", "ProcessExecutionError", "RouterQosBindingNotFound", "RouterQosBindingError". * The private ORM event listener functions from "neutron.db.api" are now in "neutron_lib.db.api" and are automatically loaded when importing any neutron-lib module. * Add "smart-nic" VNIC type for Smart NIC ports. Changes in neutron-lib 1.21.0..1.22.0 ------------------------------------- f3f220e Add smartnic port type to VNIC_TYPES 4398fd5 api-ref: document network-segment-range extension 3ef70e8 Fix the misspelling of "interface" 7da3684 Modify the judgment method of CIDR and Add utests 84e1532 Add network-segment-range extension API definition 4db006e sync neutron.common.exceptions into neutron-lib 14bc0d9 rehome db api orm event listener functions 3b80a14 Revert "Add function helpers.compare_dict" b934133 Add traffic control exceptions 100f842 api-ref: document uplink status propagation 532b398 Handle ValueError in canonical address convertion 6646e33 Update devel info: mailing list 029f3b4 Change openstack-dev to openstack-discuss 34910dc Add function helpers.compare_dict 7d3bb68 context: Warn on mixed uses of old and new db methods Diffstat (except docs and test files) ------------------------------------- api-ref/source/v2/index.rst | 1 + api-ref/source/v2/network_segment_ranges.inc | 245 +++++++++++++++++++++ api-ref/source/v2/parameters.yaml | 160 +++++++++++++- api-ref/source/v2/ports.inc | 25 ++- api-ref/source/v2/routers.inc | 2 +- .../network_segment_range-create-request.json | 11 + .../network_segment_range-create-response.json | 16 ++ .../network_segment_range-show-response.json | 18 ++ .../network_segment_range-update-request.json | 7 + .../network_segment_range-update-response.json | 18 ++ .../network_segment_ranges-list-response.json | 36 +++ .../v2/samples/ports/port-bind-create-request.json | 3 +- .../samples/ports/port-bind-create-response.json | 3 +- .../v2/samples/ports/port-bind-show-response.json | 3 +- .../samples/ports/port-bind-update-response.json | 3 +- .../v2/samples/ports/port-create-request.json | 3 +- .../v2/samples/ports/port-create-response.json | 3 +- .../v2/samples/ports/port-show-response.json | 3 +- .../v2/samples/ports/port-update-response.json | 3 +- .../v2/samples/ports/ports-bind-list-response.json | 6 +- .../samples/ports/ports-bulk-create-response.json | 6 +- .../v2/samples/ports/ports-list-response.json | 6 +- lower-constraints.txt | 2 +- neutron_lib/__init__.py | 5 + neutron_lib/api/converters.py | 2 +- neutron_lib/api/definitions/__init__.py | 2 + neutron_lib/api/definitions/base.py | 1 + .../api/definitions/network_segment_range.py | 146 ++++++++++++ neutron_lib/api/definitions/portbindings.py | 3 +- neutron_lib/api/validators/__init__.py | 26 ++- neutron_lib/context.py | 6 + neutron_lib/db/api.py | 121 ++++++++++ neutron_lib/exceptions/__init__.py | 21 ++ neutron_lib/exceptions/network_segment_range.py | 35 +++ neutron_lib/exceptions/qos.py | 20 ++ .../api/definitions/test_network_segment_range.py | 26 +++ ...raffic-control-exceptions-0e137dae3a556d54.yaml | 5 + .../notes/add-validate-cidr-848c9171dcbcf57c.yaml | 7 + ...network-segment-range-ext-2b93b7fa42310c25.yaml | 4 + .../rehome-common-exceptions-eda074ddb02349ab.yaml | 7 + ...me-db-api-event-listeners-2fb5256166e2a4e8.yaml | 5 + .../vnic-type-smart-nic-45dd5a22a9d1aa63.yaml | 4 + requirements.txt | 2 +- setup.cfg | 2 +- 48 files changed, 1038 insertions(+), 30 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 730fdaa..8e09ff9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7 +7 @@ pbr!=2.1.0,>=2.0.0 # Apache-2.0 -SQLAlchemy!=1.1.5,!=1.1.6,!=1.1.7,!=1.1.8,>=1.0.10 # MIT +SQLAlchemy>=1.2.0 # MIT
participants (1)
-
no-reply@openstack.org