Commit graph

1581 commits

Author SHA1 Message Date
huang.zhiping
da7e2916bc Update min tox version to 2.3.2
The commands used by constraints need at least tox 2.3.2.  Update to
reflect reality, which should help with local running of constraints
targets.

Change-Id: I22dec4ff510123520a2c035c3fa1c80f18ce4cdd
Closes-Bug:  #1801360
2018-11-12 06:33:17 +00:00
Vieri
5f69719096 Don't quote {posargs} in tox.ini
Quotes around {posargs} cause the entire string to be combined into one
arg that gets passed to stestr. This prevents passing multiple args
(e.g. '--concurrency=16 some-regex')

Change-Id: I30687b4bcdacb167599b54b6f07e018363980fc7
2018-10-09 13:59:43 +00:00
German Eichberger
a385656802 Adds the destination and source fwg to fwr
This will add the source and destination firewall group id to
firewall rules.

Change-Id: If69b87fc58d36aa7d879ace8e73bc0f7534a1ef4
2018-09-10 11:54:29 -06:00
Andreas Jaeger
86a67409e6 Use templates for cover and lower-constraints
Use openstack-tox-cover template, this runs the cover job
in the check queue only.

Use openstack-lower-constraints-jobs template

Remove jobs that are part of the templates.

Change-Id: I8c870f127f988808f3f9b1044ea1d9ddec48b866
2018-09-08 09:42:46 +02:00
Brian Haley
1a1dbf0962 Consolidate irrelevant files added for py3 project
The autogenerated changes for the python3-first project
duplicated irrelevant-files. This consolidates them.

Change-Id: Ib63fe59f28591947324708326d388954f2c3e0e9
2018-09-07 03:07:25 +00:00
Vu Cong Tuan
259c386d42
Switch to stestr
According to Openstack summit session [1],
stestr is maintained project to which all Openstack projects should migrate.
Let's switch to stestr as other projects have already moved to it.

[1] https://etherpad.openstack.org/p/YVR-python-pti

Change-Id: Ib58745d5c0d98fb79eb3cf7278c2cbfb5160efcd
2018-09-06 01:09:28 +02:00
Zuul
301aa7e161 Merge "add lib-forward-testing-python3 test job" 2018-09-03 23:46:13 +00:00
Zuul
72d1004ae3 Merge "add python 3.6 unit test job" 2018-09-03 23:46:11 +00:00
Zuul
596db21b21 Merge "switch documentation job to new PTI" 2018-09-03 23:40:12 +00:00
Zuul
3a955213c2 Merge "import zuul job settings from project-config" 2018-09-02 10:50:44 +00:00
Mykola Yakovliev
0aefe1ccba Ensure API calls for subnets are in URL length limit
Fix situation when with pagination enabled, neutronclient failed
to read subnets information due to too long URI.

Change-Id: I53240c536d77a95510b5c83b81e21782f29d886a
Closes-Bug: 1775922
2018-08-31 20:08:57 +00:00
Doug Hellmann
d5a89fe5a0 add lib-forward-testing-python3 test job
This is a mechanically generated patch to add a functional test job
running under Python 3 as part of the python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: Idaaa376c0a8685f1999d8d96add0cfd25a2bb8eb
Story: #2002586
Task: #24314
2018-08-29 17:39:07 -04:00
Doug Hellmann
bec7dd09b9 add python 3.6 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.6 as part of the python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I857b5836273045b48d9706673a6455fed9f18541
Story: #2002586
Task: #24314
2018-08-29 17:39:00 -04:00
Doug Hellmann
124dd33aad switch documentation job to new PTI
This is a mechanically generated patch to switch the documentation
jobs to use the new PTI versions of the jobs as part of the
python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I4dc74177263a038491bb03521c99d6f43951bd28
Story: #2002586
Task: #24314
2018-08-29 17:38:45 -04:00
Doug Hellmann
01ec2cc94d import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: Id183d2dc3b6fa1dd608b0489c609353eb2e35f6d
Story: #2002586
Task: #24314
2018-08-29 17:38:37 -04:00
Doug Hellmann
f0640571d1 fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.

