Wrong layout of driver-related commands in OSC-plugin spec
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-ironicclient |
Fix Released
|
High
|
Unassigned |
Bug Description
Driver commands in spec:
openstack baremetal driver show <driver_name>
openstack baremetal driver show properties <driver_name>
openstack baremetal driver show passthru <driver_name>
openstack baremetal driver list
openstack baremetal driver passthru <driver_name> <method>
This looks wrong, because all OSC command groups have layout like:
command subcommand aaa
command subcommand bbb
command subcommand ccc
Command layout should NOT be like this:
command subcommand
command subcommand aaa
command subcommand bbb
In this case OSC plugin commands style implementation will work by following way:
commands "baremetal driver show properties" and "baremetal driver show passthru" will be parsed as "baremetal driver show", and "properties" and "passthru" will be accepted like <driver_name> argument.
Driver-related section of OSC plugin spec:
http://
This bug is blocker for implementation of baremetal driver OSC plugin commands:
https:/
Please feel free to amend the spec:
openstack baremetal driver show <driver_name>
openstack baremetal driver properties show <driver_name>
openstack baremetal driver passthru show <driver_name>
or similar