We were importing _argparse (private) from cliff to get at
argparse.HelpFormatter, which was present there only because it was
being transitively imported directly from argparse itself. Commit
584352dcd008d58c433136539b22a6ae9d6c45cc got rid of this transitive
import, which means that rsdclient would have broken on the next cliff
release.
This commit just imports argparse directly instead.
And because that was the only reference to cliff in the project, this
commit also removes it from the requirements.
For more information, see http://lists.openstack.org/pipermail/openstack-discuss/2020-January/011852.html
Change-Id: I7f99d80a3be38acc45af83e54b32ebc2f5b40859
Some plugin command option help strings contained invalid-to-sphinx
bullet lists, causing building autoprogram-cliff from
python-openstackclient to break with errors like:
<ComposeNode>:1:Unexpected indentation.
This commit reformats the help strings to use the right newlines and
indents so they build properly.
Change-Id: Ia3fd6d5ec76e0e6d6aee87d8a8790a1ed2d38a26
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: Ife8dbfbe39cd3e246719e2b3e794ef4e6896ffda
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.
Change-Id: I7946101188fd8b6afd6cc556698aa05b5f17832c
Removed obsolete remote_targets, physical_drives, and logical_drives
resources in storage service, but added volumes, drives, endpoints
and storage_pools according to RSD 2.3 spec.
Change-Id: Ie43302af5eba1699a132c8a50b8ff26150620a78
Closes-Bug: #1789683
One RSD resource may contains several fields that also have _path
variable. That is useless info to user. So filter them out.
Change-Id: Idf453f452603713c8efd64336eee791c656a1d86
One sub-command 'rsd volume list' has been added, which allow user
to list all volumes of one storage service and return the brief info.
Change-Id: Icbff783dbc738e503eca4fa7c2d68874073e89d7
Assume most of user will assemble node after composition, so assemble
node automatically instead of requiring user to execute another
command.
Change-Id: Ib60a01d37a03c5499f1c56e56095ffad387ad2e5
Add 'allowed_attach_endpoints', 'allowed_detach_endpoints',
'allowed_boot_source' and 'allowed_reset_node_values' variables,
which show all allowed values of each action for composed node.
Change-Id: Ie933ad2ed0ba6c4859e8cffbf776efa9328260e0
We do not need tox_install.sh, pip can handle constraints itself
and install the project correctly. Thus update tox.ini and remove
the now obsolete tools/tox_install.sh file.
This follows https://review.openstack.org/#/c/508061 to remove
tools/tox_install.sh.
Change-Id: I53fb6723c1b451f9bbacb1dfc1db681f2b5fce47
OSC will automatically use subcommands comments to generate usage
doc. So added one line comments for each one as other client project
does.
Change-Id: I5799f3fb989af7855634c3c1fc994e24b1add533
After python-rsdclient is added into upper-constraints, all unit
tests failed in package installation step. Fixed it by using
customized script instead of 'pip install'.
Change-Id: Id2d0e1a91e872559eba2bc80c35295801a3f85e9