We are pumped to announce the release of: neutron-lib 1.26.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.26.0 ^^^^^^ New Features ************ * Introduce the ML2 type driver abstract methods "initialize_network_segment_range_support" and "update_network_segment_range_allocations" for the network segment range support when the extension is loaded. * The "WarningsFixture" is now available in "neutron_lib.fixture" and its constructor accepts additional module's to use with filterwarnings. * The "model_query" function is now available in "neutron_lib.db.utils". * The "neutron.objects.common_types" module is now available in "neutron_lib.objects.common_types". * The "get_random_EUI" and "get_random_ip_network" functions are now available in "neutron_lib.tests.tools". * The "AuthenticIPNetwork" and "AuthenticEUI" classes are now available in "neutron_lib.utils.net". * The "neutron.objects.logapi.events_types" module is now available as "neutron_lib.objects.logapi.events_types". * The "neutron.services.logapi.common.constants" module is now available as "neutron_lib.services.logapi.constants". * The "neutron.objects.extensions.standardattributes" module is now available as "neutron_lib.objects.extensions.standardattributes". * The function "provider_network_attribute_updates_supported" is now available in "neutron_lib.plugins.ml2.api.MechanismDriver". * The "neutron_lib.db.standard_attr" module is now available for use. * The "subnet-service-types" extension is now available in "neutron_lib.api.definitions.subnet_service_types". * The "InvalidSubnetServiceType" and "InvalidInputSubnetServiceType" exceptions are now available in "neutron_lib.exceptions". * The validation type "list_of_subnet_service_types" is now available. * The "OpenFixture" class is now available in "neutron_lib.fixtures". * The "reset_random_seed" function is now available in "neutron_lib.tests.tools". Other Notes *********** * Add new "PORT_FORWARDING_FLOATINGIP_KEY" constant. * "IP" and "HOPOPT" keywords were added to "neutron_lib.constants.IP_PROTOCOL_MAP". This allows the use of these keywords to be used when creating security group rules to describe either all IP protocols (for IPv4), or Hop-by-Hop Options (for IPv6), instead of having to use the number zero (0) for this purpose. * Add "NoAuthClient" for placement.client to enable fullstack testing of placement reporting service plugin. Changes in neutron-lib 1.25.0..1.26.0 ------------------------------------- c58df69 update db fixtures for consumption testing 3ec5a22 Add noauth option for placement client c104e82 Dropping the py35 testing ea53b0e remove use of legacy modules b4ecdc9 fix WarningsFixture for public consumption 3fd0a3c Rehome provider_network_attribute_updates_supported to API definition f382631 Adds PORT_FORWARDING_FLOATINGIP_KEY 02233a9 rehome neutron.objects.common_types 907c1d8 Change exception types in network_segment_range 775c2c8 rehome neutron.objects.logapi.event_types e750b94 Fix a typo. 4f070d2 Add 'IP' and 'HOPOPT' protocols to constants f059812 rehome neutron.objects.extensions.standardattributes 01b5e4e rehome neutron.db.standard_attr 011228b rehome model_query function 3b1793e Update master for stable/stein e13f082 standard-attr for network-segment-range api-ref 9dfe2e1 Add methods for network segment range support 43cece7 rehome subnet service types extension 4cb9cce api-ref: remove 'external_network_bridge' from agent 31bad8c Allow filtering/sorting by the 'mtu' field ef9c2ae rehome used neutron.tests.tools Diffstat (except docs and test files) ------------------------------------- .zuul.yaml | 1 - api-ref/source/v2/bgpvpn-overview.inc | 2 +- api-ref/source/v2/network_segment_ranges.inc | 43 +++ api-ref/source/v2/parameters.yaml | 6 - .../v2/samples/agents/agents-list-response.json | 1 - .../agents/router-l3-agent-list-response.json | 3 +- .../network_segment_range-create-request.json | 1 + .../network_segment_range-create-response.json | 7 +- .../network_segment_range-show-response.json | 7 +- .../network_segment_range-update-request.json | 3 +- .../network_segment_range-update-response.json | 7 +- .../network_segment_ranges-list-response.json | 14 +- neutron_lib/api/definitions/__init__.py | 2 + neutron_lib/api/definitions/base.py | 2 + .../api/definitions/network_mtu_writable.py | 1 + .../api/definitions/subnet_service_types.py | 43 +++ neutron_lib/api/validators/__init__.py | 23 +- neutron_lib/constants.py | 7 + neutron_lib/db/standard_attr.py | 258 +++++++++++++++++ neutron_lib/db/utils.py | 18 ++ neutron_lib/exceptions/__init__.py | 9 + neutron_lib/exceptions/network_segment_range.py | 6 +- neutron_lib/fixture.py | 147 +++++++++- neutron_lib/legacy/README.rst | 7 - neutron_lib/objects/common_types.py | 321 +++++++++++++++++++++ .../{legacy => objects/extensions}/__init__.py | 0 .../objects/extensions/standardattributes.py | 50 ++++ neutron_lib/objects/logapi/__init__.py | 0 neutron_lib/objects/logapi/event_types.py | 38 +++ neutron_lib/placement/client.py | 79 ++++- neutron_lib/plugins/ml2/api.py | 31 ++ neutron_lib/services/logapi/__init__.py | 0 neutron_lib/services/logapi/constants.py | 59 ++++ .../api/definitions/test_subnet_service_types.py | 21 ++ neutron_lib/utils/net.py | 41 +++ ...FORWARDING_FLOATINGIP_KEY-ee2c7d164bea04b4.yaml | 4 + ...pt-to-protocol-dictionary-3cbe54bb5056f790.yaml | 9 + ...for-network-segment-range-e6d300d430d97dd6.yaml | 7 + .../notes/fix-warnfixture-c9457c50d0d5c5a7.yaml | 4 + .../notes/rehome-modelquery-2079a43163def870.yaml | 3 + .../rehome-obj-commontypes-f8dfca432bf4583b.yaml | 8 + .../rehome-obj-logeventtypes-b31e7c6492ca6615.yaml | 6 + .../rehome-obj-stdattrs-06c4df5bb1fca3f1.yaml | 4 + ...tribute-updates-supported-ea02a526ef297053.yaml | 4 + .../notes/rehome-stdattr-d834900d3fd3c2e6.yaml | 3 + ...subnetservicetypes-apidef-31e2e9564c746317.yaml | 7 + .../notes/rehome-testools-6fba053249e14d42.yaml | 5 + releasenotes/source/index.rst | 1 + releasenotes/source/stein.rst | 6 + requirements.txt | 1 + setup.cfg | 2 +- tox.ini | 2 +- 61 files changed, 1808 insertions(+), 95 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index c34d830..f06314f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,0 +10 @@ keystoneauth1>=3.4.0 # Apache-2.0 +netaddr>=0.7.18 # BSD
participants (1)
-
no-reply@openstack.org