[release-announce] [neutron] neutron-lib 1.5.0 (pike)

no-reply at openstack.org no-reply at openstack.org
Thu Apr 27 15:03:13 UTC 2017


We eagerly announce the release of:

neutron-lib 1.5.0: Neutron shared routines and utilities

This release is part of the pike release series.

The source is available from:

    http://git.openstack.org/cgit/openstack/neutron-lib

Download the package from:

    https://pypi.python.org/pypi/neutron-lib

Please report issues through launchpad:

    http://bugs.launchpad.net/neutron

For more details, please see below.

1.5.0
^^^^^


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

* The "ACTION_STATUS" is added to API definitions for neutron
  extension has specific "action_status".

* A new converter is added to facilitate converting IPv6 CIDRs to
  canonical format. This way IPv6 CIDRs can be specified in multiple
  formats but would be handled in their canonical format.

* New "N537" hacking check is introduced that enforces no logging
  message translations, in any logging level. The check is enabled by
  default. Also, the "N533" hacking check is now removed because it is
  covered by "N537".

* The "network", "port", "subnet" and "subnetpool" API definitions
  are now available in "neutron_lib.api.definitions".

* The "extra_dhcp_opt" API extension definition from
  "neutron.extensions" has been rehomed to
  "netron_lib.api.definitions" with the same name.

* A new validator "validate_any_key_specs_or_none" has been added
  for the corresponding validation type
  "type:list_of_any_key_specs_or_none". This validator can be used to
  check that a list of dicts match at least 1 key spec allowing
  consumers the ability to define multiple formats for their validated
  data.

* The "neutron.common.utils" function "is_port_trusted" is now
  available in "neutron_lib.utils.net".


Upgrade Notes
*************

* FWaaS has renamed the "public" attribute to "shared" to be in-sync
  with Openstack nomenclature based on the functionality the "shared"
  attribute provides.

* Library consumers may need to adopt their code to new requirements
  of "N537" hacking check, removing translation markers from all
  logging messages. If for some reason it doesn't fit the project,
  consumers can disable the new hacking check using "ignore" statement
  in "flake8" section of their "tox.ini" file, or by other means.

Changes in neutron-lib 1.4.0..1.5.0
-----------------------------------

9cabefd rehome extra_dhcp_opt api-def
c13b6df sync callbacks with neutron
d136fd4 Add new protocols in Firewalls
044cdbe rehome core resource api-defs
4ff7482 api-ref: Add a few type checks for consistency
7bfbb09 Updated from global requirements
2ee5c2d Add CIDR for canonical format conversion
a0d6f5a [FWaaS] Migrate Public attribute to Shared
b87ecb3 Enforce log messages not being translated
4d9101a rehome is_port_trusted util function
24ea6f3 Updated from global requirements
9817dc4 Add ACTION_STATUS to dummy of API definition
222b6a7 Add bgpvpn to list of known extensions


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

HACKING.rst                                        |   2 +-
api-ref/source/v2/fwaas-v2.inc                     |  39 +++---
.../firewall-group-create-response.json            |   2 +-
.../firewall-v2/firewall-group-show-response.json  |   2 +-
.../firewall-group-update-response.json            |   1 +
.../firewall-v2/firewall-groups-list-response.json |   1 +
.../firewall-policies-list-response.json           |   2 +-
.../firewall-policy-create-response.json           |   2 +-
.../firewall-policy-insert-rule-response.json      |   2 +-
.../firewall-policy-remove-rule-response.json      |   2 +-
.../firewall-v2/firewall-policy-show-response.json |   2 +-
.../firewall-policy-update-response.json           |   2 +-
.../firewall-v2/firewall-rule-create-response.json |   2 +-
.../firewall-v2/firewall-rule-show-response.json   |   2 +-
.../firewall-v2/firewall-rule-update-request.json  |   2 +-
.../firewall-v2/firewall-rule-update-response.json |   2 +-
.../firewall-v2/firewall-rules-list-response.json  |   2 +-
neutron_lib/_i18n.py                               |  12 +-
neutron_lib/api/converters.py                      |  18 +++
neutron_lib/api/definitions/__init__.py            |  10 ++
neutron_lib/api/definitions/_dummy.py              |  10 ++
neutron_lib/api/definitions/base.py                |  40 ++++++-
neutron_lib/api/definitions/bgpvpn.py              |   4 +
neutron_lib/api/definitions/constants.py           |   6 +
neutron_lib/api/definitions/data_plane_status.py   |   4 +
neutron_lib/api/definitions/extra_dhcp_opt.py      | 131 +++++++++++++++++++++
neutron_lib/api/definitions/fip64.py               |   4 +
neutron_lib/api/definitions/firewall.py            |  15 ++-
neutron_lib/api/definitions/firewall_v2.py         |  21 ++--
.../api/definitions/firewallrouterinsertion.py     |   4 +
neutron_lib/api/definitions/l3.py                  |   4 +
neutron_lib/api/definitions/logging_resource.py    |   4 +
neutron_lib/api/definitions/network.py             |  73 ++++++++++++
neutron_lib/api/definitions/port.py                |  84 +++++++++++++
neutron_lib/api/definitions/port_security.py       |   4 +
neutron_lib/api/definitions/portbindings.py        |   4 +
neutron_lib/api/definitions/provider_net.py        |   4 +
.../api/definitions/router_interface_fip.py        |   4 +
neutron_lib/api/definitions/subnet.py              | 120 +++++++++++++++++++
neutron_lib/api/definitions/subnetpool.py          |  99 ++++++++++++++++
neutron_lib/api/definitions/trunk.py               |   4 +
neutron_lib/api/definitions/trunk_details.py       |   8 +-
neutron_lib/api/validators.py                      |  70 ++++++++++-
neutron_lib/callbacks/manager.py                   |   5 +-
neutron_lib/callbacks/resources.py                 |   1 -
neutron_lib/hacking/checks.py                      |   2 +-
neutron_lib/hacking/translation_checks.py          |  61 ++++++----
.../unit/api/definitions/test_extra_dhcp_opt.py    |  20 ++++
neutron_lib/utils/net.py                           |  16 +++
.../notes/add-action-status-3dbfe2490a0d231a.yaml  |   4 +
...cidr_for_canonical_format-4e7925d76a27a19d.yaml |   5 +
.../migrate-public-to-shared-0c67b32f9c37c751.yaml |   6 +
...check-no-log-translations-4a430a38aeb06452.yaml |  14 +++
.../rehome-core-api-defs-390735ff3bd5d2ab.yaml     |   4 +
.../rehome-dhcpopts-apidef-389ab9d8935e5e0d.yaml   |   9 ++
.../rehome-port-dev-util-ea6f4a5c4da42f6c.yaml     |   4 +
requirements.txt                                   |   4 +-
67 files changed, 1074 insertions(+), 113 deletions(-)


Requirements updates
--------------------

diff --git a/requirements.txt b/requirements.txt
index c2f5be9..7f897d0 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -5 +5 @@
-pbr>=2.0.0 # Apache-2.0
+pbr!=2.1.0,>=2.0.0 # Apache-2.0
@@ -7 +7 @@ pbr>=2.0.0 # Apache-2.0
-SQLAlchemy>=1.0.10 # MIT
+SQLAlchemy!=1.1.5,!=1.1.6,!=1.1.7,!=1.1.8,>=1.0.10 # MIT





More information about the Release-announce mailing list