[openstack-dev] [new][neutron] neutron-lib 0.3.0 release (newton)

no-reply at openstack.org no-reply at openstack.org
Wed Jul 27 18:39:13 UTC 2016


We are high-spirited to announce the release of:

neutron-lib 0.3.0: Neutron shared routines and utilities

This release is part of the newton release series.

With source available at:

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

With package available at:

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

Please report issues through launchpad:

    http://bugs.launchpad.net/neutron

For more details, please see below.

Changes in neutron-lib 0.2.0..0.3.0
-----------------------------------

1d44493 Remove discover from test-requirements
37c5a03 Add validator to test integers
7c09268 Deprecate N523 check that forbids oslo.* imports
0316d00 devref for public API docstring
cf874bf Migration report: validate that bc is installed
23aea4e add tags to api-ref files for the content verification phase
9dc6770 Add tool to track migration to neutron-lib
5cdbb04 Document release steps for neutron-lib
5f4af17 Expand the API reference Table of Content
911c1ac Updated from global requirements
7875c52 Fix simple typo
de11a26 Tweak validation logic for subport validator
646d6f1 Updated from global requirements
9157ed5 Update documents to address some issues
159e04e Updated from global requirements
64991fd Rehome IPV6_MODES constants
3fcd939 Update validator accessors
112eef6 Forbid eventlet based code
6f09e4d Make the constant Sentinel() class public
84491d2 100% unit test coverage for hacking/checks.py
ba717a0 Localized exception message hacking check
0a6a347 Updated from global requirements
0ac922e WADL to RST migration
b82347d Add translation validations to the hacking policy
695eccf Updated from global requirements
e419f24 Fix E128 hacking errors and enable it
1cb7708 TrivialFix: Fix a bad indentation in a doc file
142c2b7 Enable local hacking rule in neutron-lib
4031e12 Hacking: update iteritems hacking message
c607b44 Add Neutron L3 agent types
e336158 Fix exception for invalid type
f54a138 Add subport validator for vlan-aware-vms
ea2bcdd Updated from global requirements
445e74d Remove unused oslo.service requirement
bb13c50 Fixed type:dict validator passes unexpected keys


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