Co-Authored-By: Nguyen Hai <nguyentrihai93@gmail.com>
Change-Id: I6f4a539c68b036474be4ba433cb28293c0ce94e2
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-29 04:30:08 +00:00
Zuul
2c0629e7d9 Merge "Add release note link in README" 2018-08-27 23:07:26 +00:00
Kim Bao Long
80f916489b [log] Add 'firewall_group' as a loggable resource type for logging
Currently, OSC plugin for logging only supports security group as
a loggable resource. This patch aims to add 'firewall_group' as a
supported resource type.

Co-Authored-By: Van Hung Pham <HungPV@vn.fujitsu.com>
Depends-On: Ie10063197f02679e987e87cb4852f5230a02f76d
Change-Id: I2ac92004c2ad3769c9749e131718a8ef0003c4bd
Partial-Bug: #1720727
2018-08-23 10:32:23 +00:00
Kim Bao Long
bcf895cbe3 Add B303 into list of skipped bandit plugins
Blacklist call of hashlib.sha1 was blacklisted in bandit
with [1] and it is now added to list of skipped tests in
Neutron Client.

[1] PyCQA/bandit@35e3544

Change-Id: I8322d0666528323df8b1214306be4b80c4b0777a
2018-08-23 17:24:37 +07:00
Zuul
d8d9a8d5d0 Merge "Fix broken unittests" 2018-08-16 17:28:43 +00:00
Yushiro FURUKAWA
bca82e2fba Fix broken unittests
_clean() method is renamed to clean() in osprofiler 2.3.0.
It was suggested in a past neutronclient review.

Closes-Bug: #1783789
Co-Authored-By: Akihiro Motoki <amotoki@gmail.com>
Depends-On: https://review.openstack.org/#/c/592018/
Change-Id: Ic8e03db85dc08cfdcac5507e99ecdf7eac8eb972
2018-08-15 22:01:17 +09:00
OpenStack Release Bot
a8106b1c80 Update reno for stable/rocky
Change-Id: I330ee35255f6afcb1e90a570ee5f9345dc088187
2018-08-08 09:35:46 +00:00
wu.chunyang
61056c4553 Add release note link in README
Change-Id: Idcd559d5f8c6f991e73d7d10339fb923f2a931b2
2018-06-28 13:17:20 +08:00
Zuul
15d99a7d68 Merge "Add bandit to pep8 gate" 2018-06-14 19:02:19 +00:00
jessegler
834ad176ea Add bandit to pep8 gate
Neutron uses bandit to detect security issues. This patch adds bandit
to the pep8 gate to automatically lint for security issues in
python-neutronclient.

Change-Id: Ifd8caf65cc89e7d6d6ebc8f58539741cfbab839b
2018-06-13 15:05:52 -05:00
XiaojueGuan
5a6b75655d Update links in README
Change the outdated links to the latest links in README

Change-Id: I70fbe513066b9375344e80308c646e56bf927db0
2018-06-12 16:19:33 +08:00
Chen
d090ea2751 Remove PyPI downloads
According to official site,
https://packaging.python.org/guides/analyzing-pypi-package-downloads/
PyPI package download statistics is no longer maintained and thus
should be removed.

Change-Id: I190d233eaaea8e445e2d0c9b98ee81cb8cf08fab
2018-06-07 22:38:41 +08:00
Zuul
873db8ccec Merge "Set or unset port pair group failed" 2018-04-26 08:12:04 +00:00
Tovin Seven
e9df94319f Trivial: Update pypi url to new url
Pypi url changed from [1] to [2]

[1] https://pypi.python.org/pypi/<package>
[2] https://pypi.org/project/<package>

Change-Id: I8a94ae70c638927f113d9a648f8cd5df41474bba
2018-04-20 17:22:27 +07:00
chenyaguang
2bff68649b Set or unset port pair group failed
Set or unset port pair for port pair group failed
because the type of 'existing' is wrong

Change-Id: I198e745fccff76184d9813805d1c1915aff5a273
Closes-Bug: #1762884
2018-04-18 17:29:11 +08:00
Gleb Zimin
2cf52672b7 Replace insecure function eval
In neutronclient we use a eval function for processing
CLI neutron arguments. This function possible insecure because
eval get argument from client side. Instead of it we can use
a dict with allowed types which is more secure.

Closes-Bug: #1762938
Change-Id: Idde55d1b9206e9ef8742464825709f098d488a8e
Co-Authored-By: Akihiro Motoki <amotoki@gmail.com>
2018-04-12 02:30:09 +00:00
Akihiro Motoki
19d0609888 Fix pep8 error
pycodestyle 2.4.0 which is updated along with pep8
introduces new checks and they hit neutronclient.

