Hello community,
here is the log from the commit of package python-neutronclient for
openSUSE:Factory checked in at 2019-12-04 13:48:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-neutronclient (Old)
and /work/SRC/openSUSE:Factory/.python-neutronclient.new.4691 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-neutronclient"
Wed Dec 4 13:48:44 2019 rev:22 rq:736664 version:6.14.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-neutronclient/python-neutronclient.changes
2019-05-03 22:41:32.199129053 +0200
+++
/work/SRC/openSUSE:Factory/.python-neutronclient.new.4691/python-neutronclient.changes
2019-12-04 14:18:56.322365232 +0100
@@ -1,0 +2,22 @@
+Wed Oct 9 13:04:22 UTC 2019 - [email protected]
+
+- update to version 6.14.0
+ - Switch functional job to python3
+ - Add router add/remove extra routes operations
+ - Replace git.openstack.org URLs with opendev.org URLs
+ - Fix string in header
+ - OpenDev Migration Patch
+ - Dropping the py35 testing
+ - doc: Remove prompt from python binding examples
+ - Blacklist bandit 1.6.0 due to directory exclusion bug
+ - Add friendly event hints for logging
+ - Replace openstack.org git:// URLs with https://
+ - Update master for stable/stein
+ - Use secure sha256 instead of sha1
+ - Improve help text
+ - Add Python 3 Train unit tests
+ - Convert legacy functional jobs to zuulv3
+ - Run functional test correctly
+ - add python 3.7 unit test job
+
+-------------------------------------------------------------------
Old:
----
python-neutronclient-6.12.0.tar.gz
New:
----
python-neutronclient-6.14.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-neutronclient.spec ++++++
--- /var/tmp/diff_new_pack.d6tpuQ/_old 2019-12-04 14:18:56.894365714 +0100
+++ /var/tmp/diff_new_pack.d6tpuQ/_new 2019-12-04 14:18:56.898365718 +0100
@@ -17,13 +17,13 @@
Name: python-neutronclient
-Version: 6.12.0
+Version: 6.14.0
Release: 0
Summary: Python API and CLI for OpenStack Neutron
License: Apache-2.0
Group: Development/Languages/Python
URL: https://launchpad.net/%{name}
-Source0:
https://files.pythonhosted.org/packages/source/p/python-neutronclient/python-neutronclient-6.12.0.tar.gz
+Source0:
https://files.pythonhosted.org/packages/source/p/python-neutronclient/python-neutronclient-6.14.0.tar.gz
# https://review.openstack.org/585387
# Needed for osprofiler==2.3.0
BuildRequires: openstack-macros
@@ -119,8 +119,8 @@
%{python_build}
# Build HTML docs and man page
-PBR_VERSION=6.12.0 sphinx-build -b html doc/source doc/build/html
-PBR_VERSION=6.12.0 sphinx-build -b man doc/source doc/build/man
+PBR_VERSION=6.14.0 sphinx-build -b html doc/source doc/build/html
+PBR_VERSION=6.14.0 sphinx-build -b man doc/source doc/build/man
rm -r doc/build/html/.{doctrees,buildinfo}
%install
++++++ _service ++++++
--- /var/tmp/diff_new_pack.d6tpuQ/_old 2019-12-04 14:18:56.922365738 +0100
+++ /var/tmp/diff_new_pack.d6tpuQ/_new 2019-12-04 14:18:56.922365738 +0100
@@ -1,8 +1,8 @@
<services>
<service mode="disabled" name="renderspec">
- <param
name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/stein/openstack/python-neutronclient/python-neutronclient.spec.j2</param>
+ <param
name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/train/openstack/python-neutronclient/python-neutronclient.spec.j2</param>
<param name="output-name">python-neutronclient.spec</param>
- <param
name="requirements">https://raw.githubusercontent.com/openstack/python-neutronclient/stable/stein/requirements.txt</param>
+ <param
name="requirements">https://raw.githubusercontent.com/openstack/python-neutronclient/stable/train/requirements.txt</param>
<param name="changelog-email">[email protected]</param>
<param name="changelog-provider">gh,openstack,python-neutronclient</param>
</service>
++++++ python-neutronclient-6.12.0.tar.gz -> python-neutronclient-6.14.0.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-neutronclient-6.12.0/.stestr.conf
new/python-neutronclient-6.14.0/.stestr.conf
--- old/python-neutronclient-6.12.0/.stestr.conf 2019-03-08
00:48:32.000000000 +0100
+++ new/python-neutronclient-6.14.0/.stestr.conf 2019-09-13
19:00:21.000000000 +0200
@@ -1,3 +1,3 @@
[DEFAULT]
-test_path=./neutronclient/tests/unit
+test_path=${OS_TEST_PATH:-./neutronclient/tests/unit}
top_dir=./
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-neutronclient-6.12.0/.zuul.yaml
new/python-neutronclient-6.14.0/.zuul.yaml
--- old/python-neutronclient-6.12.0/.zuul.yaml 2019-03-08 00:48:32.000000000
+0100
+++ new/python-neutronclient-6.14.0/.zuul.yaml 2019-09-13 19:00:21.000000000
+0200
@@ -3,8 +3,7 @@
- openstack-cover-jobs
- openstack-lower-constraints-jobs
- openstack-python-jobs
- - openstack-python35-jobs
- - openstack-python36-jobs
+ - openstack-python3-train-jobs
- publish-openstack-docs-pti
- check-requirements
- lib-forward-testing
@@ -13,20 +12,10 @@
- openstackclient-plugin-jobs
check:
jobs:
- - legacy-neutronclient-test-dsvm-functional:
- irrelevant-files: &project-irrelevant-files
- - ^.*\.rst$
- - ^doc/.*$
- - ^neutron/locale/.*$
- - ^releasenotes/.*$
- - legacy-neutronclient-test-dsvm-functional-adv-svcs:
- irrelevant-files: *project-irrelevant-files
+ - neutronclient-functional
gate:
jobs:
- - legacy-neutronclient-test-dsvm-functional:
- irrelevant-files: *project-irrelevant-files
- - legacy-neutronclient-test-dsvm-functional-adv-svcs:
- irrelevant-files: *project-irrelevant-files
+ - neutronclient-functional
experimental:
jobs:
- legacy-grenade-dsvm-neutron-libs:
@@ -34,3 +23,25 @@
- ^(test-|)requirements.txt$
- ^setup.cfg$
+- job:
+ name: neutronclient-functional
+ parent: devstack-tox-functional
+ irrelevant-files:
+ - ^.*\.rst$
+ - ^doc/.*$
+ - ^releasenotes/.*$
+ required-projects:
+ - openstack/python-neutronclient
+ - openstack/neutron
+ - openstack/neutron-vpnaas
+ vars:
+ tox_envlist: functional
+ devstack_services:
+ # NOTE: neutronclient.tests.functional.base.ClientTestBase does not
+ # support HTTPS endpoints now, so tls-proxy needs to be disabled.
+ tls-proxy: false
+ devstack_localrc:
+ USE_PYTHON3: true
+ LIBS_FROM_GIT: python-neutronclient
+ devstack_plugins:
+ neutron-vpnaas: https://opendev.org/openstack/neutron-vpnaas
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-neutronclient-6.12.0/AUTHORS
new/python-neutronclient-6.14.0/AUTHORS
--- old/python-neutronclient-6.12.0/AUTHORS 2019-03-08 00:51:38.000000000
+0100
+++ new/python-neutronclient-6.14.0/AUTHORS 2019-09-13 19:01:12.000000000
+0200
@@ -26,6 +26,7 @@
Assaf Muller <[email protected]>
AvnishPal <[email protected]>
Ben Andrews <[email protected]>
+Bence Romsics <[email protected]>
Bernard Cafarelli <[email protected]>
Bertrand Lallau <[email protected]>
Bhuvan Arumugam <[email protected]>
@@ -52,6 +53,7 @@
Clark Boylan <[email protected]>
Clenimar Filemon <[email protected]>
Clenimar Filemon <[email protected]>
+Corey Bryant <[email protected]>
Craig Tracey <[email protected]>
Cyril Roelandt <[email protected]>
Daire Ní Chatháin <[email protected]>
@@ -83,6 +85,7 @@
Gary Kotton <[email protected]>
Gary Kotton <[email protected]>
German Eichberger <[email protected]>
+Ghanshyam Mann <[email protected]>
Gleb Zimin <[email protected]>
Gábor Antal <[email protected]>
Haim Daniel <[email protected]>
@@ -97,6 +100,7 @@
Hongbin Lu <[email protected]>
Hongbin Lu <[email protected]>
IWAMOTO Toshihiro <[email protected]>
+Ian Wienand <[email protected]>
Igor Duarte Cardoso <[email protected]>
Ihar Hrachyshka <[email protected]>
Ilya Shakhat <[email protected]>
@@ -272,8 +276,10 @@
huang.zhiping <[email protected]>
huangtianhua <[email protected]>
ivan-zhu <[email protected]>
+jacky06 <[email protected]>
jessegler <[email protected]>
ji-xuepeng <[email protected]>
+jiasirui <[email protected]>
jichenjc <[email protected]>
karthik s <[email protected]>
kavithahr <[email protected]>
@@ -318,6 +324,7 @@
yong sheng gong <[email protected]>
yuyangbj <[email protected]>
zengfagao <[email protected]>
+zhanghao2 <[email protected]>
zhaojingjing0067370 <[email protected]>
zheng yin <[email protected]>
zhurong <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-neutronclient-6.12.0/ChangeLog
new/python-neutronclient-6.14.0/ChangeLog
--- old/python-neutronclient-6.12.0/ChangeLog 2019-03-08 00:51:38.000000000
+0100
+++ new/python-neutronclient-6.14.0/ChangeLog 2019-09-13 19:01:12.000000000
+0200
@@ -1,11 +1,36 @@
CHANGES
=======
+6.14.0
+------
+
+* Add router add/remove extra routes operations
+* Improve help text
+* Fix string in header
+* Use secure sha256 instead of sha1
+
+6.13.0
+------
+
+* Switch functional job to python3
+* Convert legacy functional jobs to zuulv3
+* Run functional test correctly
+* Add friendly event hints for logging
+* Add Python 3 Train unit tests
+* Blacklist bandit 1.6.0 due to directory exclusion bug
+* doc: Remove prompt from python binding examples
+* Replace git.openstack.org URLs with opendev.org URLs
+* OpenDev Migration Patch
+* Dropping the py35 testing
+* Replace openstack.org git:// URLs with https://
+* Update master for stable/stein
+
6.12.0
------
* Add subnet onboard CLI
* Update json module to jsonutils
+* add python 3.7 unit test job
* Remove basepython from [flake8] section
* Update hacking version to 1.1
* Update mailinglist from dev to discuss
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-neutronclient-6.12.0/PKG-INFO
new/python-neutronclient-6.14.0/PKG-INFO
--- old/python-neutronclient-6.12.0/PKG-INFO 2019-03-08 00:51:39.000000000
+0100
+++ new/python-neutronclient-6.14.0/PKG-INFO 2019-09-13 19:01:12.000000000
+0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: python-neutronclient
-Version: 6.12.0
+Version: 6.14.0
Summary: CLI and Client Library for OpenStack Networking
Home-page: https://docs.openstack.org/python-neutronclient/latest/
Author: OpenStack Networking Project
@@ -40,7 +40,7 @@
.. _Launchpad project: https://launchpad.net/python-neutronclient
.. _Blueprints: https://blueprints.launchpad.net/python-neutronclient
.. _Bugs: https://bugs.launchpad.net/python-neutronclient
- .. _Source:
https://git.openstack.org/cgit/openstack/python-neutronclient
+ .. _Source: https://opendev.org/openstack/python-neutronclient
.. _Developer's Guide:
http://docs.openstack.org/infra/manual/developers.html
.. _Release Notes:
https://docs.openstack.org/releasenotes/python-neutronclient
@@ -56,5 +56,5 @@
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-neutronclient-6.12.0/README.rst
new/python-neutronclient-6.14.0/README.rst
--- old/python-neutronclient-6.12.0/README.rst 2019-03-08 00:48:32.000000000
+0100
+++ new/python-neutronclient-6.14.0/README.rst 2019-09-13 19:00:21.000000000
+0200
@@ -32,6 +32,6 @@
.. _Launchpad project: https://launchpad.net/python-neutronclient
.. _Blueprints: https://blueprints.launchpad.net/python-neutronclient
.. _Bugs: https://bugs.launchpad.net/python-neutronclient
-.. _Source: https://git.openstack.org/cgit/openstack/python-neutronclient
+.. _Source: https://opendev.org/openstack/python-neutronclient
.. _Developer's Guide: http://docs.openstack.org/infra/manual/developers.html
.. _Release Notes: https://docs.openstack.org/releasenotes/python-neutronclient
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-neutronclient-6.12.0/doc/requirements.txt
new/python-neutronclient-6.14.0/doc/requirements.txt
--- old/python-neutronclient-6.12.0/doc/requirements.txt 2019-03-08
00:48:32.000000000 +0100
+++ new/python-neutronclient-6.14.0/doc/requirements.txt 2019-09-13
19:00:21.000000000 +0200
@@ -3,4 +3,5 @@
# process, which may cause wedges in the gate later.
openstackdocstheme>=1.18.1 # Apache-2.0
reno>=2.5.0 # Apache-2.0
-sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
+sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD
+sphinx!=1.6.6,!=1.6.7,>=1.6.2;python_version>='3.4' # BSD
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-neutronclient-6.12.0/doc/source/contributor/transition_to_osc.rst
new/python-neutronclient-6.14.0/doc/source/contributor/transition_to_osc.rst
---
old/python-neutronclient-6.12.0/doc/source/contributor/transition_to_osc.rst
2019-03-08 00:48:32.000000000 +0100
+++
new/python-neutronclient-6.14.0/doc/source/contributor/transition_to_osc.rst
2019-09-13 19:00:21.000000000 +0200
@@ -29,7 +29,7 @@
`OpenStack Client (OSC) <https://github.com/openstack/python-openstackclient>`_
and the `OpenStack Python SDK <https://github.com/openstack/openstacksdk>`_.
This transition is being guided by the
-`Deprecate individual CLIs in favour of OSC
<https://review.openstack.org/#/c/243348/>`_
+`Deprecate individual CLIs in favour of OSC
<https://review.opendev.org/#/c/243348/>`_
OpenStack spec. See the `Neutron RFE
<https://bugs.launchpad.net/neutron/+bug/1521291>`_,
`OSC neutron support etherpad
<https://etherpad.openstack.org/p/osc-neutron-support>`_ and
details below for the overall progress of this transition.
@@ -56,16 +56,16 @@
----------------
1. **Done:** OSC adds OpenStack Python SDK as a dependency. See the following
- patch set: https://review.openstack.org/#/c/138745/
+ patch set: https://review.opendev.org/#/c/138745/
2. **Done:** OSC switches its networking support for the
`network
<https://docs.openstack.org/python-openstackclient/latest/cli/command-objects/network.html>`_
command object to use the OpenStack Python SDK instead of the neutron
client's Python library. See the following patch set:
- https://review.openstack.org/#/c/253348/
+ https://review.opendev.org/#/c/253348/
3. **Done:** OSC removes its python-neutronclient dependency.
- See the following patch set: https://review.openstack.org/#/c/255545/
+ See the following patch set: https://review.opendev.org/#/c/255545/
4. **In Progress:** OpenStack Python SDK releases version 1.0 to guarantee
backwards compatibility of its networking support and OSC updates
@@ -99,7 +99,7 @@
developer guide section below for more information on this step.
7. **In Progress:** Deprecate the ``neutron`` CLI. Running the CLI after
- it has been `deprecated <https://review.openstack.org/#/c/393903/>`_
+ it has been `deprecated <https://review.opendev.org/#/c/393903/>`_
will issue a warning message:
``neutron CLI is deprecated and will be removed in the future. Use
openstack CLI instead.``
In addition, no new features will be added to the CLI, though fixes to
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-neutronclient-6.12.0/doc/source/reference/index.rst
new/python-neutronclient-6.14.0/doc/source/reference/index.rst
--- old/python-neutronclient-6.12.0/doc/source/reference/index.rst
2019-03-08 00:48:32.000000000 +0100
+++ new/python-neutronclient-6.14.0/doc/source/reference/index.rst
2019-09-13 19:00:21.000000000 +0200
@@ -33,23 +33,23 @@
.. code-block:: python
- >>> from keystoneauth1 import identity
- >>> from keystoneauth1 import session
- >>> from neutronclient.v2_0 import client
- >>> username='username'
- >>> password='password'
- >>> project_name='demo'
- >>> project_domain_id='default'
- >>> user_domain_id='default'
- >>> auth_url='http://auth.example.com:5000/v3'
- >>> auth = identity.Password(auth_url=auth_url,
- ... username=username,
- ... password=password,
- ... project_name=project_name,
- ... project_domain_id=project_domain_id,
- ... user_domain_id=user_domain_id)
- >>> sess = session.Session(auth=auth)
- >>> neutron = client.Client(session=sess)
+ from keystoneauth1 import identity
+ from keystoneauth1 import session
+ from neutronclient.v2_0 import client
+ username='username'
+ password='password'
+ project_name='demo'
+ project_domain_id='default'
+ user_domain_id='default'
+ auth_url='http://auth.example.com:5000/v3'
+ auth = identity.Password(auth_url=auth_url,
+ username=username,
+ password=password,
+ project_name=project_name,
+ project_domain_id=project_domain_id,
+ user_domain_id=user_domain_id)
+ sess = session.Session(auth=auth)
+ neutron = client.Client(session=sess)
If you are using Identity v2.0 API (DEPRECATED), create an auth plugin using
the appropriate parameters and `keystoneauth1.identity` will handle Identity
@@ -58,38 +58,38 @@
.. code-block:: python
- >>> auth = identity.Password(auth_url=auth_url,
- ... username=username,
- ... password=password,
- ... project_name=project_name)
- >>> # create a Session and a Neutronclient
+ auth = identity.Password(auth_url=auth_url,
+ username=username,
+ password=password,
+ project_name=project_name)
+ # create a Session and a Neutronclient
Now you can call various methods on the client instance.
.. code-block:: python
- >>> network = {'name': 'mynetwork', 'admin_state_up': True}
- >>> neutron.create_network({'network':network})
- >>> networks = neutron.list_networks(name='mynetwork')
- >>> print networks
- >>> network_id = networks['networks'][0]['id']
- >>> neutron.delete_network(network_id)
+ network = {'name': 'mynetwork', 'admin_state_up': True}
+ neutron.create_network({'network':network})
+ networks = neutron.list_networks(name='mynetwork')
+ print networks
+ network_id = networks['networks'][0]['id']
+ neutron.delete_network(network_id)
Alternatively, you can create a client instance using an auth token
and a service endpoint URL directly.
.. code-block:: python
- >>> from neutronclient.v2_0 import client
- >>> neutron = client.Client(endpoint_url='http://192.168.206.130:9696/',
- ... token='d3f9226f27774f338019aa2611112ef6')
+ from neutronclient.v2_0 import client
+ neutron = client.Client(endpoint_url='http://192.168.206.130:9696/',
+ token='d3f9226f27774f338019aa2611112ef6')
You can get ``X-Openstack-Request-Id`` as ``request_ids`` from the result.
.. code-block:: python
- >>> network = {'name': 'mynetwork', 'admin_state_up': True}
- >>> neutron.create_network({'network':network})
- >>> networks = neutron.list_networks(name='mynetwork')
- >>> print networks.request_ids
- ['req-978a0160-7ab0-44f0-8a93-08e9a4e785fa']
+ network = {'name': 'mynetwork', 'admin_state_up': True}
+ neutron.create_network({'network':network})
+ networks = neutron.list_networks(name='mynetwork')
+ print networks.request_ids
+ # -> ['req-978a0160-7ab0-44f0-8a93-08e9a4e785fa']
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-neutronclient-6.12.0/neutronclient/common/utils.py
new/python-neutronclient-6.14.0/neutronclient/common/utils.py
--- old/python-neutronclient-6.12.0/neutronclient/common/utils.py
2019-03-08 00:48:32.000000000 +0100
+++ new/python-neutronclient-6.14.0/neutronclient/common/utils.py
2019-09-13 19:00:21.000000000 +0200
@@ -183,9 +183,9 @@
for (key, value) in six.iteritems(kwargs['headers']):
if key in SENSITIVE_HEADERS:
v = value.encode('utf-8')
- h = hashlib.sha1(v)
+ h = hashlib.sha256(v)
d = h.hexdigest()
- value = "{SHA1}%s" % d
+ value = "{SHA256}%s" % d
header = ' -H "%s: %s"' % (key, value)
string_parts.append(header)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-neutronclient-6.12.0/neutronclient/neutron/v2_0/qos/minimum_bandwidth_rule.py
new/python-neutronclient-6.14.0/neutronclient/neutron/v2_0/qos/minimum_bandwidth_rule.py
---
old/python-neutronclient-6.12.0/neutronclient/neutron/v2_0/qos/minimum_bandwidth_rule.py
2019-03-08 00:48:32.000000000 +0100
+++
new/python-neutronclient-6.14.0/neutronclient/neutron/v2_0/qos/minimum_bandwidth_rule.py
2019-09-13 19:00:21.000000000 +0200
@@ -31,7 +31,7 @@
help=_('QoS minimum bandwidth assurance, expressed in kilobits '
'per second.'))
# NOTE(ralonsoh): the only direction implemented is "egress". Please,
- # refer to the spec (https://review.openstack.org/#/c/316082/).
+ # refer to the spec (https://review.opendev.org/#/c/316082/).
parser.add_argument(
'--direction',
# NOTE(ihrachys): though server picks the default for us (egress), it's
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-neutronclient-6.12.0/neutronclient/osc/v2/logging/network_log.py
new/python-neutronclient-6.14.0/neutronclient/osc/v2/logging/network_log.py
--- old/python-neutronclient-6.12.0/neutronclient/osc/v2/logging/network_log.py
2019-03-08 00:48:32.000000000 +0100
+++ new/python-neutronclient-6.14.0/neutronclient/osc/v2/logging/network_log.py
2019-09-13 19:00:21.000000000 +0200
@@ -118,7 +118,7 @@
help=_('Name for the network log'))
parser.add_argument(
'--event',
- metavar='<event>',
+ metavar='{ALL,ACCEPT,DROP}',
choices=['ALL', 'ACCEPT', 'DROP'],
type=nc_utils.convert_to_uppercase,
help=_('An event to store with log'))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-neutronclient-6.12.0/neutronclient/shell.py
new/python-neutronclient-6.14.0/neutronclient/shell.py
--- old/python-neutronclient-6.12.0/neutronclient/shell.py 2019-03-08
00:48:32.000000000 +0100
+++ new/python-neutronclient-6.14.0/neutronclient/shell.py 2019-09-13
19:00:21.000000000 +0200
@@ -222,7 +222,7 @@
type=check_non_negative_int,
default=0,
help=_("How many times the request to the Neutron server should "
- "be retried if it fails."))
+ "be retried if it fails. Defaults to 0."))
# FIXME(bklei): this method should come from keystoneauth1
self._append_global_identity_args(parser)
@@ -241,12 +241,12 @@
parser.add_argument(
'--os-service-type', metavar='<os-service-type>',
default=env('OS_NETWORK_SERVICE_TYPE', default='network'),
- help=_('Defaults to env[OS_NETWORK_SERVICE_TYPE] or network.'))
+ help=_('Defaults to env[OS_NETWORK_SERVICE_TYPE] or "network".'))
parser.add_argument(
'--os-endpoint-type', metavar='<os-endpoint-type>',
default=env('OS_ENDPOINT_TYPE', default='public'),
- help=_('Defaults to env[OS_ENDPOINT_TYPE] or public.'))
+ help=_('Defaults to env[OS_ENDPOINT_TYPE] or "public".'))
# FIXME(bklei): --service-type is deprecated but kept in for
# backward compatibility.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-neutronclient-6.12.0/neutronclient/tests/functional/base.py
new/python-neutronclient-6.14.0/neutronclient/tests/functional/base.py
--- old/python-neutronclient-6.12.0/neutronclient/tests/functional/base.py
2019-03-08 00:48:32.000000000 +0100
+++ new/python-neutronclient-6.14.0/neutronclient/tests/functional/base.py
2019-09-13 19:00:21.000000000 +0200
@@ -76,7 +76,5 @@
def is_extension_enabled(self, extension_alias):
extensions = self.parser.listing(self.neutron('ext-list'))
- for extension in extensions:
- if extension_alias in extension['alias']:
- return True
- return False
+ aliases = [e['alias'] for e in extensions]
+ return extension_alias in aliases
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-neutronclient-6.12.0/neutronclient/tests/functional/hooks/fwaas
new/python-neutronclient-6.14.0/neutronclient/tests/functional/hooks/fwaas
--- old/python-neutronclient-6.12.0/neutronclient/tests/functional/hooks/fwaas
2019-03-08 00:48:32.000000000 +0100
+++ new/python-neutronclient-6.14.0/neutronclient/tests/functional/hooks/fwaas
2019-09-13 19:00:21.000000000 +0200
@@ -1,2 +1,2 @@
-enable_plugin neutron-fwaas git://git.openstack.org/openstack/neutron-fwaas
+enable_plugin neutron-fwaas https://opendev.org/openstack/neutron-fwaas
enable_service q-fwaas
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-neutronclient-6.12.0/neutronclient/tests/functional/hooks/vpnaas
new/python-neutronclient-6.14.0/neutronclient/tests/functional/hooks/vpnaas
--- old/python-neutronclient-6.12.0/neutronclient/tests/functional/hooks/vpnaas
2019-03-08 00:48:32.000000000 +0100
+++ new/python-neutronclient-6.14.0/neutronclient/tests/functional/hooks/vpnaas
2019-09-13 19:00:21.000000000 +0200
@@ -1 +1 @@
-enable_plugin neutron-vpnaas git://git.openstack.org/openstack/neutron-vpnaas
+enable_plugin neutron-vpnaas https://opendev.org/openstack/neutron-vpnaas
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-neutronclient-6.12.0/neutronclient/v2_0/client.py
new/python-neutronclient-6.14.0/neutronclient/v2_0/client.py
--- old/python-neutronclient-6.12.0/neutronclient/v2_0/client.py
2019-03-08 00:48:32.000000000 +0100
+++ new/python-neutronclient-6.14.0/neutronclient/v2_0/client.py
2019-09-13 19:00:26.000000000 +0200
@@ -934,6 +934,16 @@
return self.put((self.router_path % router) +
"/remove_router_interface", body=body)
+ def add_extra_routes_to_router(self, router, body=None):
+ """Adds extra routes to the specified router."""
+ return self.put((self.router_path % router) + "/add_extraroutes",
+ body=body)
+
+ def remove_extra_routes_from_router(self, router, body=None):
+ """Removes extra routes from the specified router."""
+ return self.put((self.router_path % router) + "/remove_extraroutes",
+ body=body)
+
def add_gateway_router(self, router, body=None):
"""Adds an external network gateway to the specified router."""
return self.put((self.router_path % router),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-neutronclient-6.12.0/python_neutronclient.egg-info/PKG-INFO
new/python-neutronclient-6.14.0/python_neutronclient.egg-info/PKG-INFO
--- old/python-neutronclient-6.12.0/python_neutronclient.egg-info/PKG-INFO
2019-03-08 00:51:38.000000000 +0100
+++ new/python-neutronclient-6.14.0/python_neutronclient.egg-info/PKG-INFO
2019-09-13 19:01:12.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: python-neutronclient
-Version: 6.12.0
+Version: 6.14.0
Summary: CLI and Client Library for OpenStack Networking
Home-page: https://docs.openstack.org/python-neutronclient/latest/
Author: OpenStack Networking Project
@@ -40,7 +40,7 @@
.. _Launchpad project: https://launchpad.net/python-neutronclient
.. _Blueprints: https://blueprints.launchpad.net/python-neutronclient
.. _Bugs: https://bugs.launchpad.net/python-neutronclient
- .. _Source:
https://git.openstack.org/cgit/openstack/python-neutronclient
+ .. _Source: https://opendev.org/openstack/python-neutronclient
.. _Developer's Guide:
http://docs.openstack.org/infra/manual/developers.html
.. _Release Notes:
https://docs.openstack.org/releasenotes/python-neutronclient
@@ -56,5 +56,5 @@
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-neutronclient-6.12.0/python_neutronclient.egg-info/SOURCES.txt
new/python-neutronclient-6.14.0/python_neutronclient.egg-info/SOURCES.txt
--- old/python-neutronclient-6.12.0/python_neutronclient.egg-info/SOURCES.txt
2019-03-08 00:51:39.000000000 +0100
+++ new/python-neutronclient-6.14.0/python_neutronclient.egg-info/SOURCES.txt
2019-09-13 19:01:12.000000000 +0200
@@ -326,6 +326,7 @@
releasenotes/notes/drop-nuage-commands-df10aab6ccd77ed2.yaml
releasenotes/notes/drop-xml-support-41babecb1784d996.yaml
releasenotes/notes/dscp_qos-4a26d3c0363624b0.yaml
+releasenotes/notes/extraroute-atomic-b11919d8e33b0d92.yaml
releasenotes/notes/fix-exception-typeerror-4.1.0-b37d738146575ed5.yaml
releasenotes/notes/fix-quota-update-zero-args-d596c4169c2d2e30.yaml
releasenotes/notes/fix-rbac-create-command-dd40a474f0f092db.yaml
@@ -364,6 +365,7 @@
releasenotes/source/pike.rst
releasenotes/source/queens.rst
releasenotes/source/rocky.rst
+releasenotes/source/stein.rst
releasenotes/source/unreleased.rst
releasenotes/source/_static/.placeholder
releasenotes/source/_templates/.placeholder
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-neutronclient-6.12.0/python_neutronclient.egg-info/pbr.json
new/python-neutronclient-6.14.0/python_neutronclient.egg-info/pbr.json
--- old/python-neutronclient-6.12.0/python_neutronclient.egg-info/pbr.json
2019-03-08 00:51:38.000000000 +0100
+++ new/python-neutronclient-6.14.0/python_neutronclient.egg-info/pbr.json
2019-09-13 19:01:12.000000000 +0200
@@ -1 +1 @@
-{"git_version": "680b417", "is_release": true}
\ No newline at end of file
+{"git_version": "115f60f", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-neutronclient-6.12.0/releasenotes/notes/extraroute-atomic-b11919d8e33b0d92.yaml
new/python-neutronclient-6.14.0/releasenotes/notes/extraroute-atomic-b11919d8e33b0d92.yaml
---
old/python-neutronclient-6.12.0/releasenotes/notes/extraroute-atomic-b11919d8e33b0d92.yaml
1970-01-01 01:00:00.000000000 +0100
+++
new/python-neutronclient-6.14.0/releasenotes/notes/extraroute-atomic-b11919d8e33b0d92.yaml
2019-09-13 19:00:26.000000000 +0200
@@ -0,0 +1,5 @@
+---
+features:
+ - |
+ New client methods: ``add_extra_routes_to_router`` and
+ ``remove_extra_routes_from_router``.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-neutronclient-6.12.0/releasenotes/source/index.rst
new/python-neutronclient-6.14.0/releasenotes/source/index.rst
--- old/python-neutronclient-6.12.0/releasenotes/source/index.rst
2019-03-08 00:48:32.000000000 +0100
+++ new/python-neutronclient-6.14.0/releasenotes/source/index.rst
2019-09-13 19:00:21.000000000 +0200
@@ -6,6 +6,7 @@
:maxdepth: 1
unreleased
+ stein
rocky
queens
pike
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-neutronclient-6.12.0/releasenotes/source/stein.rst
new/python-neutronclient-6.14.0/releasenotes/source/stein.rst
--- old/python-neutronclient-6.12.0/releasenotes/source/stein.rst
1970-01-01 01:00:00.000000000 +0100
+++ new/python-neutronclient-6.14.0/releasenotes/source/stein.rst
2019-09-13 19:00:21.000000000 +0200
@@ -0,0 +1,6 @@
+===================================
+ Stein Series Release Notes
+===================================
+
+.. release-notes::
+ :branch: stable/stein
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-neutronclient-6.12.0/setup.cfg
new/python-neutronclient-6.14.0/setup.cfg
--- old/python-neutronclient-6.12.0/setup.cfg 2019-03-08 00:51:39.000000000
+0100
+++ new/python-neutronclient-6.14.0/setup.cfg 2019-09-13 19:01:12.000000000
+0200
@@ -17,8 +17,8 @@
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
- Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
+ Programming Language :: Python :: 3.7
[files]
packages =
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-neutronclient-6.12.0/test-requirements.txt
new/python-neutronclient-6.14.0/test-requirements.txt
--- old/python-neutronclient-6.12.0/test-requirements.txt 2019-03-08
00:48:32.000000000 +0100
+++ new/python-neutronclient-6.14.0/test-requirements.txt 2019-09-13
19:00:21.000000000 +0200
@@ -3,7 +3,7 @@
# process, which may cause wedges in the gate later.
hacking>=1.1.0 # Apache-2.0
-bandit>=1.1.0 # Apache-2.0
+bandit!=1.6.0,>=1.1.0 # Apache-2.0
coverage!=4.4,>=4.0 # Apache-2.0
fixtures>=3.0.0 # Apache-2.0/BSD
flake8-import-order==0.12 # LGPLv3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-neutronclient-6.12.0/tox.ini
new/python-neutronclient-6.14.0/tox.ini
--- old/python-neutronclient-6.12.0/tox.ini 2019-03-08 00:48:32.000000000
+0100
+++ new/python-neutronclient-6.14.0/tox.ini 2019-09-13 19:00:21.000000000
+0200
@@ -1,6 +1,6 @@
[tox]
# py3 first to avoid .testrepository incompatibility
-envlist = py35,py27,pypy,pep8
+envlist = py37,py27,pypy,pep8
minversion = 2.3.2
skipsdist = True
@@ -12,7 +12,7 @@
PYTHONWARNINGS=default::DeprecationWarning
usedevelop = True
install_command = pip install {opts} {packages}
-deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
+deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt}
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
# Delete bytecodes from normal directories before running tests.
@@ -36,13 +36,9 @@
commands = {posargs}
[testenv:functional]
+basepython = python3
setenv =
- OS_TEST_PATH = ./neutronclient/tests/functional/core
- OS_NEUTRONCLIENT_EXEC_DIR = {envdir}/bin
-
-[testenv:functional-adv-svcs]
-setenv =
- OS_TEST_PATH = ./neutronclient/tests/functional/adv-svcs
+ OS_TEST_PATH = ./neutronclient/tests/functional
OS_NEUTRONCLIENT_EXEC_DIR = {envdir}/bin
[testenv:cover]