Amend spec for add-instance-name-to-cli
I noticed that the RST formatting in the spec wasn't correct. This attempts to correct those issues. blueprint add-instance-name-to-cli Change-Id: Ia951d237ba70c478699a1eb9e843a710ec7df9b1
This commit is contained in:
parent
8bd810e29e
commit
05af0d2fec
@ -33,59 +33,69 @@ to use instance-ID or instance-name interchangeably throughtout the CLI.
|
|||||||
Proposed change
|
Proposed change
|
||||||
===============
|
===============
|
||||||
|
|
||||||
Allow instance-id or instance-name to be passed in for the following
|
Allow instance-id or instance-name to be passed in for the following commands:
|
||||||
commands:
|
|
||||||
backup-create
|
|
||||||
backup-list-instance
|
|
||||||
configuration-attach
|
|
||||||
configuration-default
|
|
||||||
configuration-detach
|
|
||||||
database-create
|
|
||||||
database-delete
|
|
||||||
database-list
|
|
||||||
detach-replica
|
|
||||||
delete
|
|
||||||
metadata-create
|
|
||||||
metadata-delete
|
|
||||||
metadata-edit
|
|
||||||
metadata-list
|
|
||||||
metadata-show
|
|
||||||
metadata-update
|
|
||||||
resize-flavor
|
|
||||||
resize-instance
|
|
||||||
resize-volume
|
|
||||||
restart
|
|
||||||
root-enable
|
|
||||||
root-show
|
|
||||||
update
|
|
||||||
user-create
|
|
||||||
user-delete
|
|
||||||
user-grant-access
|
|
||||||
user-list
|
|
||||||
user-revoke-access
|
|
||||||
user-show
|
|
||||||
user-show-access
|
|
||||||
user-update-attributes
|
|
||||||
|
|
||||||
For example, trove delete currently looks like this:
|
- backup-create
|
||||||
usage: trove delete <instance>
|
- backup-list-instance
|
||||||
|
- configuration-attach
|
||||||
|
- configuration-default
|
||||||
|
- configuration-detach
|
||||||
|
- database-create
|
||||||
|
- database-delete
|
||||||
|
- database-list
|
||||||
|
- detach-replica
|
||||||
|
- delete
|
||||||
|
- metadata-create
|
||||||
|
- metadata-delete
|
||||||
|
- metadata-edit
|
||||||
|
- metadata-list
|
||||||
|
- metadata-show
|
||||||
|
- metadata-update
|
||||||
|
- resize-flavor
|
||||||
|
- resize-instance
|
||||||
|
- resize-volume
|
||||||
|
- restart
|
||||||
|
- root-enable
|
||||||
|
- root-show
|
||||||
|
- update
|
||||||
|
- user-create
|
||||||
|
- user-delete
|
||||||
|
- user-grant-access
|
||||||
|
- user-list
|
||||||
|
- user-revoke-access
|
||||||
|
- user-show
|
||||||
|
- user-show-access
|
||||||
|
- user-update-attributes
|
||||||
|
|
||||||
Deletes an instance.
|
For example, ``trove delete`` currently looks like this:
|
||||||
|
|
||||||
Positional arguments:
|
::
|
||||||
<instance> ID of the instance.
|
|
||||||
|
usage: trove delete <instance>
|
||||||
|
|
||||||
|
Deletes an instance.
|
||||||
|
|
||||||
|
Positional arguments:
|
||||||
|
<instance> ID of the instance.
|
||||||
|
|
||||||
The proposal is to make it look like this:
|
The proposal is to make it look like this:
|
||||||
usage: trove delete <instance>
|
|
||||||
|
|
||||||
Deletes an instance.
|
::
|
||||||
|
|
||||||
Positional arguments:
|
usage: trove delete <instance>
|
||||||
<instance> ID or name of the instance.
|
|
||||||
|
|
||||||
|
Deletes an instance.
|
||||||
|
|
||||||
|
Positional arguments:
|
||||||
|
<instance> ID or name of the instance.
|
||||||
|
|
||||||
This will be a CLI change only.
|
This will be a CLI change only.
|
||||||
|
|
||||||
|
Currently the ``trove show`` command will display an error if there is
|
||||||
|
more than one instance with the name provided. The error indicates that,
|
||||||
|
in this case, the instance ID must be used. This behavior will be preserved
|
||||||
|
and used across all the commands mentioned above.
|
||||||
|
|
||||||
Configuration
|
Configuration
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
@ -123,9 +133,10 @@ Implementation
|
|||||||
Assignee(s)
|
Assignee(s)
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
Primary assignee:
|
Primary assignees:
|
||||||
0-doug (dougshelley66)
|
|
||||||
peterstac
|
- 0-doug (dougshelley66)
|
||||||
|
- peterstac
|
||||||
|
|
||||||
Milestones
|
Milestones
|
||||||
----------
|
----------
|
||||||
|
Loading…
Reference in New Issue
Block a user