Change-Id: Ic417aee3239c46f1e989c50b9814adfd75cff175
2018-04-11 21:36:15 +09:00
Zuul
3be70432f6 Merge "Fix list bgp speaker by agent ID" 2018-04-09 21:27:39 +00:00
Zuul
52106bfa58 Merge "Follow the new PTI for document build" 2018-04-09 18:49:13 +00:00
Jens Harbott
bcffe1fce7 Fix list bgp speaker by agent ID
The arg is called "agent", not "agent_id".

Change-Id: I5dd524137202a5411451e775c7ca5d6748dc6e7a
Closes-Bug: 1762488
2018-04-09 17:28:27 +00:00
Akihiro Motoki
2b8c6cac22 Add oslo.log to requirements.txt
During the review https://review.openstack.org/#/c/554597/,
it turns out that oslo.log is a direct dependency.
This commit adds oslo.log to requirements.txt.

Change-Id: Ief5930dcb0793e441aabf658269ada31b05b7de5
2018-04-08 01:34:01 +00:00
Nguyen Hai
1dcd1f83d2 Follow the new PTI for document build
For compliance with the Project Testing Interface as described in:
https://governance.openstack.org/tc/reference/project-testing-interface.html
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html
http://lists.openstack.org/pipermail/openstack-dev/2018-March/128594.html

Depends-On: https://review.openstack.org/#/c/559315/
Depends-On: https://review.openstack.org/#/c/559332/

Change-Id: Icbdc67dab1853162b1a877891195cc26b4873cb0
2018-04-06 14:29:05 +00:00
Nguyen Hai
50a251ff94 Fix incompatible requirement in lower-constraints
Fix lower-constraints don't match the lower bounds
in the requirements file(s). It causes fail in
requirements-check.

REF:
http://lists.openstack.org/pipermail/openstack-dev/2018-April/129056.html

Change-Id: Iaa3c390d5c66bdbf5836a6d5d59bc5a636235722
2018-04-06 22:34:08 +09:00
Zuul
d8df387b9c Merge "add lower-constraints job" 2018-03-26 18:22:10 +00:00
Hongbin Lu
ac24ab19c3 Remove mox3 from test-requirements.txt
Change-Id: I9719d9b308811e7bf218af2f7da949b6c0509fc1
Closes-Bug: #1753504
2018-03-26 13:57:37 +00:00
Hongbin Lu
f6b1e85899 Remove mox/mox3 usage from test_cli20.py
Change-Id: Ib4dc5f6c7ba57d94364f19a049c690d3817c723a
Partial-Bug: #1753504
2018-03-26 11:00:39 +00:00
Zuul
f5f810a624 Merge "Updated from global requirements" 2018-03-24 18:50:21 +00:00
Hongbin Lu
ce623030ee Remove mox/mox3 usage from lb modules
Change-Id: I667dd870b615d4a9ccefd35fcb1ebf15760b1d6d
Partial-Bug: #1753504
2018-03-24 10:29:42 +00:00
Zuul
9ba6f655c2 Merge "Remove mox/mox3 usage from fw modules" 2018-03-24 10:25:08 +00:00
Zuul
73eb2b063d Merge "Rename python-openstacksdk to openstacksdk" 2018-03-24 08:36:26 +00:00
Hongbin Lu
260f74308e Remove mox/mox3 usage from fw modules
Change-Id: I913993c0bff15df19bf3978ed36062f970eef538
Partial-Bug: #1753504
2018-03-24 07:44:38 +00:00
Hongbin Lu
8dac1afd43 Remove mox/mox3 usage from bgp
Change-Id: Ie07cf987382281c00023b41ce74c314ec2457502
Partial-Bug: #1753504
2018-03-23 23:24:20 +00:00
Hongbin Lu
633a20cde9 Remove mox/mox3 from test_cli20_address_scope.py
Change-Id: Ibba1061d447a73bb3e13e1b8869300d2c0de1b16
Partial-Bug: #1753504
2018-03-23 22:05:02 +00:00
Zuul
685f1bd59d Merge "Remove mox/mox3 from test_cli20_agentschedulers.py" 2018-03-23 20:34:51 +00:00
Zuul
6200abf57d Merge "Remove mox/mox3 usage from test_cli20_securitygroup.py" 2018-03-23 18:29:26 +00:00