Skip to content

Commit c9419f0

Browse files
committed
add volume->osc mapping
Change-Id: Ia773cf66c9949433eb5e5ab5c58b7c871c17fc22
1 parent 3a48183 commit c9419f0

2 files changed

Lines changed: 112 additions & 0 deletions

File tree

doc/source/data/cinder.csv

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
absolute-limits,limits show --absolute,Lists absolute limits for a user.
2+
availability-zone-list,availability zone list --volume,Lists all availability zones.
3+
backup-create,volume backup create,Creates a volume backup.
4+
backup-delete,volume backup delete,Removes a backup.
5+
backup-export,volume backup export,Export backup metadata record.
6+
backup-import,volume backup import,Import backup metadata record.
7+
backup-list,volume backup list,Lists all backups.
8+
backup-reset-state,volume backup set --state,Explicitly updates the backup state.
9+
backup-restore,volume backup restore,Restores a backup.
10+
backup-show,volume backup show,Show backup details.
11+
cgsnapshot-create,consistency group snapshot create,Creates a cgsnapshot.
12+
cgsnapshot-delete,consistency group snapshot delete,Removes one or more cgsnapshots.
13+
cgsnapshot-list,consistency group snapshot list,Lists all cgsnapshots.
14+
cgsnapshot-show,consistency group snapshot show,Shows cgsnapshot details.
15+
consisgroup-create,consistency group create,Creates a consistency group.
16+
consisgroup-create-from-src,consistency group create --consistency-group-snapshot,Creates a consistency group from a cgsnapshot or a source CG
17+
consisgroup-delete,consistency group delete,Removes one or more consistency groups.
18+
consisgroup-list,consistency group list,Lists all consistencygroups.
19+
consisgroup-show,consistency group show,Shows details of a consistency group.
20+
consisgroup-update,consistency group set,Updates a consistencygroup.
21+
create,volume create,Creates a volume.
22+
credentials,WONTFIX,Shows user credentials returned from auth.
23+
delete,volume delete,Removes one or more volumes.
24+
encryption-type-create,volume type create --encryption-provider --enc..,Creates encryption type for a volume type. Admin only.
25+
encryption-type-delete,volume type delete,Deletes encryption type for a volume type. Admin only.
26+
encryption-type-list,volume type list --encryption-type,Shows encryption type details for volume types. Admin only.
27+
encryption-type-show,volume type list --encryption-show,Shows encryption type details for volume type. Admin only.
28+
encryption-type-update,volume type set --encryption-provider --enc..,Update encryption type information for a volume type (Admin Only).
29+
endpoints,catalog list,Discovers endpoints registered by authentication service.
30+
extend,volume set --size,Attempts to extend size of an existing volume.
31+
extra-specs-list,volume types list --long,Lists current volume types and extra specs.
32+
failover-host,volume host failover,Failover a replicating cinder-volume host.
33+
force-delete,volume delete --force,"Attempts force-delete of volume, regardless of state."
34+
freeze-host,volume host set --disable,Freeze and disable the specified cinder-volume host.
35+
get-capabilities,,Show backend volume stats and properties. Admin only.
36+
get-pools,,Show pool information for backends. Admin only.
37+
image-metadata,volume set --image-property,Sets or deletes volume image metadata.
38+
image-metadata-show,volume show,Shows volume image metadata.
39+
list,volume list,Lists all volumes.
40+
manage,volume create --remote-source k=v,Manage an existing volume.
41+
metadata,volume set --property k=v / volume unset --property k,Sets or deletes volume metadata.
42+
metadata-show,volume show,Shows volume metadata.
43+
metadata-update-all,volume set --property k=v,Updates volume metadata.
44+
migrate,volume migrate --host --force-copy --lock-volume <volume>,Migrates volume to a new host.
45+
qos-associate,volume qos associate,Associates qos specs with specified volume type.
46+
qos-create,volume qos create,Creates a qos specs.
47+
qos-delete,volume qos delete,Deletes a specified qos specs.
48+
qos-disassociate,volume qos disassociate,Disassociates qos specs from specified volume type.
49+
qos-disassociate-all,volume qos disassociate --all,Disassociates qos specs from all associations.
50+
qos-get-association,volume qos show,Gets all associations for specified qos specs.
51+
qos-key,volume qos set --property k=v / volume qos unset --property k,Sets or unsets specifications for a qos spec
52+
qos-list,volume qos list,Lists qos specs.
53+
qos-show,volume qos show,Shows a specified qos specs.
54+
quota-class-show,quota show --class,Lists quotas for a quota class.
55+
quota-class-update,quota set --class,Updates quotas for a quota class.
56+
quota-defaults,quota show --default,Lists default quotas for a tenant.
57+
quota-delete,,Delete the quotas for a tenant.
58+
quota-show,quota show,Lists quotas for a tenant.
59+
quota-update,quota set,Updates quotas for a tenant.
60+
quota-usage,,Lists quota usage for a tenant.
61+
rate-limits,limits show --rate,Lists rate limits for a user.
62+
readonly-mode-update,volume set --read-only-mode | --read-write-mode,Updates volume read-only access-mode flag.
63+
rename,volume set --name,Renames a volume.
64+
replication-promote,WONTFIX,Promote a secondary volume to primary for a relationship
65+
replication-reenable,WONTFIX,Sync the secondary volume with primary for a relationship
66+
reset-state,volume set --state,Explicitly updates the volume state.
67+
retype,volume type set --type,Changes the volume type for a volume.
68+
service-disable,volume service set --disable,Disables the service.
69+
service-enable,volume service set --enable,Enables the service.
70+
service-list,volume service list,Lists all services. Filter by host and service binary.
71+
set-bootable,volume set --bootable / --not-bootable,Update bootable status of a volume.
72+
show,volume show,Shows volume details.
73+
snapshot-create,snapshot create,Creates a snapshot.
74+
snapshot-delete,snapshot delete,Remove one or more snapshots.
75+
snapshot-list,snapshot list,Lists all snapshots.
76+
snapshot-manage,volume snapshot create --remote-source <key=value>,Manage an existing snapshot.
77+
snapshot-metadata,snapshot set --property k=v / snapshot unset --property k,Sets or deletes snapshot metadata.
78+
snapshot-metadata-show,snapshot show,Shows snapshot metadata.
79+
snapshot-metadata-update-all,snapshot set --property k=v,Updates snapshot metadata.
80+
snapshot-rename,snapshot set --name,Renames a snapshot.
81+
snapshot-reset-state,snapshot set --state,Explicitly updates the snapshot state.
82+
snapshot-show,snapshot show,Shows snapshot details.
83+
snapshot-unmanage,volume snapshot delete --remote,Stop managing a snapshot.
84+
thaw-host,volume host set --enable,Thaw and enable the specified cinder-volume host.
85+
transfer-accept,volume transfer accept,Accepts a volume transfer.
86+
transfer-create,volume transfer create,Creates a volume transfer.
87+
transfer-delete,volume transfer delete,Undoes a transfer.
88+
transfer-list,volume transfer list,Lists all transfers.
89+
transfer-show,volume transfer show,Show transfer details.
90+
type-access-add,volume type set --project,Adds volume type access for the given project.
91+
type-access-list,volume type show,Print access information about the given volume type.
92+
type-access-remove,volume type unset --project,Removes volume type access for the given project.
93+
type-create,volume type create,Creates a volume type.
94+
type-default,volume type list --default,List the default volume type.
95+
type-delete,volume type delete,Deletes a specified volume type.
96+
type-key,volume type set --property k=v / volume type unset --property k,Sets or unsets extra_spec for a volume type.
97+
type-list,volume type list,Lists available 'volume types'.
98+
type-show,volume type show,Show volume type details.
99+
type-update,volume type set,"Updates volume type name, description, and/or is_public."
100+
unmanage,volume delete --remote,Stop managing a volume.
101+
upload-to-image,image create --volume,Uploads volume to Image Service as an image.
102+
bash-completion,complete,Prints arguments for bash_completion.
103+
help,help,Shows help about this program or one of its subcommands.
104+
list-extensions,extension list --volume,Lists all available os-api extensions.

doc/source/decoder.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ OpenStackClient. Think of it as a magic decoder ring if you were using the
77
legacy CLIs and want to transition to OpenStack CLI. Command options are only
88
shown when necessary.
99

10+
``cinder CLI``
11+
--------------
12+
13+
.. csv-table::
14+
:header: "Cinder CLI", "OSC Equivalent", "Description"
15+
:widths: 25, 25, 50
16+
:file: data/cinder.csv
17+
1018
``nova CLI``
1119
------------
1220

0 commit comments

Comments
 (0)