[release-announce] neutron-lib 2.18.0 (yoga)

no-reply at openstack.org no-reply at openstack.org
Wed Dec 15 15:51:07 UTC 2021


We jubilantly announce the release of:

neutron-lib 2.18.0: Neutron shared routines and utilities

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

New Features

* New API validators "validate_oneline_not_empty_string" and
  "validate_oneline_not_empty_string_or_none" are added. Those
  validators are now used to validate "opt_name" and "opt_value"
  fields of the extra_dhcp_opt so strings with newline character are
  not valid for dhcp extra option's name nor value.

* A new method "update_network" has been added to "L3AgentExtension"
  to handle the network update events in the L3 agent extensions.

* Added field "qos_network_policy_id" to the "floatingip"
  definition. This read only parameter contains the QoS policy of the
  network where the floating IP is plugged.

* The "qos-fip" extension's API definition is now available in
  "neutron_lib.api.definitions.qos_fip".

Changes in neutron-lib 2.17.0..2.18.0
-------------------------------------

6a922e4 Allow to pass custom reason in NetworkInUse exception
4807bac Add new method "update_network" to "L3AgentExtension".
4d44f54 Replace "target_tenant" with "target_project" in RBAC OVOs and models
a3b564d Exception for BFD: BfdMonitorInUse
8736420 Rehome QoS floating IP extension
f9497ac Add floating IP network QoS field to floating IP definition
d2bd776 Make update_qos_minbw_allocation() more generic
1f4c403 Add oneline_string validators


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

api-ref/source/v2/floatingips.inc                  |  24 +++++
api-ref/source/v2/parameters.yaml                  |  18 ++++
.../floatingips/floating-ips-list-response.json    |  13 ++-
.../floatingips/floatingip-create-request.json     |   3 +-
.../floatingips/floatingip-create-response.json    |   3 +-
.../floatingips/floatingip-show-response.json      |   4 +-
.../floatingips/floatingip-update-response.json    |   4 +-
neutron_lib/agent/l3_extension.py                  |  10 ++
neutron_lib/api/definitions/__init__.py            |   4 +
neutron_lib/api/definitions/base.py                |   2 +
neutron_lib/api/definitions/extra_dhcp_opt.py      |   4 +-
neutron_lib/api/definitions/qos_fip.py             |  41 ++++++++
.../api/definitions/qos_fip_network_policy.py      |  41 ++++++++
neutron_lib/api/validators/__init__.py             |  34 ++++++
neutron_lib/db/model_query.py                      |   8 +-
neutron_lib/exceptions/__init__.py                 |  11 +-
neutron_lib/exceptions/l3.py                       |   5 +
neutron_lib/placement/client.py                    |  47 ++++-----
.../api/definitions/test_qos_fip_network_policy.py |  25 +++++
...-oneline-string-validator-aa4e1ccad9d8d5c8.yaml |   8 ++
...extensions-update-network-e4887f7f258e40f0.yaml |   5 +
.../qos-fip-network-policy-ded58703313ae248.yaml   |   6 ++
.../rehome-qos-fip-apidef-a2e4d49af177be85.yaml    |   5 +
27 files changed, 440 insertions(+), 78 deletions(-)







More information about the Release-announce mailing list