[release-announce] neutron-lib 2.6.0 (victoria)

no-reply at openstack.org no-reply at openstack.org
Fri Sep 4 13:23:48 UTC 2020


We joyfully announce the release of:

neutron-lib 2.6.0: Neutron shared routines and utilities

This release is part of the victoria 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.6.0
^^^^^


New Features
************

* Add an API extension "security-groups-remote-address-group" that
  adds the new field "remote_address_group_id" in security group
  rules. This allows users to easily manage SG rules for aggregated IP
  address blocks.

* * Bump "PlacementAPIClient's" max supported microversion to

    "1.28", as from that version "allocations" API handles generations
    in a general way.

  * Add "list_allocations", "update_allocation" and
    "update_qos_minbw_allocation" methods.

* Add "source_ip_prefix" and "destination_ip_prefix" to Neutron
  metering label rules.


Deprecation Notes
*****************

* The parameter 'remote_ip_prefix' in metering label rules has been
  deprecated. Its name expresses the opposite of what does when used,
  and the lack of documentation confuses people. Moreover, an
  alternative method has been proposed and approved to enable
  operators to create metering rules using both source and destination
  IP addresses.

Changes in neutron-lib 2.5.0..2.6.0
-----------------------------------

0380f0c New exception QosPlacementAllocationConflict
41e6b9b Add placement client methods for allocations
323364f Use importlib to take place of imp module
d057aa1 Add remote_address_group_id field in SG rules
1439679 Add source_ip_prefix and destination_ip_prefix to metering label rules
713f3e5 Deprecate 'remote_ip_prefix' parameter in metering label rules
024b5af Log time of the apply_func only if it took more than 0.1 second
40efa20 Fix: port attribute name propagate_uplink_status
596b84f Add neutron-tempest-plugin-api job to be gating in neutron-lib
67fcda4 [api-ref] Added warning about overwriting router's default routes


Diffstat (except docs and test files)
-------------------------------------

.zuul.yaml                                         |   2 +
api-ref/source/v2/metering.inc                     |  16 ++-
api-ref/source/v2/parameters.yaml                  |  73 +++++++----
api-ref/source/v2/ports.inc                        |  16 +--
api-ref/source/v2/routers.inc                      |  18 +++
.../v2/samples/ports/port-bind-create-request.json |   2 +-
.../samples/ports/port-bind-create-response.json   |   2 +-
.../v2/samples/ports/port-bind-show-response.json  |   2 +-
.../samples/ports/port-bind-update-response.json   |   2 +-
.../v2/samples/ports/port-create-request.json      |   2 +-
.../v2/samples/ports/port-create-response.json     |   2 +-
.../v2/samples/ports/port-show-response.json       |   2 +-
.../v2/samples/ports/port-update-response.json     |   2 +-
.../v2/samples/ports/ports-bind-list-response.json |   4 +-
.../samples/ports/ports-bulk-create-response.json  |   4 +-
.../v2/samples/ports/ports-list-response.json      |   4 +-
neutron_lib/api/definitions/__init__.py            |   4 +
neutron_lib/api/definitions/base.py                |   1 +
.../metering_source_and_destination_filters.py     |  57 +++++++++
.../security_groups_remote_address_group.py        |  46 +++++++
neutron_lib/db/resource_extend.py                  |   8 +-
neutron_lib/exceptions/placement.py                |  14 +++
neutron_lib/exceptions/qos.py                      |   6 +
neutron_lib/placement/client.py                    |  60 ++++++++-
...test_metering_source_and_destination_filters.py |  28 +++++
.../test_security_groups_remote_address_group.py   |  22 ++++
...oups-remote-address-group-c71dbb57b61a1dba.yaml |   6 +
.../notes/allocations_api-1ae5fd78c83353df.yaml    |   8 ++
...x-in-metering-label-rules-308b3d430bc213b3.yaml |   8 ++
...into-metering-label-rules-3d62fccbca8e67b8.yaml |   5 +
tools/pyir.py                                      |   4 +-
33 files changed, 527 insertions(+), 51 deletions(-)







More information about the Release-announce mailing list