summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Update master for stable/victoriaOpenStack Release Bot2020-09-102-0/+7
| | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/victoria. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/victoria. Change-Id: I09f54e58239b6c2e77f69bff07bc7fe72ce4690d Sem-Ver: feature
* Fix lower-constraints for FocalBernard Cafarelli2020-09-102-7/+7
| | | | | | | Bump to versions supporting python 3.8 and with wheels available and sync requirements Change-Id: Ibcd16c9a9f691775af428ec447f4ebf9baea5e86
* Merge "Allow 4byte ASNs in dynamic routing client"victoria-em7.2.1Zuul2020-09-084-6/+8
|\
| * Allow 4byte ASNs in dynamic routing clientJens Harbott2020-09-014-6/+8
| | | | | | | | | | | | | | | | | | | | Neutron-dynamic-routing has the bgp_4byte_asn extension which allows 4byte ASNs to be used, increasing the range of valid AS numbers. Since we cannot easily tell beforehand whether that extension is available, allow for the maximal interval to be used by clients and let the API validate the input. Change-Id: Ib4695272784b4a5ebbcb792cfec82dac3ef6f3cf
* | Merge "Add aggressive negotiation mode for ikepolicy"Zuul2020-09-083-1/+26
|\ \
| * | Add aggressive negotiation mode for ikepolicyzhanghao2020-05-133-1/+26
| | | | | | | | | | | | | | | | | | | | | | | | The phase1 negotiation mode adds support for aggressive mode, which can be selected when creating an ikepolicy. Change-Id: I8148011558094db07b5f9eba70b16cfe6eeaf98f Partial-Bug: #1701413
* | | Merge "Remove translation sections from setup.cfg"Zuul2020-09-082-16/+0
|\ \ \ | |_|/ |/| |
| * | Remove translation sections from setup.cfgmelissaml2020-08-142-16/+0
| | | | | | | | | | | | | | | | | | | | | These translation sections are not needed anymore, Babel can generate translation files without them. Change-Id: If20aa86f21807497c5dfefb0f34f771040517c6f
* | | zuul: native Zuul v3 version of the grenade jobLuigi Toscano2020-08-103-81/+13
| | | | | | | | | | | | | | | | | | | | | Also fix the name according the guidelines. This job should really live inside neutron-lib. Change-Id: I76043ea43efe1c78ba9637876ed6a8b997b6d0ee
* | | Merge "lower-constraints: Drop os-testr, mox3"Zuul2020-07-211-2/+0
|\ \ \
| * | | lower-constraints: Drop os-testr, mox3Stephen Finucane2020-07-091-2/+0
| |/ / | | | | | | | | | | | | | | | | | | They're no longer used. Change-Id: Ic8b68f900c2d42a3f5e1508ddde2821cb12b696e Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
* | | Fix description of bgp speaker set argJens Harbott2020-07-121-1/+1
|/ / | | | | | | | | | | | | The name argument for bgp speaker set defines the new name for the speaker, make the description more clear about this. Change-Id: I29a0c87214c3c60084d0541f8b9a7abc72ff987f
* | Use unittest.mock instead of mock7.2.0Hervé Beraud2020-06-091-1/+1
| | | | | | | | | | | | | | | | The mock third party library was needed for mock support in py2 runtimes. Since we now only support py36 and later, we can use the standard lib unittest.mock module instead. Change-Id: Ia7226d968b8594677fc8dea664b58a80ba193ac5
* | Merge "Use unittest.mock instead of third party mock"Zuul2020-06-0551-53/+50
|\ \
| * | Use unittest.mock instead of third party mockSean McGinnis2020-06-0151-53/+50
| | | | | | | | | | | | | | | | | | | | | | | | Now that we no longer support py27, we can use the standard library unittest.mock module instead of the third party mock lib. Change-Id: I12e1a2a4a22116cabd09a3b808f871d98e4bd1f2 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* | | Merge "Stop to use the __future__ module."Zuul2020-06-0413-26/+0
|\ \ \
| * | | Stop to use the __future__ module.Hervé Beraud2020-06-0213-26/+0
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The __future__ module [1] was used in this context to ensure compatibility between python 2 and python 3. We previously dropped the support of python 2.7 [2] and now we only support python 3 so we don't need to continue to use this module and the imports listed below. Imports commonly used and their related PEPs: - `division` is related to PEP 238 [3] - `print_function` is related to PEP 3105 [4] - `unicode_literals` is related to PEP 3112 [5] - `with_statement` is related to PEP 343 [6] - `absolute_import` is related to PEP 328 [7] [1] https://docs.python.org/3/library/__future__.html [2] https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html [3] https://www.python.org/dev/peps/pep-0238 [4] https://www.python.org/dev/peps/pep-3105 [5] https://www.python.org/dev/peps/pep-3112 [6] https://www.python.org/dev/peps/pep-0343 [7] https://www.python.org/dev/peps/pep-0328 Change-Id: I65fb53db889afcf1a947ea61094bfab877853324
* | | Merge "Add segments client code"Zuul2020-06-032-0/+30
|\ \ \ | |/ / |/| |
| * | Add segments client codeelajkat2020-05-182-0/+30
| | | | | | | | | | | | | | | | | | | | | Related-Bug: #1878632 Needed-By: https://review.opendev.org/728904 Change-Id: I85b8e7b3fb84e7e9fd133edffc300a83eeb7c56d
* | | Remove usage of sixzhanghao2020-05-1516-52/+34
| |/ |/| | | | | | | | | | | | | | | | | | | With python3.x, classes can use 'metaclass=' instead of 'six.add_metaclass', 'six.iteritems' and 'six.iterkeys' can be replaced by 'items' and 'keys', 'six.moves.urllib.parse' can be replaced by 'urllib.parse', 'six.StringIO' and 'six.moves.cStringIO' can be replaced by 'io.StringIO', 'six.text_type' and 'six.string_type' are just 'str'. Change-Id: I357968c6a1932856b1600f6c191966bc90cbc258
* | Switch to newer openstackdocstheme and reno versionsAndreas Jaeger2020-05-184-17/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Switch to openstackdocstheme 2.2.0 and reno 3.1.0 versions. Using these versions will allow especially: * Linking from HTML to PDF document * Allow parallel building of documents * Fix some rendering problems Update Sphinx version as well. Remove docs requirements from lower-constraints, they are not needed during install or test but only for docs building. openstackdocstheme renames some variables, so follow the renames before the next release removes them. A couple of variables are also not needed anymore, remove them. Set openstackdocs_pdf_link to link to PDF file. Note that the link to the published document only works on docs.openstack.org where the PDF file is placed in the top-level html directory. The site-preview places the PDF in a pdf directory. Set openstackdocs_auto_name to use 'project' as name. Depends-On: https://review.opendev.org/728938 Change-Id: I9e1dcc5c8861ac9d800ed7425b3e3193dd13c546
* | Fix hacking min version to 3.0.1Ghanshyam Mann2020-05-121-1/+1
|/ | | | | | | | | | | | | | | | | flake8 new release 3.8.0 added new checks and gate pep8 job start failing. hacking 3.0.1 fix the pinning of flake8 to avoid bringing in a new version with new checks. Though it is fixed in latest hacking but 2.0 and 3.0 has cap for flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also break the pep8 job if new check are added. To avoid similar gate break in future, we need to bump the hacking min version. - http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html Change-Id: I5486638526b26ce0710c7b1926e408dd70057a66
* Merge "Add py38 package metadata"Zuul2020-04-271-0/+1
|\
| * Add py38 package metadataSean McGinnis2020-04-241-0/+1
| | | | | | | | | | | | | | | | | | Now that we are running the Victoria tests that include a voting py38, we can now add the Python 3.8 metadata to the package information to reflect that support. Change-Id: I449ba49cd8c2c8c9890b603c298295c56a5df6de Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* | Bump default tox env from py37 to py38Sean McGinnis2020-04-241-1/+1
|/ | | | | | | | | | | | | | Python 3.8 is now our highest level supported python runtime. This updates the default tox target environments to swap out py37 for py38 to make sure local development testing is covering this version. This does not impact zuul jobs in any way, nor prevent local tests against py37. It just changes the default if none is explicitly provided. Change-Id: I026ae0fae10114d9aed8bdb0ae7061b3dc2ff895 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* Remove Babel from requirementsDmitry Tantsur2020-04-171-1/+0
| | | | | | | | | | | It's not a runtime dependency (and even oslo.i18n has dropped it). The translation infrastructure installs Babel explicitly. See this mailing list thread for a full reasoning: http://lists.openstack.org/pipermail/openstack-discuss/2020-April/014227.html Keeping Babel in lower-constraints since other projects still pull it. Change-Id: I1c92bd28c3f54368b591b965b5f904c8fda424e0
* Add Python3 victoria unit testsOpenStack Release Bot2020-04-111-1/+1
| | | | | | | | | | | This is an automatically generated patch to ensure unit testing is in place for all the of the tested runtimes for victoria. See also the PTI in governance [1]. [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html Change-Id: I817e39d2229ffc803fd285d4bedfcad86a450c05
* Update master for stable/ussuriOpenStack Release Bot2020-04-112-0/+7
| | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/ussuri. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/ussuri. Change-Id: Id46b2b493579dcf984e537d81392c792c9d9aeea Sem-Ver: feature
* Cleanup py27 supportussuri-em7.1.1Andreas Jaeger2020-04-046-19/+6
| | | | | | | | | | | | | | Make a few cleanups: - Remove python 2.7 stanza from setup.py - Add requires on python >= 3.6 to setup.cfg so that pypi and pip know about the requirement - Remove obsolete sections from setup.cfg - Update classifiers - Update requirements, no need for python_version anymore - Remove html_last_updated_fmt from conf.py, this is not needed with openstackdocstheme anymore; update openstackdocstheme requirement Change-Id: I66d7b502349de38bc2b646ed99cf5a41471d81bf
* Replace 'bgp speaker show dragents' with 'bgp dragent list'7.1.0zhanghao2020-02-175-4/+215
| | | | | | | | | | | In order to follow other agent related commands in OSC, it is more appropriate and friendly to replace 'bgp speaker show dragents' with 'bgp dragent list'. this patch uses 'openstack bgp dragent list' to show the list of dragents, and the optional parameter 'bgp-speaker' shows the list of dragents hosting a specific bgp speaker. Change-Id: I9e0703fccf535b1e1a2055ed917336055b7395f5 Closes-Bug: #1858377
* Drop lib-forward-testingzhanghao2020-01-251-1/+0
| | | | Change-Id: Ifdce9146e8233e6760ee6c0009338661f90848a2
* Add support for port bindingsStephen Finucane2020-02-102-0/+30
| | | | | | | | | | | The port bindings API has been around since Pike but has never been exposed via neutronclient. We still use this in nova so it would be nice to avoid having to create a KSA client manually for this stuff. We don't need to expose things via the UI, just the client itself, so do that. Change-Id: Ied1a057186f0819166df84725b09ded314930a1d Signed-off-by: Stephen Finucane <stephenfin@redhat.com> Sem-Ver: feature
* Convert exception to string before passing it in7.0.0Jay Faulkner2020-01-141-2/+2
| | | | | | | | | | | | | Before this change, neutronclient was passing in a raw exception as a kwarg to the ConnectionFailed exception. This caused an exception to be raised in _safe_decode_dict() due to the exception not being a text type. Now, we explicitly convert the raw exception to a string before passing it as a kwarg. Closes-bug: 1859068 Change-Id: I323b3aceec0a937874eabf770fbc82995202f6d6
* Avoid py36 error when printing unicode chars in a streamRodolfo Alonso Hernandez2020-01-101-6/+7
| | | | | | | | | The IOStream was not able to encode characters out of range 128: "UnicodeEncodeError: 'ascii' codec can't encode characters in position 19-21: ordinal not in range(128)" Change-Id: Ic95396a5cf73c49d332928857dc064819a6d7ea6 Closes-Bug: #1858421
* fix a typoliushuobj2019-12-271-1/+1
| | | | Change-Id: I9d82335c37f114aa43f26dec106e7598e776e068
* Merge "Drop python3 hack for XML serializer"Zuul2019-12-211-4/+0
|\
| * Drop python3 hack for XML serializerAkihiro Motoki2019-12-171-4/+0
| | | | | | | | | | | | | | | | | | It was added in https://review.opendev.org/#/c/110947/ to make the XML serializer work in python 3. We dropped the XML serializer support long ago. I believe we can drop it safely. Change-Id: I208de891515cb2cbdde779013ba58f19e36fc55c
* | Merge "Drop python 2.7 support"Zuul2019-12-214-17/+8
|\ \
| * | Drop python 2.7 supportAkihiro Motoki2019-12-174-17/+8
| |/ | | | | | | | | | | | | | | | | We no longer support python 2.7 past Train. Let's stop testings with python 2.7 and drop python 2.7 stuffs. pypy in tox.ini is also dropped too. It is not used for long. Change-Id: I8a07c007a129cd2141085a1a3cc7f81658c42db2
* | Fix pep8 errors with hacking 2.0.0Akihiro Motoki2019-12-172-5/+5
|/ | | | Change-Id: I4737d4bc4fa116f45e2361eba93f48feae0161a4
* Merge "Move grenade neutron-lib job to py3 and in python-neutronclient repo"Zuul2019-12-113-1/+94
|\
| * Move grenade neutron-lib job to py3 and in python-neutronclient repoGhanshyam Mann2019-12-093-1/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 'legacy-grenade-dsvm-neutron-libs' grenade neutron-lib jobs is present in opensatck-zuul-jobs repo running on python 2. This needs to run on py3 from Ussuri onwards and py2 for stable/branch. python-neutronclient is the only repo which is using this job. py2 version has been kept in opensatck-zuul-jobs and for ussuri onwwards this has been migrated to python-neutronclient repo with py3 version. Change-Id: I165f86e1d05c8830e0b75b5c2db369178a3df7e7
* | Switch to Ussuri jobskangyufei2019-10-221-1/+1
|/ | | | Change-Id: I59807606d4865cb2f4d9c6a912f659ea45b3fba8
* Merge "PDF documentation build"Zuul2019-10-072-0/+29
|\
| * PDF documentation buildAkihiro Motoki2019-09-052-0/+29
| | | | | | | | | | | | Change-Id: I0abc5df1dfde23756bc2fd78631141ba685dc6fe Story: 2006099 Task: 35139
* | Remove 'public' and 'private' parameters in fwaas_v2zhanghao22019-10-015-82/+15
| | | | | | | | | | | | | | | | The 'public' and 'private' parameters have been replaced with 'share' and 'no-share' parameters in the Pike version, they can be removed now. Change-Id: I57a2e228ec1cdb6ed259914abc38bdada036d369
* | Update master for stable/trainOpenStack Release Bot2019-09-202-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/train. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/train. Change-Id: I1dd2ee12854ac7a55baa2114230ab42404dea5c1 Sem-Ver: feature
* | Merge "Add router add/remove extra routes operations"6.14.0Zuul2019-09-132-0/+15
|\ \
| * | Add router add/remove extra routes operationsBence Romsics2019-09-132-0/+15
| |/ | | | | | | | | | | | | | | | | Add methods to the client to call the two new member actions introduced by new Neutron extension: extraroute-atomic. Change-Id: Idb1fa073c2ff31f566b376cfa4f63cf27fecec86 Partial-Bug: #1826396 (rfe) Related-Change: https://review.opendev.org/655680 (spec)
* | Improve help textjiasirui2019-08-301-3/+3
|/ | | | Change-Id: Idc8f55567d0d4c95968d34d3b7aa95048623d9d0