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
python-subunit is not used directly anywhere
and it is dependency of both testrepository
and os-testr
(probably was used by some tox wrapper script before)
Change-Id: I3d0062ba618130ce13f03373026f412568923304
Make this plugin can recognize RSD arguments from environment
variables, include RSD_URL, RSD_USERNAME, RSD_PASSWORD and
RSD_VERIFY. So user can set them in environment variables to avoid
input them in every command.
Change-Id: I1b4fe8fc529b504b0f80d40427132e8b9364627c
The node composition API in rsd-lib has been changed to accept
separate parameters for each resource request instead of whole
request in one single python dict, so update the code to use new
interface.
Change-Id: Ie9bf8a4fe70510c3be078cdd13d66e81d3f1e858
New command 'openstack rsd fabric show <ID>' to allow user to show
the details of fabric resource.
Change-Id: Ie51478e3c66bb8bce57b133fbab2d70f2ba7dc79
New command 'openstack rsd node detach' to allow user to detach a
specific resource from existing composed node.
Change-Id: Ia9f15793c3d4b87b6647f2f7dc18411be632054b
New command 'openstack rsd node attach' to allow user to attach a
specific resource to existing composed node, or specify capacity
criteria.
Change-Id: I142fba9faf2b377c65b70420a792606f8ad7b33f
Add several new arguments, "--description", "--processor",
"--memory", "--remote-drives", "--local-drives", "--ethernet" to
allow user to specify node composition requirements in details.
Change-Id: I86aa04e3e84d449dc184de45a0cfab46c48ba7f2
Add new command 'rsd storage list' to allow user to list all storage
services brief info like below shows.
$ openstack rsd storage list
+----------+-----------------+-----------------------------+
| Identity | Name | Description |
+----------+-----------------+-----------------------------+
| 1 | Storage Service | Storage Service for Testing |
+----------+-----------------+-----------------------------+
Change-Id: Id54e630881de4c79f731ca93e6bf7a3c18fe6589