.gitignore                                         |    1 +
HACKING.rst                                        |    6 +-
api-ref/source/conf.py                             |  222 ++
api-ref/source/index.rst                           |    9 +
.../extensions/extension-show-response.json        |    9 +
.../extensions/extensions-list-response.json       |  123 +
.../samples/firewalls/firewall-create-request.json |    6 +
.../firewalls/firewall-create-response.json        |   14 +
.../firewalls/firewall-policies-list-response.json |   15 +
.../firewalls/firewall-policy-create-request.json  |    8 +
.../firewalls/firewall-policy-create-response.json |   13 +
.../firewall-policy-insert-rule-request.json       |    5 +
.../firewall-policy-insert-rule-response.json      |   14 +
.../firewall-policy-remove-rule-request.json       |    3 +
.../firewall-policy-remove-rule-response.json      |   13 +
.../firewalls/firewall-policy-show-response.json   |   13 +
.../firewalls/firewall-policy-update-request.json  |    8 +
.../firewalls/firewall-policy-update-response.json |   14 +
.../firewalls/firewall-rule-create-request.json    |    9 +
.../firewalls/firewall-rule-create-response.json   |   19 +
.../firewalls/firewall-rule-show-response.json     |   19 +
.../firewalls/firewall-rule-update-request.json    |    5 +
.../firewalls/firewall-rule-update-response.json   |   19 +
.../firewalls/firewall-rules-list-response.json    |   21 +
.../samples/firewalls/firewall-show-response.json  |   14 +
.../samples/firewalls/firewall-update-request.json |    5 +
.../firewalls/firewall-update-response.json        |   14 +
.../samples/firewalls/firewalls-list-response.json |   16 +
.../samples/flavors/flavor-associate-request.json  |    5 +
.../samples/flavors/flavor-associate-response.json |    5 +
.../samples/flavors/flavor-create-request.json     |    8 +
.../samples/flavors/flavor-create-response.json    |   10 +
.../samples/flavors/flavor-show-response.json      |   10 +
.../samples/flavors/flavor-update-request.json     |    7 +
.../samples/flavors/flavor-update-response.json    |   10 +
.../samples/flavors/flavors-list-response.json     |   12 +
.../flavors/service-profile-create-request.json    |    8 +
.../flavors/service-profile-create-response.json   |    9 +
.../flavors/service-profile-show-response.json     |    9 +
.../flavors/service-profile-update-request.json    |    8 +
.../flavors/service-profile-update-response.json   |    9 +
.../flavors/service-profiles-list-response.json    |   18 +
.../lbaas/healthmonitor-associate-request.json     |    5 +
.../lbaas/healthmonitor-associate-response.json    |    3 +
.../lbaas/healthmonitor-create-request.json        |   12 +
.../lbaas/healthmonitor-create-response.json       |   15 +
.../samples/lbaas/healthmonitor-show-response.json |   21 +
.../lbaas/healthmonitor-update-request.json        |   11 +
.../lbaas/healthmonitor-update-response.json       |   21 +
.../lbaas/healthmonitors-list-response.json        |   23 +
.../samples/lbaas/listener-create-request.json     |   16 +
.../samples/lbaas/listener-create-response.json    |   23 +
.../samples/lbaas/listener-show-response.json      |   23 +
.../samples/lbaas/listener-update-request.json     |   13 +
.../samples/lbaas/listener-update-response.json    |   23 +
.../samples/lbaas/listeners-list-response.json     |   25 +
.../samples/lbaas/loadbalancer-create-request.json |   11 +
.../lbaas/loadbalancer-create-response.json        |   16 +
.../lbaas/loadbalancer-delete-response.json        |    8 +
.../samples/lbaas/loadbalancer-show-response.json  |   14 +
.../samples/lbaas/loadbalancer-status-tree.json    |   47 +
.../samples/lbaas/loadbalancer-update-request.json |    7 +
.../lbaas/loadbalancer-update-response.json        |   14 +
.../samples/lbaas/loadbalancer-update-response.txt |    4 +
.../samples/lbaas/loadbalancers-list-response.json |   16 +
.../samples/lbaas/member-create-request.json       |    9 +
.../samples/lbaas/member-create-response.json      |   13 +
.../source/samples/lbaas/member-show-response.json |   13 +
.../samples/lbaas/member-update-request.json       |    5 +
.../samples/lbaas/member-update-response.json      |   13 +
.../samples/lbaas/members-list-response.json       |   15 +
.../source/samples/lbaas/pool-create-request.json  |   10 +
.../source/samples/lbaas/pool-create-response.json |   19 +
api-ref/source/samples/lbaas/pool-list-resp.json   |   20 +
.../samples/lbaas/pool-members-list-response.json  |   13 +
.../source/samples/lbaas/pool-show-response.json   |   29 +
.../source/samples/lbaas/pool-update-request.json  |    5 +
.../source/samples/lbaas/pool-update-response.json |   29 +
.../source/samples/lbaas/pools-list-response.json  |   31 +
.../source/samples/lbaas/pools-list-response2.json |   20 +
.../source/samples/lbaas/vip-create-request.json   |   10 +
.../source/samples/lbaas/vip-create-response.json  |   19 +
.../source/samples/lbaas/vip-show-response.json    |   19 +
.../source/samples/lbaas/vip-update-request.json   |    5 +
.../source/samples/lbaas/vip-update-response.json  |   19 +
.../source/samples/lbaas/vips-list-response.json   |   21 +
.../metering-label-create-request.json             |    6 +
.../metering-label-create-response.json            |    9 +
.../metering-label-delete-request-json-http.txt    |    6 +
.../metering-label-delete-response-json-http.txt   |    1 +
.../metering-label-rule-create-request.json        |    7 +
.../metering-label-rule-create-response.json       |    9 +
...etering-label-rule-delete-request-json-http.txt |    6 +
...tering-label-rule-delete-response-json-http.txt |    1 +
.../metering-label-rule-show-request-json-http.txt |    6 +
.../metering-label-rule-show-response.json         |    9 +
...metering-label-rules-list-request-json-http.txt |    6 +
.../metering-label-rules-list-response.json        |   18 +
.../metering-label-show-request-json-http.txt      |    6 +
.../metering-label-show-response.json              |    9 +
.../metering-labels-list-request-json-http.txt     |    6 +
.../metering-labels-list-response.json             |   18 +
.../network-ip-availability-list.json              |   54 +
.../network-ip-availability-show.json              |   27 +
.../samples/networks/network-create-request.json   |    6 +
.../samples/networks/network-create-response.json  |   14 +
.../networks/network-multi-create-request.json     |   17 +
.../networks/network-multi-create-response.json    |   24 +
.../networks/network-provider-create-response.json |   17 +
.../networks/network-provider-show-response.json   |   23 +
.../networks/network-provider-update-response.json |   21 +
.../samples/networks/network-show-response.json    |   19 +
.../samples/networks/network-update-request.json   |    5 +
.../samples/networks/network-update-response.json  |   18 +
.../network-vlan-transparent-create-request.json   |    7 +
.../network-vlan-transparent-create-response.json  |   13 +
.../network-vlan-transparent-show-response.json    |   13 +
.../networks/networks-bulk-create-request.json     |   12 +
.../networks/networks-bulk-create-response.json    |   30 +
.../samples/networks/networks-list-response.json   |   38 +
.../networks/networks-multi-list-response.json     |   43 +
.../networks/networks-multi-show-response.json     |   25 +
.../networks/networks-provider-list-response.json  |   44 +
.../networks-vlan-transparent-list-response.json   |   28 +
.../samples/networks/version-show-response.json    |   34 +
.../samples/networks/versions-list-response.json   |   14 +
.../ports/port-bind-create-update-response.json    |   28 +
.../samples/ports/port-bind-show-response.json     |   31 +
.../source/samples/ports/port-create-request.json  |    7 +
.../source/samples/ports/port-create-response.json |   23 +
.../source/samples/ports/port-show-response.json   |   24 +
.../source/samples/ports/port-update-request.json  |    8 +
.../source/samples/ports/port-update-response.json |   29 +
.../samples/ports/ports-bind-show-response.json    |   62 +
.../samples/ports/ports-bulk-create-request.json   |   14 +
.../samples/ports/ports-bulk-create-response.json  |   46 +
.../source/samples/ports/ports-list-response.json  |   44 +
.../qos/bandwidth_limit_rule-create-request.json   |    5 +
.../qos/bandwidth_limit_rule-create-response.json  |    8 +
.../qos/bandwidth_limit_rule-show-response.json    |    8 +
.../qos/bandwidth_limit_rule-update-request.json   |    5 +
.../qos/bandwidth_limit_rule-update-response.json  |    8 +
.../qos/bandwidth_limit_rules-list-response.json   |   10 +
.../qos/dscp_marking_rule-create-request.json      |    5 +
.../qos/dscp_marking_rule-create-response.json     |    7 +
.../qos/dscp_marking_rule-show-response.json       |    7 +
.../qos/dscp_marking_rule-update-request.json      |    5 +
.../qos/dscp_marking_rule-update-response.json     |    7 +
.../qos/dscp_marking_rules-list-response.json      |    9 +
.../source/samples/qos/policies-list-response.json |   26 +
.../source/samples/qos/policy-create-request.json  |    7 +
.../source/samples/qos/policy-create-response.json |    9 +
.../source/samples/qos/policy-show-response.json   |   24 +
.../source/samples/qos/policy-update-request.json  |    7 +
.../source/samples/qos/policy-update-response.json |    9 +
.../samples/qos/rule_types-list-response.json      |   10 +
.../quotas/quotas-list-for-tenant-response.json    |   13 +
.../samples/quotas/quotas-list-response.json       |   16 +
.../samples/quotas/quotas-update-request.json      |   13 +
.../samples/quotas/quotas-update-response.json     |   13 +
.../routers/floating-ips-list-response.json        |   24 +
.../samples/routers/floatingip-create-request.json |    6 +
.../routers/floatingip-create-response.json        |   12 +
.../routers/floatingip-disassociate-request.json   |    5 +
.../routers/floatingip-disassociate-response.json  |   12 +
.../samples/routers/floatingip-show-response.json  |   12 +
.../samples/routers/floatingip-update-request.json |    5 +
.../routers/floatingip-update-response.json        |   12 +
.../routers/router-add-interface-request.json      |    3 +
.../routers/router-add-interface-response.json     |    9 +
.../samples/routers/router-create-request.json     |   16 +
.../samples/routers/router-create-response.json    |   22 +
.../routers/router-remove-interface-request.json   |    3 +
.../routers/router-remove-interface-response.json  |    6 +
.../samples/routers/router-show-response.json      |   20 +
.../samples/routers/router-update-request.json     |   14 +
.../samples/routers/router-update-response.json    |   22 +
.../samples/routers/routers-list-response.json     |   31 +
.../security-group-create-request.json             |    6 +
.../security-group-create-response.json            |   34 +
.../security-group-delete-request-json-http.txt    |    3 +
.../security-group-delete-response-json-http.txt   |    1 +
.../security-group-rule-create-request.json        |   11 +
.../security-group-rule-create-response.json       |   14 +
...ecurity-group-rule-delete-request-json-http.txt |    3 +
...curity-group-rule-delete-response-json-http.txt |    1 +
.../security-group-rule-show-request-json-http.txt |    2 +
.../security-group-rule-show-response.json         |   14 +
...security-group-rules-list-request-json-http.txt |    2 +
.../security-group-rules-list-response.json        |   52 +
.../security-group-show-request-json-http.txt      |    2 +
.../security-group-show-response.json              |   58 +
.../security-group-update-request.json             |    6 +
.../security-group-update-response.json            |    9 +
.../security-groups-list-request-json-http.txt     |    2 +
.../security-groups-list-response.json             |   60 +
api-ref/source/samples/service-type-response.json  |    9 +
.../samples/subnets/subnet-create-request.json     |    7 +
.../samples/subnets/subnet-create-response.json    |   20 +
.../samples/subnets/subnet-show-response.json      |   22 +
.../samples/subnets/subnet-update-request.json     |    5 +
.../samples/subnets/subnet-update-response.json    |   20 +
.../samples/subnets/subnetpool-create-request.json |   13 +
.../subnets/subnetpool-create-response.json        |   19 +
.../samples/subnets/subnetpool-show-response.json  |   21 +
.../samples/subnets/subnetpool-update-request.json |   13 +
.../subnets/subnetpool-update-response.json        |   19 +
.../samples/subnets/subnetpools-list-response.json |   38 +
.../subnets/subnets-create-bulk-request.json       |   14 +
.../subnets/subnets-create-bulk-response.json      |   40 +
.../samples/subnets/subnets-list-response.json     |   40 +
api-ref/source/samples/tag/tag-update-request.json |    6 +
.../source/samples/tag/tag-update-response.json    |    6 +
.../samples/vpn/ikepolicies-list-response.json     |   19 +
.../samples/vpn/ikepolicy-create-request.json      |   14 +
.../samples/vpn/ikepolicy-create-response.json     |   17 +
.../samples/vpn/ikepolicy-show-response.json       |   17 +
.../samples/vpn/ikepolicy-update-request.json      |    5 +
.../samples/vpn/ikepolicy-update-response.json     |   17 +
.../vpn/ipsec-site-connection-create-request.json  |   16 +
.../vpn/ipsec-site-connection-create-response.json |   28 +
.../vpn/ipsec-site-connection-show-response.json   |   28 +
.../vpn/ipsec-site-connection-update-request.json  |    5 +
.../vpn/ipsec-site-connection-update-response.json |   28 +
.../vpn/ipsec-site-connections-list-response.json  |   30 +
.../samples/vpn/ipsecpolicies-list-response.json   |   19 +
.../samples/vpn/ipsecpolicy-create-request.json    |   14 +
.../samples/vpn/ipsecpolicy-create-response.json   |   17 +
.../samples/vpn/ipsecpolicy-show-response.json     |   17 +
.../samples/vpn/ipsecpolicy-update-request.json    |    5 +
.../samples/vpn/ipsecpolicy-update-response.json   |   17 +
.../vpn/vpn-endpoint-group-create-request.json     |   10 +
.../vpn/vpn-endpoint-group-create-response.json    |   13 +
.../vpn/vpn-endpoint-group-show-response.json      |   13 +
.../vpn/vpn-endpoint-group-update-request.json     |    5 +
.../vpn/vpn-endpoint-group-update-response.json    |   13 +
.../vpn/vpn-endpoint-groups-list-response.json     |   25 +
.../samples/vpn/vpnservice-create-request.json     |    8 +
.../samples/vpn/vpnservice-create-response.json    |   14 +
.../samples/vpn/vpnservice-show-response.json      |   14 +
.../samples/vpn/vpnservice-update-request.json     |    5 +
.../samples/vpn/vpnservice-update-response.json    |   12 +
.../samples/vpn/vpnservices-list-response.json     |   16 +
api-ref/source/v2-ext/extensions.inc               |   85 +
api-ref/source/v2-ext/extraroute.inc               |   82 +
api-ref/source/v2-ext/flavors-framework-v2.0.inc   |  484 +++
api-ref/source/v2-ext/fwaas-v2.0.inc               |  734 ++++
api-ref/source/v2-ext/index.rst                    |   25 +
api-ref/source/v2-ext/layer3-ext.inc               |  731 ++++
api-ref/source/v2-ext/lbaas.inc                    | 2306 ++++++++++++
api-ref/source/v2-ext/metering-labels-ext.inc      |  244 ++
api-ref/source/v2-ext/network-provider.inc         |  237 ++
.../v2-ext/networking-ip-availability-ext.inc      |   90 +
.../source/v2-ext/networks-multi-provider-ext.inc  |  171 +
.../v2-ext/networks-vlan-transparency-ext.inc      |  151 +
api-ref/source/v2-ext/parameters.yaml              | 3857 ++++++++++++++++++++
api-ref/source/v2-ext/port-binding.inc             |  117 +
api-ref/source/v2-ext/qos-ext.inc                  |  542 +++
api-ref/source/v2-ext/quotas.inc                   |  160 +
api-ref/source/v2-ext/security-groups.inc          |  216 ++
api-ref/source/v2-ext/security_group_rules.inc     |  148 +
api-ref/source/v2-ext/subnetpools-ext.inc          |  228 ++
api-ref/source/v2-ext/tag-ext.inc                  |  122 +
api-ref/source/v2-ext/vpnaas.inc                   | 1108 ++++++
api-ref/source/v2/index.rst                        |   11 +
api-ref/source/v2/networks.inc                     |  276 ++
api-ref/source/v2/parameters.yaml                  |  434 +++
api-ref/source/v2/ports.inc                        |  354 ++
api-ref/source/v2/service-type.inc                 |   40 +
api-ref/source/v2/subnets.inc                      |  185 +
api-ref/source/v2/versions-networks-v2.inc         |   60 +
neutron_lib/api/validators.py                      |  129 +-
neutron_lib/constants.py                           |   23 +-
neutron_lib/hacking/checks.py                      |   18 +-
neutron_lib/hacking/translation_checks.py          |   92 +
.../unit/callbacks/test_callback_exceptions.py     |    2 +-
requirements.txt                                   |    7 +-
test-requirements.txt                              |    6 +-
tools/migration_report.sh                          |   39 +
tox.ini                                            |   15 +-
289 files changed, 17756 insertions(+), 44 deletions(-)


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

