We are satisfied to announce the release of:
neutron-lib 1.17.0: Neutron shared routines and utilities
This release is part of the rocky 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.17.0 ^^^^^^
New Features ************
* Add "floatingip-pools" API extension. This extension provides API endpoint for listing floatingip pools.
* Adds api extension "port-mac-address-regenerate". Also adds converter "convert_to_mac_if_none" used by api extenstion "port-mac- address-regenerate". When passing "'null'" ("None") as the "mac_address" on port update the converter will generate a new mac address that will be assigned to the port. RFE: #1768690 (https://bugs.launchpad.net/neutron/+bug/1768690).
* The API defintion for the "port-security-groups-filtering" extension is now available in "neutron_lib.api.definitions.security_groups_port_filtering".
Upgrade Notes *************
* The "CORE" and "L3" service type name constants have been removed from "neutron_lib.constants". These constants are duplicates of those in "neutron_lib.plugin.constants" and consumers should use the latter.
Other Notes ***********
* Add a shim extension "availability_zone_filter" to indicate if "availability_zone" resource supports filter parameters.
Changes in neutron-lib 1.16.0..1.17.0 -------------------------------------
4642785 Add a shim extension availability_zone_filter d7615f5 Add the two missing 'is_filter' keyword 56033ba Add support to regenerate port mac_address 8664953 Add release notes link to README 7ce2f55 Add bandit to pep8 gate ec829f9 remove CORE and L3 from neutron_lib.constants 2544b1e rehome port-security-groups-filtering api extension ba30fe4 Modify the type of subnet in the api-ref 95e72ea Add the floatingip pools extension
Diffstat (except docs and test files) -------------------------------------
README.rst | 1 + api-ref/source/v2/parameters.yaml | 2 +- api-ref/source/v2/ports.inc | 8 +++ api-ref/source/v2/subnets.inc | 1 + neutron_lib/api/converters.py | 14 +++++ neutron_lib/api/definitions/__init__.py | 8 +++ .../api/definitions/availability_zone_filter.py | 29 +++++++++++ neutron_lib/api/definitions/base.py | 1 + neutron_lib/api/definitions/floatingip_pools.py | 51 +++++++++++++++++++ neutron_lib/api/definitions/l3.py | 2 +- neutron_lib/api/definitions/port.py | 16 +++--- .../api/definitions/port_mac_address_regenerate.py | 42 +++++++++++++++ .../definitions/security_groups_port_filtering.py | 59 ++++++++++++++++++++++ neutron_lib/api/definitions/subnet.py | 1 + neutron_lib/callbacks/registry.py | 5 +- neutron_lib/constants.py | 11 ---- neutron_lib/db/api.py | 5 +- neutron_lib/plugins/constants.py | 1 + neutron_lib/plugins/directory.py | 2 +- .../definitions/test_availability_zone_filter.py | 18 +++++++ .../unit/api/definitions/test_floatingip_pools.py | 20 ++++++++ .../test_port_mac_address_regenerate.py | 20 ++++++++ .../test_security_groups_port_filtering.py | 20 ++++++++ ...ity_zone_filter-extension-e91e1e5e822e4133.yaml | 5 ++ ...loatingip-pools-extension-17a1ee5c7eafc989.yaml | 5 ++ ...rt-mac-address-regenerate-cc33d03216b5bc3d.yaml | 9 ++++ ...-secgrp-portfilter-apidef-6723062419531d70.yaml | 5 ++ .../notes/rm-dup-pluginconst-085d0fcee4e931b8.yaml | 5 ++ test-requirements.txt | 1 + tox.ini | 6 +++ 31 files changed, 366 insertions(+), 23 deletions(-)
Requirements updates --------------------
diff --git a/test-requirements.txt b/test-requirements.txt index 7cbb692..b2318b1 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -6,0 +7 @@ hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0 +bandit>=1.1.0 # Apache-2.0
participants (1)
-
no-reply@openstack.org