summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove translation sections from setup.cfgmelissaml2020-06-233-16/+0
| | | | | | | These translation sections are not needed anymore, Babel can generate translation files without them. Change-Id: Ic5d57186766257e9d37b3588e71f973cddad9be4
* Don't display Munch objects in the outputJens Harbott2020-06-171-0/+5
| | | | | | | | When the sdk gives us a resource that contains Munch columns, drop them from the output as they are for programmatic usage only and have no use in a CLI context. Change-Id: Idd7306cd763b5a017a66e410e70e1adb02663c2a
* Revert "Format location columns in network commands"Jens Harbott (frickler)2020-06-1722-119/+28
| | | | | | This reverts commit 6ee7b8d138e07bfc37c5cd887f7afa49cdabb02f. Change-Id: I5f59959ba8a01aba49e29f4cb007397467344e58
* Merge "Remove os-client-config references"Zuul2020-06-115-24/+5
|\
| * Remove os-client-config referencesMonty Taylor2020-06-085-24/+5
| | | | | | | | | | | | | | We've depended on openstacksdk for config for ages now, clean up after ourselves and stop installing it in tests. Change-Id: I66b3ec2a36bc462d2f1ac151e95ccbdc946076b8
* | Merge "image: autogenerate docs"Zuul2020-06-096-652/+30
|\ \
| * | image: autogenerate docsEric Fried2020-06-086-652/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $namespace = openstack.image.v{1|2} The subcommand documents for $namespace were hardcoded and thus prone to drift over time. This commit removes the hardcoded content and uses the autoprogram-cliff directive to generate them automatically from the subcommand configuration classes. Some reorganization happened here. The `image` subcommand name is shared by image v1 and v2. Previously the hardcoded document had them combined and interleaved. Attempting to preserve this with autoprogram-cliff would have required significant additional infrastructure. However, since most readers care completely about one and not at all about the other, we instead split the v1 and v2 versions of these commands into separate pages. In case links to the old pages exist in the wild, they are preserved, but moved (with redirects) to a hidden directory, and populated simply with links to the new version-specific generated documents. Change-Id: I24dc6dc10671c7f1267c27002542f61f8a3c18ae
* | | Merge "identity: autogenerate docs"Zuul2020-06-0950-2458/+271
|\ \ \ | |/ /
| * | identity: autogenerate docsEric Fried2020-06-0850-2458/+271
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $namespace = openstack.identity.v{2|3} The subcommand documents for $namespace were hardcoded and thus prone to drift over time. This commit removes the hardcoded content and uses the autoprogram-cliff directive to generate them automatically from the subcommand configuration classes. Special things: - Some reorganization happened here. Certain subcommand names, such as `endpoint` and `project`, are shared by identify v2 and v3. Previously the hardcoded documents had them combined and interleaved. Attempting to preserve this with autoprogram-cliff would have required significant additional infrastructure. However, since most readers care completely about one and not at all about the other, we instead split the v2 and v3 versions of these commands into separate pages. In case links to the old pages exist in the wild, they are preserved, but moved (with redirects) to a hidden directory, and populated simply with links to the new version-specific generated documents. - The `federation domain` and `federation project` subcommands were previously absent from the docs. They are added. These are such small commands and they seem related, so they're put into a single document. - Some pages were already being generated but were listing operations individually instead of using wildcards (possibly because they were created before wildcarding was supported by cliff). These are changed to use wildcarding. (We want to do this wherever possible as it is more future-proof in the event that more operations are added to a subcommand later.) - The `service provider` document was incorrectly titled `identity provider`. Fixed. Change-Id: I2030f9fe370038c5908b6eb6bed9692a73fe5067
* | | Merge "Add cliff to libs-from-git for devstack functional tips"Zuul2020-06-091-1/+1
|\ \ \ | | |/ | |/|
| * | Add cliff to libs-from-git for devstack functional tipsMonty Taylor2020-06-081-1/+1
| |/ | | | | | | | | | | | | We should also use cliff from git in the tips jobs so that we can see whether changes there break things. Change-Id: Ie3375eb7bafafef7fa8209aa6500d1254e29954e
* | Merge "Make container list --all work"Zuul2020-06-092-36/+36
|\ \
| * | Make container list --all workPete Zaitcev2020-05-162-36/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The caller in openstackclient/object/v1/object.py passed a keyword argument full_listing, but the eventual callee container_list() expected all_data. So, --all did not work at all. The issue passed undetected because --all did not have a test, so we added a unit test. In addition, exisiting tests were using a test set that did not look like the real container listing, so we changed LIST_CONTAINER_RESP to be realistic. Change-Id: Id0604bcab25892e43c26cd6656b2b2eef5daa69b
* | | Merge "Add OpenStack Client for Manila docs"Zuul2020-06-083-0/+6
|\ \ \ | |_|/ |/| |
| * | Add OpenStack Client for Manila docsMaari Tamm2020-06-063-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | This commit includes documentation about OSC implementation for Manila. bp openstack-client-support Change-Id: Ic91a81e16e506103c08ef42ed0f8634a2b70e1dd
* | | Merge "Replace assertItemsEqual with assertCountEqual"Zuul2020-06-051-2/+2
|\ \ \
| * | | Replace assertItemsEqual with assertCountEqualAlfredo Moralejo2020-06-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | assertItemsEqual was removed from Python's unittest.TestCase in Python 3.3 [1][2]. We have been able to use them since then, because testtools required unittest2, which still included it. With testtools removing Python 2.7 support [3][4], we will lose support for assertItemsEqual, so we should switch to use assertCountEqual. [1] - https://bugs.python.org/issue17866 [2] - https://hg.python.org/cpython/rev/d9921cb6e3cd [3] - testing-cabal/testtools#286 [4] - testing-cabal/testtools#277 Change-Id: I1ad0da8deda3a8cbec384b5a9c88860a526eb48c
* | | | Merge "Switch to newer openstackdocstheme and reno versions"Zuul2020-06-053-20/+12
|\ \ \ \
| * | | | Switch to newer openstackdocstheme and reno versionsAndreas Jaeger2020-05-203-20/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Switch to openstackdocstheme 2.2.1 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. 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_auto_name to use 'project' as name. Change pygments_style to 'native' since old theme version always used 'native' and the theme now respects the setting and using 'sphinx' can lead to some strange rendering. Depends-On: https://review.opendev.org/729744 Change-Id: Id3989cabdbf2204821531b00149aa0f1cb8a4955
* | | | | Merge "Remove congress"Zuul2020-06-056-12/+0
|\ \ \ \ \
| * | | | | Remove congressAndreas Jaeger2020-06-046-12/+0
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Congress and python-congressclient have been retired and also removed from global requirements, thus requirements-check job fails. Remove congress from this repo. Change-Id: Ibf68fee49e69264a1c46b2f456901d2620befe3c
* | | | | Merge "Add py38 package metadata"Zuul2020-06-041-0/+1
|\ \ \ \ \
| * | | | | Add py38 package metadatazhangboye2020-05-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I75ecaed730a2ef870f41812cfbf55c74fdc36b7b
* | | | | | Merge "Add Python3 victoria unit tests"Zuul2020-06-041-1/+1
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Add Python3 victoria unit testsOpenStack Release Bot2020-04-281-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: I5aa55a9582127ce07efd841b15857c272bebdb9f
* | | | | | Merge "Update master for stable/ussuri"Zuul2020-06-042-0/+7
|\ \ \ \ \ \ | |/ / / / / | | / / / / | |/ / / / |/| | | |
| * | | | Update master for stable/ussuriOpenStack Release Bot2020-04-282-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: Ia0c7a6f2d84a7ed08514a64a73a5de577fcfb1d0 Sem-Ver: feature
* | | | Client should parse string to boolean for value 'is_domain'yanpuqing2020-05-293-0/+133
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we use "--property" parameter, client get lists these the value is string type, but the type of the value 'is_domain' should be boolean, so we should judge it and parse it. The patch parse string to boolean for value 'is_domain'. Co-Authored-By: Lance Bragstad <lbragstad@gmail.com> Change-Id: I37c9eb854524bde3a1530bfe2e3a03810fb1a676 Task: 30039 Story: 2005246
* | | Cleanup: remove a useless reference to "object"Pete Zaitcev2020-05-151-1/+1
| | | | | | | | | | | | | | | | | | | | | The method "object_list" does not have an argument "object", so we were using a built-in class "object" by mistake. Change-Id: I74687659223d31d3c3c119eee5874edff30634fd
* | | Merge "Resolve PEP8"Zuul2020-05-152-2/+1
|\ \ \
| * | | Resolve PEP8Pete Zaitcev2020-05-142-2/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | No idea how this happened, but reviews started failing the pep8 gate job. The failures are legitimate, see the commit. I guess the pep8 tests became smarter and found these issues. Change-Id: Id9a0dad644134dafd68eed37fe8f41c583d7a619
* | | Correct image lookup during server rebuildAdam Harwell2020-05-042-3/+42
|/ / | | | | | | | | | | | | | | | | | | | | | | The switch to using glance from the SDK accidentally used get_image directly during a server rebuild, when it should have used find_image to match existing functionality. Bug introduced in: I36f292fb70c98f6e558f58be55d533d979c47ca7 Change-Id: I2005bd40a1bd6719670c7f7854316b4f9801b140 Story: 2007620 Task: 39643
* | Merge "Remove Babel from requirements"Zuul2020-04-231-1/+0
|\ \
| * | 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: Ib24d2941ac0f780f9092e48b17c343f8eb1d7151
* | | Merge "Revert "Disallow setting default on internal network""Zuul2020-04-223-48/+1
|\ \ \
| * | | Revert "Disallow setting default on internal network"Vasyl Saienko2020-04-083-48/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The original patch assumes that both --external and --is-default are set in the same request and broke case when --is-default is set as an network update. The validation logic have to be moved on API side to avoid extra API calls from openstackclient. This reverts commit 962efd949feb461283a9bb4a668fbd310f80ba40. Related-Bug: #1745658 Change-Id: Idf08abb0e08a6880f89c3e9df9dd2ac82f36c432
* | | | Merge "Use unittest.mock instead of third party mock"Zuul2020-04-173-3/+1
|\ \ \ \ | |_|/ / |/| | |
| * | | Use unittest.mock instead of third party mockSean McGinnis2020-04-033-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Ibd39328c27b68190e2edbf1f52fcea52db3ae791 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* | | | Merge "Add resource option immutable"Zuul2020-04-1710-11/+523
|\ \ \ \
| * | | | Add resource option immutableVishakha Agarwal2020-04-0810-11/+523
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds the --immutable and --no-immutable option to the role, project and domain CLI. Related-Patch: https://review.opendev.org/#/c/712182/ Change-Id: I9c3bdd741f28bf558267fb217818d947597ce13e
* | | | | Merge "Add 'subnetpool' type support to rbac commands"Zuul2020-04-153-5/+18
|\ \ \ \ \
| * | | | | Add 'subnetpool' type support to rbac commandsIgor Malinovskiy2020-04-093-5/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Id6e528ebd1bf21ca142e60052d28371f97f629ac Partial-Bug: #1862032 Depends-On: https://review.opendev.org/710755
* | | | | | Merge "Add 'address_scope' type support to network rbac commands"Zuul2020-04-105-52/+41
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Add 'address_scope' type support to network rbac commandsIgor Malinovskiy2020-03-265-52/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I6a4b7219934805c1bbd1e88fcc670ae231d9ac37 Partial-Bug: #1862968 Depends-On: https://review.opendev.org/709122
* | | | | | Merge "Support for stateless security groups"Zuul2020-04-085-1/+54
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | |
| * | | | | Support for stateless security groupsTom Stappaerts2020-03-315-1/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for stateful attribute of security groups, using --stateful and --no-stateful flag on security group. This allows a user to create security groups with stateful false. Change-Id: Ifd20b5fc47fd0ea0bb5aeda84820dcc0fb1e8847 Blueprint: stateless-security-groups Depends-On: https://review.opendev.org/711513/
* | | | | | Add description field to portforwarding NAT rulespedro2020-04-026-4/+44
| |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the `description` field to Floating IP Port Forwardings Depends-On: https://review.opendev.org/#/c/705038/ Change-Id: I6477368e32570c96cacddba4f86455262e533277 Implements: blueprint portforwarding-description Closes-Bug: #1850818
* | | | | Merge "Add command: router add/remove route --route"Zuul2020-04-017-8/+296
|\ \ \ \ \
| * | | | | Add command: router add/remove route --routeBence Romsics2020-03-307-8/+296
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add commands to osc to call the two new API methods introduced by new Neutron extension: extraroute-atomic. Bump our openstacksdk requirement to >=0.38.0 which contains the corresponding sdk change. The lower-constraints of dogpile.cache and keystoneauth1 are bumped because of requirements bumps in openstacksdk. The lower-constraint of decorator is bumped because of problem already fixed by amotoki here: https://review.opendev.org/701706 Change-Id: Ia9b9c216f1d1161ebedac31594a2c464d77f4ae2 Depends-On: https://review.opendev.org/674324 Partial-Bug: #1826396 (rfe) Related-Change: https://review.opendev.org/655680 (spec)
* | | | | Cleanup Python 2.7 supportAndreas Jaeger2020-03-303-25/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OpenStack is dropping the py2.7 support in ussuri cycle. Make a few cleanups: - Remove python 2.7 stanza from setup.py - Add python-requires to setup.cfg so that pypi and pip know about support Python version - Remove ancient sections from setup.cfg - Remove version_info setting from conf.py, openstackdocstheme does this automatically nowadays. Change-Id: I5b9c159752c932f874015f20822862c70562c2bd