diff --git a/requirements.txt b/requirements.txt
index 388462c..703ecff 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -9 +9 @@ debtcollector>=1.2.0 # Apache-2.0
-oslo.config>=3.9.0 # Apache-2.0
+oslo.config>=3.12.0 # Apache-2.0
@@ -13,3 +13,2 @@ oslo.log>=1.14.0 # Apache-2.0
-oslo.messaging>=4.5.0 # Apache-2.0
-oslo.service>=1.10.0 # Apache-2.0
-oslo.utils>=3.5.0 # Apache-2.0
+oslo.messaging>=5.2.0 # Apache-2.0
+oslo.utils>=3.15.0 # Apache-2.0
diff --git a/test-requirements.txt b/test-requirements.txt
index 6eb9df7..94f2f97 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -8 +7,0 @@ coverage>=3.6 # Apache-2.0
-discover # BSD
@@ -10 +9 @@ python-subunit>=0.0.18 # Apache-2.0/BSD
-sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2 # BSD
+sphinx!=1.3b1,<1.3,>=1.2.1 # BSD
@@ -13 +12,2 @@ oslotest>=1.10.0 # Apache-2.0
-os-testr>=0.4.1 # Apache-2.0
+os-api-ref>=0.1.0 # Apache-2.0
+os-testr>=0.7.0 # Apache-2.0





More information about the OpenStack-dev mailing list