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
This patch added the code of specific RSD plugin in OSC, which allow
user to issue node composition command through OSC, like
'openstack rsd compose
--rsd-url "https://localhost:8442/redfish/v1/"
--rsd-username "admin"
--rsd-password "admin"
--rsd-disable-verify
--name "Fake-Name" '
Note: for node composition command, it only support "name" parameter
now. More functionalities will be implemented later.
Change-Id: Idaf48c8b2e5c9b370e69520578d91c8ddb30fd74