The following is an incomplete mapping between legacy OpenStack CLIs and OpenStackClient. Think of it as a magic decoder ring if you were using the legacy CLIs and want to transition to OpenStack CLI. Command options are only shown when necessary.
cinder CLI
¶Cinder CLI |
OSC Equivalent |
Description |
---|---|---|
absolute-limits |
limits show –absolute |
Lists absolute limits for a user. |
api-version |
WONTFIX |
Display the server API version information. |
availability-zone-list |
availability zone list –volume |
Lists all availability zones. |
attachment-complete |
volume attachment complete |
Complete an attachment for a cinder volume. (Supported by API versions 3.44 - 3.latest) |
attachment-create |
volume attachment create |
Create an attachment for a cinder volume. (Supported by API versions 3.27 - 3.latest) |
attachment-delete |
volume attachment delete |
Delete an attachment for a cinder volume. (Supported by API versions 3.27 - 3.latest) |
attachment-list |
volume attachment list |
Lists all attachments. (Supported by API versions 3.27 - 3.latest) |
attachment-show |
volume attachment show |
Show detailed information for attachment. (Supported by API versions 3.27 - 3.latest) |
attachment-update |
volume attachment update |
Update an attachment for a cinder volume. (Supported by API versions 3.27 - 3.latest) |
backup-create |
volume backup create |
Creates a volume backup. |
backup-delete |
volume backup delete |
Removes a backup. |
backup-export |
volume backup record export |
Export backup metadata record. |
backup-import |
volume backup record import |
Import backup metadata record. |
backup-list |
volume backup list |
Lists all backups. |
backup-reset-state |
volume backup set –state |
Explicitly updates the backup state. |
backup-restore |
volume backup restore |
Restores a backup. |
backup-show |
volume backup show |
Show backup details. |
backup-update |
volume backup set |
Updates a backup. (Supported by API versions 3.9 - 3.latest) |
cgsnapshot-create |
consistency group snapshot create |
Creates a cgsnapshot. |
cgsnapshot-delete |
consistency group snapshot delete |
Removes one or more cgsnapshots. |
cgsnapshot-list |
consistency group snapshot list |
Lists all cgsnapshots. |
cgsnapshot-show |
consistency group snapshot show |
Shows cgsnapshot details. |
cluster-disable |
block storage cluster set –disable |
Disables clustered services. (Supported by API versions 3.7 - 3.latest) |
cluster-enable |
block storage cluster set –enable |
Enables clustered services. (Supported by API versions 3.7 - 3.latest) |
cluster-list |
block storage cluster list |
Lists clustered services with optional filtering. (Supported by API versions 3.7 - 3.latest) |
cluster-show |
block storage cluster show |
Show detailed information on a clustered service. (Supported by API versions 3.7 - 3.latest) |
consisgroup-create |
consistency group create |
Creates a consistency group. |
consisgroup-create-from-src |
consistency group create –consistency-group-snapshot |
Creates a consistency group from a cgsnapshot or a source CG |
consisgroup-delete |
consistency group delete |
Removes one or more consistency groups. |
consisgroup-list |
consistency group list |
Lists all consistencygroups. |
consisgroup-show |
consistency group show |
Shows details of a consistency group. |
consisgroup-update |
consistency group set |
Updates a consistencygroup. |
create |
volume create |
Creates a volume. |
delete |
volume delete |
Removes one or more volumes. |
encryption-type-create |
volume type create –encryption-provider –enc.. |
Creates encryption type for a volume type. Admin only. |
encryption-type-delete |
volume type delete |
Deletes encryption type for a volume type. Admin only. |
encryption-type-list |
volume type list –encryption-type |
Shows encryption type details for volume types. Admin only. |
encryption-type-show |
volume type list –encryption-show |
Shows encryption type details for volume type. Admin only. |
encryption-type-update |
volume type set –encryption-provider –enc.. |
Update encryption type information for a volume type (Admin Only). |
extend |
volume set –size |
Attempts to extend size of an existing volume. |
extra-specs-list |
volume type list –long |
Lists current volume types and extra specs. |
failover-host |
volume host failover |
Failover a replicating cinder-volume host. |
force-delete |
volume delete –force |
Attempts force-delete of volume regardless of state. |
freeze-host |
volume host set –disable |
Freeze and disable the specified cinder-volume host. |
get-capabilities |
volume backend capability show |
Show capabilities of a volume backend. Admin only. |
get-pools |
volume backend pool list |
Show pool information for backends. Admin only. |
group-create |
volume group create |
Creates a group. (Supported by API versions 3.13 - 3.latest) |
group-create-from-src |
Creates a group from a group snapshot or a source group. (Supported by API versions 3.14 - 3.latest) |
|
group-delete |
volume group delete |
Removes one or more groups. (Supported by API versions 3.13 - 3.latest) |
group-disable-replication |
volume group set –disable-replication |
Disables replication for group. (Supported by API versions 3.38 - 3.latest) |
group-enable-replication |
volume group set –enable-replication |
Enables replication for group. (Supported by API versions 3.38 - 3.latest) |
group-failover-replication |
volume group failover |
Fails over replication for group. (Supported by API versions 3.38 - 3.latest) |
group-list |
volume group list |
Lists all groups. (Supported by API versions 3.13 - 3.latest) |
group-list-replication-targets |
volume group list –replication-targets |
Lists replication targets for group. (Supported by API versions 3.38 - 3.latest) |
group-show |
volume group show |
Shows details of a group. (Supported by API versions 3.13 - 3.latest) |
group-snapshot-create |
volume group snapshot create |
Creates a group snapshot. (Supported by API versions 3.14 - 3.latest) |
group-snapshot-delete |
volume group snapshot delete |
Removes one or more group snapshots. (Supported by API versions 3.14 - 3.latest) |
group-snapshot-list |
volume group snapshot list |
Lists all group snapshots. (Supported by API versions 3.14 - 3.latest) |
group-snapshot-show |
volume group snapshot show |
Shows group snapshot details. (Supported by API versions 3.14 - 3.latest) |
group-specs-list |
volume group type list |
Lists current group types and specs. (Supported by API versions 3.11 - 3.latest) |
group-type-create |
volume group type create |
Creates a group type. (Supported by API versions 3.11 - 3.latest) |
group-type-default |
volume group type list –default |
List the default group type. (Supported by API versions 3.11 - 3.latest) |
group-type-delete |
volume group type delete |
Deletes group type or types. (Supported by API versions 3.11 - 3.latest) |
group-type-key |
volume group type set |
Sets or unsets group_spec for a group type. (Supported by API versions 3.11 - 3.latest) |
group-type-list |
volume group type set |
Lists available ‘group types’. (Admin only will see private types) (Supported by API versions 3.11 - 3.latest) |
group-type-show |
volume group type show |
Show group type details. (Supported by API versions 3.11 - 3.latest) |
group-type-update |
volume group type set |
Updates group type name description and/or is_public. (Supported by API versions 3.11 - 3.latest) |
group-update |
volume group set |
Updates a group. (Supported by API versions 3.13 - 3.latest) |
image-metadata |
volume set –image-property |
Sets or deletes volume image metadata. |
image-metadata-show |
volume show |
Shows volume image metadata. |
list |
volume list |
Lists all volumes. |
list-filters |
block storage resource filter list |
List enabled filters. (Supported by API versions 3.33 - 3.latest) |
manage |
volume create –remote-source k=v |
Manage an existing volume. |
manageable-list |
Lists all manageable volumes. (Supported by API versions 3.8 - 3.latest) |
|
message-delete |
volume message delete |
Removes one or more messages. (Supported by API versions 3.3 - 3.latest) |
message-list |
volume message list |
Lists all messages. (Supported by API versions 3.3 - 3.latest) |
message-show |
volume message show |
Shows message details. (Supported by API versions 3.3 - 3.latest) |
metadata |
volume set –property k=v / volume unset –property k |
Sets or deletes volume metadata. |
metadata-show |
volume show |
Shows volume metadata. |
metadata-update-all |
volume set –property k=v |
Updates volume metadata. |
migrate |
volume migrate –host –force-copy –lock-volume <volume> |
Migrates volume to a new host. |
qos-associate |
volume qos associate |
Associates qos specs with specified volume type. |
qos-create |
volume qos create |
Creates a qos specs. |
qos-delete |
volume qos delete |
Deletes a specified qos specs. |
qos-disassociate |
volume qos disassociate |
Disassociates qos specs from specified volume type. |
qos-disassociate-all |
volume qos disassociate –all |
Disassociates qos specs from all associations. |
qos-get-association |
volume qos show |
Gets all associations for specified qos specs. |
qos-key |
volume qos set –property k=v / volume qos unset –property k |
Sets or unsets specifications for a qos spec |
qos-list |
volume qos list |
Lists qos specs. |
qos-show |
volume qos show |
Shows a specified qos specs. |
quota-class-show |
quota show –class |
Lists quotas for a quota class. |
quota-class-update |
quota set –class |
Updates quotas for a quota class. |
quota-defaults |
quota show –default |
Lists default quotas for a tenant. |
quota-delete |
Delete the quotas for a tenant. |
|
quota-show |
quota show |
Lists quotas for a tenant. |
quota-update |
quota set |
Updates quotas for a tenant. |
quota-usage |
Lists quota usage for a tenant. |
|
rate-limits |
limits show –rate |
Lists rate limits for a user. |
readonly-mode-update |
volume set –read-only-mode | –read-write-mode |
Updates volume read-only access-mode flag. |
rename |
volume set –name |
Renames a volume. |
reset-state |
volume set –state |
Explicitly updates the volume state. |
retype |
volume type set –type |
Changes the volume type for a volume. |
revert-to-snapshot |
Revert a volume to the specified snapshot. (Supported by API versions 3.40 - 3.latest) |
|
service-disable |
volume service set –disable |
Disables the service. |
service-enable |
volume service set –enable |
Enables the service. |
service-get-log |
(Supported by API versions 3.32 - 3.latest) |
|
service-list |
volume service list |
Lists all services. Filter by host and service binary. |
service-set-log |
(Supported by API versions 3.32 - 3.latest) |
|
set-bootable |
volume set –bootable / –not-bootable |
Update bootable status of a volume. |
show |
volume show |
Shows volume details. |
snapshot-create |
snapshot create |
Creates a snapshot. |
snapshot-delete |
snapshot delete |
Remove one or more snapshots. |
snapshot-list |
snapshot list |
Lists all snapshots. |
snapshot-manage |
volume snapshot create –remote-source <key=value> |
Manage an existing snapshot. |
snapshot-manageable-list |
Lists all manageable snapshots. (Supported by API versions 3.8 - 3.latest) |
|
snapshot-metadata |
snapshot set –property k=v / snapshot unset –property k |
Sets or deletes snapshot metadata. |
snapshot-metadata-show |
snapshot show |
Shows snapshot metadata. |
snapshot-metadata-update-all |
snapshot set –property k=v |
Updates snapshot metadata. |
snapshot-rename |
snapshot set –name |
Renames a snapshot. |
snapshot-reset-state |
snapshot set –state |
Explicitly updates the snapshot state. |
snapshot-show |
snapshot show |
Shows snapshot details. |
snapshot-unmanage |
volume snapshot delete –remote |
Stop managing a snapshot. |
summary |
Get volumes summary. (Supported by API versions 3.12 - 3.latest) |
|
thaw-host |
volume host set –enable |
Thaw and enable the specified cinder-volume host. |
transfer-accept |
volume transfer accept |
Accepts a volume transfer. |
transfer-create |
volume transfer create |
Creates a volume transfer. |
transfer-delete |
volume transfer delete |
Undoes a transfer. |
transfer-list |
volume transfer list |
Lists all transfers. |
transfer-show |
volume transfer show |
Show transfer details. |
type-access-add |
volume type set –project |
Adds volume type access for the given project. |
type-access-list |
volume type show |
Print access information about the given volume type. |
type-access-remove |
volume type unset –project |
Removes volume type access for the given project. |
type-create |
volume type create |
Creates a volume type. |
type-default |
volume type list –default |
List the default volume type. |
type-delete |
volume type delete |
Deletes a specified volume type. |
type-key |
volume type set –property k=v / volume type unset –property k |
Sets or unsets extra_spec for a volume type. |
type-list |
volume type list |
Lists available ‘volume types’. |
type-show |
volume type show |
Show volume type details. |
type-update |
volume type set |
Updates volume type name description and/or is_public. |
unmanage |
volume delete –remote |
Stop managing a volume. |
upload-to-image |
image create –volume |
Uploads volume to Image Service as an image. |
version-list |
List all API versions. (Supported by API versions 3.0 - 3.latest) |
|
work-cleanup |
Request cleanup of services with optional filtering. (Supported by API versions 3.24 - 3.latest) |
|
bash-completion |
complete |
Prints arguments for bash_completion. |
help |
help |
Shows help about this program or one of its subcommands. |
list-extensions |
extension list –volume |
Lists all available os-api extensions. |
glance CLI
¶Glance CLI |
OSC Equivalent |
Description |
---|---|---|
explain |
WONTFIX |
Describe a specific model. |
image-create |
image create |
Create a new image. |
image-create-via-import |
EXPERIMENTAL: Create a new image via image import. |
|
image-deactivate |
image set –deactivate |
Deactivate specified image. |
image-delete |
image delete |
Delete specified image. |
image-download |
image save |
Download a specific image. |
image-import |
Initiate the image import taskflow. |
|
image-list |
image list |
List images you can access. |
image-reactivate |
image set –activate |
Reactivate specified image. |
image-show |
image show |
Describe a specific image. |
image-stage |
Upload data for a specific image to staging. |
|
image-tag-delete |
image unset –tag <tag> |
Delete the tag associated with the given image. |
image-tag-update |
image set –tag <tag> |
Update an image with the given tag. |
image-update |
image set |
Update an existing image. |
image-upload |
Upload data for a specific image. |
|
import-info |
Print import methods available from Glance. |
|
location-add |
Add a location (and related metadata) to an image. |
|
location-delete |
Remove locations (and related metadata) from an image. |
|
location-update |
Update metadata of an image’s location. |
|
md-namespace-create |
Create a new metadata definitions namespace. |
|
md-namespace-delete |
Delete specified metadata definitions namespace with its contents. |
|
md-namespace-import |
Import a metadata definitions namespace from file or standard input. |
|
md-namespace-list |
List metadata definitions namespaces. |
|
md-namespace-objects-delete |
Delete all metadata definitions objects inside a specific namespace. |
|
md-namespace-properties-delete |
Delete all metadata definitions property inside a specific namespace. |
|
md-namespace-resource-type-list |
List resource types associated to specific namespace. |
|
md-namespace-show |
Describe a specific metadata definitions namespace. |
|
md-namespace-tags-delete |
Delete all metadata definitions tags inside a specific namespace. |
|
md-namespace-update |
Update an existing metadata definitions namespace. |
|
md-object-create |
Create a new metadata definitions object inside a namespace. |
|
md-object-delete |
Delete a specific metadata definitions object inside a namespace. |
|
md-object-list |
List metadata definitions objects inside a specific namespace. |
|
md-object-property-show |
Describe a specific metadata definitions property inside an object. |
|
md-object-show |
Describe a specific metadata definitions object inside a namespace. |
|
md-object-update |
Update metadata definitions object inside a namespace. |
|
md-property-create |
Create a new metadata definitions property inside a namespace. |
|
md-property-delete |
Delete a specific metadata definitions property inside a namespace. |
|
md-property-list |
List metadata definitions properties inside a specific namespace. |
|
md-property-show |
Describe a specific metadata definitions property inside a namespace. |
|
md-property-update |
Update metadata definitions property inside a namespace. |
|
md-resource-type-associate |
Associate resource type with a metadata definitions namespace. |
|
md-resource-type-deassociate |
Deassociate resource type with a metadata definitions namespace. |
|
md-resource-type-list |
List available resource type names. |
|
md-tag-create |
Add a new metadata definitions tag inside a namespace. |
|
md-tag-create-multiple |
Create new metadata definitions tags inside a namespace. |
|
md-tag-delete |
Delete a specific metadata definitions tag inside a namespace. |
|
md-tag-list |
List metadata definitions tags inside a specific namespace. |
|
md-tag-show |
Describe a specific metadata definitions tag inside a namespace. |
|
md-tag-update |
Rename a metadata definitions tag inside a namespace. |
|
member-create |
image add project |
Create member for a given image. |
member-delete |
image remove project |
Delete image member. |
member-list |
Describe sharing permissions by image. |
|
member-update |
image set –accept –reject –status |
Update the status of a member for a given image. |
stores-delete |
Delete image from specific store. |
|
stores-info |
Print available backends from Glance. |
|
task-create |
Create a new task. |
|
task-list |
List tasks you can access. |
|
task-show |
Describe a specific task. |
|
bash-completion |
complete |
Prints arguments for bash_completion. |
help |
help |
Display help about this program or one of its subcommands. |
keystone CLI
¶Keystone CLI |
OSC Equivalent |
Description |
---|---|---|
catalog |
catalog show |
List service catalog, possibly filtered by service. |
ec2-credentials-create |
ec2 credentials create |
Create EC2-compatible credentials for user per tenant. |
ec2-credentials-delete |
ec2 credentials delete |
Delete EC2-compatible credentials. |
ec2-credentials-get |
ec2 credentials show |
Display EC2-compatible credentials. |
ec2-credentials-list |
ec2 credentials list |
List EC2-compatible credentials for a user. |
endpoint-create |
endpoint create |
Create a new endpoint associated with a service. |
endpoint-delete |
endpoint delete |
Delete a service endpoint. |
endpoint-get |
endpoint get |
Find endpoint filtered by a specific attribute or service type. |
endpoint-list |
endpoint list |
List configured service endpoints. |
password-update |
user password set |
Update own password. |
role-create |
role create |
Create new role. |
role-delete |
role delete |
Delete role. |
role-get |
role show |
Display role details. |
role-list |
role list |
List all roles. |
service-create |
service create |
Add service to Service Catalog. |
service-delete |
service delete |
Delete service from Service Catalog. |
service-get |
service show |
Display service from Service Catalog. |
service-list |
service list |
List all services in Service Catalog. |
tenant-create |
project create |
Create new tenant. |
tenant-delete |
project delete |
Delete tenant. |
tenant-get |
project show |
Display tenant details. |
tenant-list |
project list |
List all tenants. |
tenant-update |
project set |
Update tenant name, description, enabled status. |
token-get |
token issue |
Display the current user token. |
user-create |
user create |
Create new user. |
user-delete |
user delete |
Delete user. |
user-get |
user show |
Display user details. |
user-list |
user list |
List users. |
user-password-update |
user set –password |
Update user password. |
user-role-add |
role add <role> –user –project |
Add role to user. |
user-role-list |
role assignment list –user –project |
List roles granted to a user. |
user-role-remove |
role remove <role> –user –project |
Remove role from user. |
user-update |
user set |
Update user’s name, email, and enabled status. |
discover |
WONTFIX |
Discover Keystone servers, supported API versions and extensions. |
bootstrap |
WONTFIX |
Grants a new role to a new user on a new tenant, after creating each. |
bash-completion |
complete |
Prints all of the commands and options to stdout. |
help |
help |
Display help about this program or one of its subcommands. |
neutron CLI
¶Neutron CLI |
OSC Equivalent |
Description |
---|---|---|
address-scope-create |
address scope create |
Create an address scope for a given tenant. |
address-scope-delete |
address scope delete |
Delete an address scope. |
address-scope-list |
address scope list |
List address scopes that belong to a given tenant. |
address-scope-show |
address scope show |
Show information about an address scope. |
address-scope-update |
address scope set |
Update an address scope. |
agent-delete |
network agent delete |
Delete a given agent. |
agent-list |
network agent list |
List agents. |
agent-show |
network agent show |
Show information of a given agent. |
agent-update |
network agent set |
Updates the admin status and description for a specified agent. |
auto-allocated-topology-delete |
network auto allocated topology delete |
Delete the auto-allocated topology of a given tenant. |
auto-allocated-topology-show |
network auto allocated topology create |
Show the auto-allocated topology of a given tenant. |
availability-zone-list |
availability zone list |
List availability zones. |
bash-completion |
complete |
Prints all of the commands and options for bash-completion. |
bgp-dragent-list-hosting-speaker |
bgp speaker show dragents |
List Dynamic Routing agents hosting a BGP speaker. |
bgp-dragent-speaker-add |
bgp dragent add speaker |
Add a BGP speaker to a Dynamic Routing agent. |
bgp-dragent-speaker-remove |
bgp dragent remove speaker |
Removes a BGP speaker from a Dynamic Routing agent. |
bgp-peer-create |
bgp peer create |
Create a BGP Peer. |
bgp-peer-delete |
bgp peer delete |
Delete a BGP peer. |
bgp-peer-list |
bgp peer list |
List BGP peers. |
bgp-peer-show |
bgp peer show |
Show information of a given BGP peer. |
bgp-peer-update |
bgp peer set |
Update BGP Peer’s information. |
bgp-speaker-advertiseroute-list |
bgp speaker list advertised routes |
List routes advertised by a given BGP speaker. |
bgp-speaker-create |
bgp speaker create |
Create a BGP Speaker. |
bgp-speaker-delete |
bgp speaker delete |
Delete a BGP speaker. |
bgp-speaker-list |
bgp speaker list |
List BGP speakers. |
bgp-speaker-list-on-dragent |
bgp speaker list –agent |
List BGP speakers hosted by a Dynamic Routing agent. |
bgp-speaker-network-add |
bgp speaker add network |
Add a network to the BGP speaker. |
bgp-speaker-network-remove |
bgp speaker remove network |
Remove a network from the BGP speaker. |
bgp-speaker-peer-add |
bgp speaker add peer |
Add a peer to the BGP speaker. |
bgp-speaker-peer-remove |
bgp speaker remove peer |
Remove a peer from the BGP speaker. |
bgp-speaker-show |
bgp speaker show |
Show information of a given BGP speaker. |
bgp-speaker-update |
bgp speaker set |
Update BGP Speaker’s information. |
dhcp-agent-list-hosting-net |
network agent list –network |
List DHCP agents hosting a network. |
dhcp-agent-network-add |
network agent add network |
Add a network to a DHCP agent. |
dhcp-agent-network-remove |
network agent remove network |
Remove a network from a DHCP agent. |
ext-list |
extension list |
List all extensions. |
ext-show |
extension show |
Show information of a given resource. |
firewall-create |
Create a firewall. |
|
firewall-delete |
Delete a given firewall. |
|
firewall-list |
List firewalls that belong to a given tenant. |
|
firewall-policy-create |
Create a firewall policy. |
|
firewall-policy-delete |
Delete a given firewall policy. |
|
firewall-policy-insert-rule |
Insert a rule into a given firewall policy. |
|
firewall-policy-list |
List firewall policies that belong to a given tenant. |
|
firewall-policy-remove-rule |
Remove a rule from a given firewall policy. |
|
firewall-policy-show |
Show information of a given firewall policy. |
|
firewall-policy-update |
Update a given firewall policy. |
|
firewall-rule-create |
Create a firewall rule. |
|
firewall-rule-delete |
Delete a given firewall rule. |
|
firewall-rule-list |
List firewall rules that belong to a given tenant. |
|
firewall-rule-show |
Show information of a given firewall rule. |
|
firewall-rule-update |
Update a given firewall rule. |
|
firewall-show |
Show information of a given firewall. |
|
firewall-update |
Update a given firewall. |
|
flavor-associate |
network flavor add profile |
Add a Neutron service flavor with a flavor profile. |
flavor-create |
network flavor create |
Create a Neutron service flavor. |
flavor-delete |
network flavor delete |
Delete a given Neutron service flavor. |
flavor-disassociate |
network flavor remove profile |
Remove a Neutron service flavor from a flavor profile. |
flavor-list |
network flavor list |
List Neutron service flavors. |
flavor-profile-create |
network flavor profile create |
Create a Neutron service flavor profile. |
flavor-profile-delete |
network flavor profile delete |
Delete a given Neutron service flavor profile. |
flavor-profile-list |
network flavor profile list |
List Neutron service flavor profiles. |
flavor-profile-show |
network flavor profile show |
Show information about a given Neutron service flavor profile. |
flavor-profile-update |
network flavor profile set |
Update a given Neutron service flavor profile. |
flavor-show |
network flavor show |
Show information about a given Neutron service flavor. |
flavor-update |
network flavor set |
Update a Neutron service flavor. |
floatingip-associate |
floating ip set port –fixed-ip |
Create a mapping between a floating IP and a fixed IP. |
floatingip-create |
floating ip create |
Create a floating IP for a given tenant. |
floatingip-delete |
floating ip delete |
Delete a given floating IP. |
floatingip-disassociate |
floating ip unset –port |
Remove a mapping from a floating IP to a fixed IP. |
floatingip-list |
floating ip list |
List floating IPs that belong to a given tenant. |
floatingip-show |
floating ip show |
Show information of a given floating IP. |
help |
help |
print detailed help for another command |
ipsec-site-connection-create |
Create an IPsec site connection. |
|
ipsec-site-connection-delete |
Delete a given IPsec site connection. |
|
ipsec-site-connection-list |
List IPsec site connections that belong to a given tenant. |
|
ipsec-site-connection-show |
Show information of a given IPsec site connection. |
|
ipsec-site-connection-update |
Update a given IPsec site connection. |
|
l3-agent-list-hosting-router |
network agent list –routers |
List L3 agents hosting a router. |
l3-agent-router-add |
network agent add router –agent-type l3 |
Add a router to a L3 agent. |
l3-agent-router-remove |
network agent remove router –agent-type l3 |
Remove a router from a L3 agent. |
lb-agent-hosting-pool |
Get loadbalancer agent hosting a pool. |
|
lb-healthmonitor-associate |
Create a mapping between a health monitor and a pool. |
|
lb-healthmonitor-create |
Create a health monitor. |
|
lb-healthmonitor-delete |
Delete a given health monitor. |
|
lb-healthmonitor-disassociate |
Remove a mapping from a health monitor to a pool. |
|
lb-healthmonitor-list |
List health monitors that belong to a given tenant. |
|
lb-healthmonitor-show |
Show information of a given health monitor. |
|
lb-healthmonitor-update |
Update a given health monitor. |
|
lb-member-create |
Create a member. |
|
lb-member-delete |
Delete a given member. |
|
lb-member-list |
List members that belong to a given tenant. |
|
lb-member-show |
Show information of a given member. |
|
lb-member-update |
Update a given member. |
|
lb-pool-create |
Create a pool. |
|
lb-pool-delete |
Delete a given pool. |
|
lb-pool-list |
List pools that belong to a given tenant. |
|
lb-pool-list-on-agent |
List the pools on a loadbalancer agent. |
|
lb-pool-show |
Show information of a given pool. |
|
lb-pool-stats |
Retrieve stats for a given pool. |
|
lb-pool-update |
Update a given pool. |
|
lb-vip-create |
Create a vip. |
|
lb-vip-delete |
Delete a given vip. |
|
lb-vip-list |
List vips that belong to a given tenant. |
|
lb-vip-show |
Show information of a given vip. |
|
lb-vip-update |
Update a given vip. |
|
lbaas-agent-hosting-loadbalancer |
Get lbaas v2 agent hosting a loadbalancer. |
|
lbaas-healthmonitor-create |
LBaaS v2 Create a healthmonitor. |
|
lbaas-healthmonitor-delete |
LBaaS v2 Delete a given healthmonitor. |
|
lbaas-healthmonitor-list |
LBaaS v2 List healthmonitors that belong to a given tenant. |
|
lbaas-healthmonitor-show |
LBaaS v2 Show information of a given healthmonitor. |
|
lbaas-healthmonitor-update |
LBaaS v2 Update a given healthmonitor. |
|
lbaas-l7policy-create |
LBaaS v2 Create L7 policy. |
|
lbaas-l7policy-delete |
LBaaS v2 Delete a given L7 policy. |
|
lbaas-l7policy-list |
LBaaS v2 List L7 policies that belong to a given listener. |
|
lbaas-l7policy-show |
LBaaS v2 Show information of a given L7 policy. |
|
lbaas-l7policy-update |
LBaaS v2 Update a given L7 policy. |
|
lbaas-l7rule-create |
LBaaS v2 Create L7 rule. |
|
lbaas-l7rule-delete |
LBaaS v2 Delete a given L7 rule. |
|
lbaas-l7rule-list |
LBaaS v2 List L7 rules that belong to a given L7 policy. |
|
lbaas-l7rule-show |
LBaaS v2 Show information of a given rule. |
|
lbaas-l7rule-update |
LBaaS v2 Update a given L7 rule. |
|
lbaas-listener-create |
LBaaS v2 Create a listener. |
|
lbaas-listener-delete |
LBaaS v2 Delete a given listener. |
|
lbaas-listener-list |
LBaaS v2 List listeners that belong to a given tenant. |
|
lbaas-listener-show |
LBaaS v2 Show information of a given listener. |
|
lbaas-listener-update |
LBaaS v2 Update a given listener. |
|
lbaas-loadbalancer-create |
LBaaS v2 Create a loadbalancer. |
|
lbaas-loadbalancer-delete |
LBaaS v2 Delete a given loadbalancer. |
|
lbaas-loadbalancer-list |
LBaaS v2 List loadbalancers that belong to a given tenant. |
|
lbaas-loadbalancer-list-on-agent |
List the loadbalancers on a loadbalancer v2 agent. |
|
lbaas-loadbalancer-show |
LBaaS v2 Show information of a given loadbalancer. |
|
lbaas-loadbalancer-stats |
Retrieve stats for a given loadbalancer. |
|
lbaas-loadbalancer-status |
Retrieve status for a given loadbalancer. |
|
lbaas-loadbalancer-update |
LBaaS v2 Update a given loadbalancer. |
|
lbaas-member-create |
LBaaS v2 Create a member. |
|
lbaas-member-delete |
LBaaS v2 Delete a given member. |
|
lbaas-member-list |
LBaaS v2 List members that belong to a given pool. |
|
lbaas-member-show |
LBaaS v2 Show information of a given member. |
|
lbaas-member-update |
LBaaS v2 Update a given member. |
|
lbaas-pool-create |
LBaaS v2 Create a pool. |
|
lbaas-pool-delete |
LBaaS v2 Delete a given pool. |
|
lbaas-pool-list |
LBaaS v2 List pools that belong to a given tenant. |
|
lbaas-pool-show |
LBaaS v2 Show information of a given pool. |
|
lbaas-pool-update |
LBaaS v2 Update a given pool. |
|
meter-label-create |
network meter create |
Create a metering label for a given tenant. |
meter-label-delete |
network meter delete |
Delete a given metering label. |
meter-label-list |
network meter list |
List metering labels that belong to a given tenant. |
meter-label-rule-create |
network meter rule create |
Create a metering label rule for a given label. |
meter-label-rule-delete |
network meter rule delete |
Delete a given metering label. |
meter-label-rule-list |
network meter rule list |
List metering labels that belong to a given label. |
meter-label-rule-show |
network meter rule show |
Show information of a given metering label rule. |
meter-label-show |
network meter show |
Show information of a given metering label. |
net-create |
network create |
Create a network for a given tenant. |
net-delete |
network delete |
Delete a given network. |
net-external-list |
network list –external |
List external networks that belong to a given tenant. |
net-ip-availability-list |
ip availability list |
List IP usage of networks |
net-ip-availability-show |
ip availability show |
Show IP usage of specific network |
net-list |
network list |
List networks that belong to a given tenant. |
net-list-on-dhcp-agent |
network list –agent |
List the networks on a DHCP agent. |
net-show |
network show |
Show information of a given network. |
net-update |
network set / network unset |
Update network’s information. |
port-create |
port create |
Create a port for a given tenant. |
port-delete |
port delete |
Delete a given port. |
port-list |
port list |
List ports that belong to a given tenant. |
port-show |
port show |
Show information of a given port. |
port-update |
port set / port unset |
Update port’s information. |
purge |
Delete all resources that belong to a given tenant. |
|
qos-available-rule-types |
network qos rule type list |
List available qos rule types. |
qos-bandwidth-limit-rule-create |
network qos rule create –type bandwidth-limit |
Create a qos bandwidth limit rule. |
qos-bandwidth-limit-rule-delete |
network qos rule delete –type bandwidth-limit |
Delete a given qos bandwidth limit rule. |
qos-bandwidth-limit-rule-list |
network qos rule list –type bandwidth-limit |
List all qos bandwidth limit rules belonging to the specified policy. |
qos-bandwidth-limit-rule-show |
network qos rule show –type bandwidth-limit |
Show information about the given qos bandwidth limit rule. |
qos-bandwidth-limit-rule-update |
network qos rule update –type bandwidth-limit |
Update the given qos bandwidth limit rule. |
qos-dscp-marking-rule-create |
network qos rule create –type dscp-marking |
Create a QoS DSCP marking rule. |
qos-dscp-marking-rule-delete |
network qos rule delete –type dscp-marking |
Delete a given qos dscp marking rule. |
qos-dscp-marking-rule-list |
network qos rule list –type dscp-marking |
List all QoS DSCP marking rules belonging to the specified policy. |
qos-dscp-marking-rule-show |
network qos rule show –type dscp-marking |
Show information about the given qos dscp marking rule. |
qos-dscp-marking-rule-update |
network qos rule update –type dscp-marking |
Update the given QoS DSCP marking rule. |
qos-minimum-bandwidth-rule-create |
network qos rule create –type minimum-bandwidth |
Create a qos minimum bandwidth rule. |
qos-minimum-bandwidth-rule-delete |
network qos rule delete –type minimum-bandwidth |
Delete a given qos minimum bandwidth rule. |
qos-minimum-bandwidth-rule-list |
network qos rule list –type minimum-bandwidth |
List all qos minimum bandwidth rules belonging to the specified policy. |
qos-minimum-bandwidth-rule-show |
network qos rule show –type minimum-bandwidth |
Show information about the given qos minimum bandwidth rule. |
qos-minimum-bandwidth-rule-update |
network qos rule update –type minimum-bandwidth |
Update the given qos minimum bandwidth rule. |
qos-policy-create |
network qos policy create |
Create a qos policy. |
qos-policy-delete |
network qos policy delete |
Delete a given qos policy. |
qos-policy-list |
network qos policy list |
List QoS policies that belong to a given tenant connection. |
qos-policy-show |
network qos policy show |
Show information of a given qos policy. |
qos-policy-update |
network qos policy set |
Update a given qos policy. |
quota-default-show |
quota show –default |
Show default quotas for a given tenant. |
quota-delete |
Delete defined quotas of a given tenant. |
|
quota-list |
quota list |
List quotas of all tenants who have non-default quota values. |
quota-show |
quota show |
Show quotas for a given tenant. |
quota-update |
quota set |
Define tenant’s quotas not to use defaults. |
rbac-create |
network rbac create |
Create a RBAC policy for a given tenant. |
rbac-delete |
network rbac delete |
Delete a RBAC policy. |
rbac-list |
network rbac list |
List RBAC policies that belong to a given tenant. |
rbac-show |
network rbac show |
Show information of a given RBAC policy. |
rbac-update |
network rbac set |
Update RBAC policy for given tenant. |
router-create |
router create |
Create a router for a given tenant. |
router-delete |
router delete |
Delete a given router. |
router-gateway-clear |
router unset |
Remove an external network gateway from a router. |
router-gateway-set |
router set / router unset |
Set the external network gateway for a router. |
router-interface-add |
router add subnet / router add port |
Add an internal network interface to a router. |
router-interface-delete |
router remove subnet / router remove port |
Remove an internal network interface from a router. |
router-list |
router list |
List routers that belong to a given tenant. |
router-list-on-l3-agent |
router list –agents |
List the routers on a L3 agent. |
router-port-list |
port list –router |
List ports that belong to a given tenant, with specified router. |
router-show |
router show |
Show information of a given router. |
router-update |
router set |
Update router’s information. |
security-group-create |
security group create |
Create a security group. |
security-group-delete |
security group delete |
Delete a given security group. |
security-group-list |
security group list |
List security groups that belong to a given tenant. |
security-group-rule-create |
security group rule create |
Create a security group rule. |
security-group-rule-delete |
security group rule delete |
Delete a given security group rule. |
security-group-rule-list |
security group rule list |
List security group rules that belong to a given tenant. |
security-group-rule-show |
security group rule show |
Show information of a given security group rule. |
security-group-show |
security group show |
Show information of a given security group. |
security-group-update |
security group set / security group unset |
Update a given security group. |
service-provider-list |
network service provider list |
List service providers. |
subnet-create |
subnet create |
Create a subnet for a given tenant. |
subnet-delete |
subnet delete |
Delete a given subnet. |
subnet-list |
subnet list |
List subnets that belong to a given tenant. |
subnet-show |
subnet show |
Show information of a given subnet. |
subnet-update |
subnet set / subnet unset |
Update subnet’s information. |
subnetpool-create |
subnet pool create |
Create a subnetpool for a given tenant. |
subnetpool-delete |
subnet pool delete |
Delete a given subnetpool. |
subnetpool-list |
subnet pool list |
List subnetpools that belong to a given tenant. |
subnetpool-show |
subnet pool show |
Show information of a given subnetpool. |
subnetpool-update |
subnet pool set / subnet pool unset |
Update subnetpool’s information. |
tag-add |
network set –tag |
Add a tag into the resource. |
tag-remove |
network unset –tag |
Remove a tag on the resource. |
tag-replace |
Replace all tags on the resource. |
|
vpn-endpoint-group-create |
Create a VPN endpoint group. |
|
vpn-endpoint-group-delete |
Delete a given VPN endpoint group. |
|
vpn-endpoint-group-list |
List VPN endpoint groups that belong to a given tenant. |
|
vpn-endpoint-group-show |
Show a specific VPN endpoint group. |
|
vpn-endpoint-group-update |
Update a given VPN endpoint group. |
|
vpn-ikepolicy-create |
Create an IKE policy. |
|
vpn-ikepolicy-delete |
Delete a given IKE policy. |
|
vpn-ikepolicy-list |
List IKE policies that belong to a tenant. |
|
vpn-ikepolicy-show |
Show information of a given IKE policy. |
|
vpn-ikepolicy-update |
Update a given IKE policy. |
|
vpn-ipsecpolicy-create |
Create an IPsec policy. |
|
vpn-ipsecpolicy-delete |
Delete a given IPsec policy. |
|
vpn-ipsecpolicy-list |
List IPsec policies that belong to a given tenant connection. |
|
vpn-ipsecpolicy-show |
Show information of a given IPsec policy. |
|
vpn-ipsecpolicy-update |
Update a given IPsec policy. |
|
vpn-service-create |
Create a VPN service. |
|
vpn-service-delete |
Delete a given VPN service. |
|
vpn-service-list |
List VPN service configurations that belong to a given tenant. |
|
vpn-service-show |
Show information of a given VPN service. |
|
vpn-service-update |
Update a given VPN service. |
|
tap-flow-create |
tapflow create |
Create a tap flow |
tap-flow-delete |
tapflow delete |
Delete a tap flow |
tap-flow-list |
tapflow list |
List all tap flows |
tap-flow-show |
tapflow show |
Show details of the tap flow |
tap-service-create |
tapservice create |
Create a tap service |
tap-service-delete |
tapservice delete |
Delete a tap service |
tap-service-list |
tapservice list |
List all tap services |
tap-service-show |
tapservice show |
Show details of the tap service |
nova CLI
¶Nova CLI |
OSC Equivalent |
Description |
---|---|---|
add-secgroup |
server add security group |
Add a Security Group to a server. |
agent-create |
compute agent create |
Create new agent build. |
agent-delete |
compute agent delete |
Delete existing agent build. |
agent-list |
compute agent list |
List all builds. |
agent-modify |
compute agent set |
Modify existing agent build. |
aggregate-add-host |
aggregate add host |
Add the host to the specified aggregate. |
aggregate-cache-images |
Request images be cached. (Supported by API versions ‘2.81’ - ‘2.latest’) [hint: use ‘– os-compute-api-version’ flag to show help message for proper version] |
|
aggregate-create |
aggregate create |
Create a new aggregate with the specified details. |
aggregate-delete |
aggregate delete |
Delete the aggregate. |
aggregate-list |
aggregate list |
Print a list of all aggregates. |
aggregate-remove-host |
aggregate remove host |
Remove the specified host from the specified aggregate. |
aggregate-set-metadata |
aggregate set / unset |
Update the metadata associated with the aggregate. |
aggregate-show |
aggregate show |
Show details of the specified aggregate. |
aggregate-update |
aggregate set / unset |
Update the aggregate’s name and optionally availability zone. |
availability-zone-list |
availability zone list |
List all the availability zones. |
backup |
server backup create |
Backup a server by creating a ‘backup’ type snapshot. |
boot |
server create |
Boot a new server. |
clear-password |
server set –root-password |
Clear the admin password for a server from the metadata server. This action does not actually change the instance server password. |
console-log |
console log show |
Get console log output of a server. |
delete |
server delete |
Immediately shut down and delete specified server(s). |
diagnostics |
openstack server show –diagnostics |
Retrieve server diagnostics. |
evacuate |
server evacuate |
Evacuate server from failed host. |
flavor-access-add |
flavor set –project |
Add flavor access for the given tenant. |
flavor-access-list |
flavor show |
Print access information about the given flavor. |
flavor-access-remove |
flavor unset |
Remove flavor access for the given tenant. |
flavor-create |
flavor create |
Create a new flavor. |
flavor-delete |
flavor delete |
Delete a specific flavor |
flavor-key |
flavor set / unset –property |
Set or unset extra_spec for a flavor. |
flavor-list |
flavor list |
Print a list of available ‘flavors’ |
flavor-show |
flavor show |
Show details about the given flavor. |
flavor-update |
flavor set –description |
Update the description of an existing flavor. (Supported by API versions ‘2.55’ - ‘2.latest’) [hint: use ‘–os-compute-api-version’ flag to show help message for proper version] |
force-delete |
server delete |
Force delete a server. |
get-mks-console |
console url show –mks |
Get an MKS console to a server. (Supported by API versions ‘2.8’ - ‘2.latest’) [hint: use ‘ –os-compute-api-version’ flag to show help message for proper version] |
get-password |
WONTFIX |
Get the admin password for a server. This operation calls the metadata service to query metadata information and does not read password information from the server itself. |
get-rdp-console |
console url show –rdp |
Get a rdp console to a server. |
get-serial-console |
console url show –serial |
Get a serial console to a server. |
get-spice-console |
console url show –spice |
Get a spice console to a server. |
get-vnc-console |
console url show –novnc |
Get a vnc console to a server. |
host-evacuate |
Evacuate all instances from failed host. |
|
host-evacuate-live |
Live migrate all instances off the specified host to other available hosts. |
|
host-meta |
Set or Delete metadata on all instances of a host. |
|
host-servers-migrate |
Cold migrate all instances off the specified host to other available hosts. |
|
hypervisor-list |
hypervisor list |
List hypervisors. (Supported by API versions ‘2.0’ - ‘2.latest’) |
hypervisor-servers |
List servers belonging to specific hypervisors. |
|
hypervisor-show |
hypervisor show |
Display the details of the specified hypervisor. |
hypervisor-stats |
hypervisor stats show |
Get hypervisor statistics over all compute nodes. |
hypervisor-uptime |
Display the uptime of the specified hypervisor. |
|
image-create |
server image create |
Create a new image by taking a snapshot of a running server. |
instance-action |
server event show |
Show an action. |
instance-action-list |
server event list |
List actions on a server. |
instance-usage-audit-log |
List/Get server usage audits. |
|
interface-attach |
server add port / server add floating ip / server add fixed ip |
Attach a network interface to a server. |
interface-detach |
server remove port |
Detach a network interface from a server. |
interface-list |
port list –server |
List interfaces attached to a server. |
keypair-add |
keypair create |
Create a new key pair for use with servers. |
keypair-delete |
keypair delete |
Delete keypair given by its name. |
keypair-list |
keypair list |
Print a list of keypairs for a user |
keypair-show |
keypair show |
Show details about the given keypair. |
limits |
limits show |
Print rate and absolute limits. |
list |
server list |
List active servers. |
list-secgroup |
security group list |
List Security Group(s) of a server. |
live-migration |
server migration list |
Migrate running server to a new machine. |
live-migration-abort |
server migration abort |
Abort an on-going live migration. |
live-migration-force-comp |
server migration force complete |
Force on-going live migration to complete. |
lock |
server lock |
Lock a server. |
meta |
server set –property / unset |
Set or delete metadata on a server. |
migrate |
server migrate |
Migrate a server. The new host will be selected by the scheduler. |
migration-list |
Print a list of migrations. |
|
pause |
server pause |
Pause a server. |
quota-class-show |
quota show –class |
List the quotas for a quota class. |
quota-class-update |
quota set –class |
Update the quotas for a quota class. |
quota-defaults |
quota list |
List the default quotas for a tenant. |
quota-delete |
quota set |
Delete quota for a tenant/user so their quota will Revert back to default. |
quota-show |
quota show |
List the quotas for a tenant/user. |
quota-update |
quota set |
Update the quotas for a tenant/user. |
reboot |
server reboot |
Reboot a server. |
rebuild |
server rebuild |
Shutdown, re-image, and re-boot a server. |
refresh-network |
WONTFIX |
Refresh server network information. |
remove-secgroup |
server remove security group |
Remove a Security Group from a server. |
rescue |
server rescue |
Reboots a server into rescue mode. |
reset-network |
WONTFIX |
Reset network of a server. |
reset-state |
server set –state |
Reset the state of a server. |
resize |
server resize |
Resize a server. |
resize-confirm |
server resize –confirm |
Confirm a previous resize. |
resize-revert |
server resize –revert |
Revert a previous resize. |
restore |
server restore |
Restore a soft-deleted server. |
resume |
server resume |
Resume a server. |
server-group-create |
server group create |
Create a new server group with the specified details. |
server-group-delete |
server group delete |
Delete specific server group(s). |
server-group-get |
server group show |
Get a specific server group. |
server-group-list |
server group list |
Print a list of all server groups. |
server-migration-list |
server migration list |
Get the migrations list of specified server. |
server-migration-show |
server migration show |
Get the migration of specified server. |
server-tag-add |
server set –tag |
Add one or more tags to a server. |
server-tag-delete |
server unset –tag |
Delete one or more tags from a server. |
server-tag-delete-all |
server unset –tag |
Delete all tags from a server. |
server-tag-list |
server list –tag |
Get list of tags from a server. |
server-tag-set |
server set –tag |
Set list of tags to a server. |
server-topology |
openstack server show –topology |
Retrieve server topology. (Supported by API versions ‘2.78’ - ‘2.latest’) [hint: use ‘– os-compute-api-version’ flag to show help message for proper version] |
service-delete |
compute service delete |
Delete the service. |
service-disable |
compute service set –disable |
Disable the service. |
service-enable |
compute service set –enable |
Enable the service. |
service-force-down |
compute service set –force |
Force service to down. |
service-list |
compute service list |
Show a list of all running services. |
set-password |
server set –root-password |
Change the admin password for a server. |
shelve |
server shelve |
Shelve a server. |
shelve-offload |
shelve –offload |
Remove a shelved server from the compute node. |
show |
server show |
Show details about the given server. |
ssh |
server ssh |
SSH into a server. |
start |
server start |
Start the server(s). |
stop |
server stop |
Stop the server(s). |
suspend |
server suspend |
Suspend a server. |
trigger-crash-dump |
server dump create |
Trigger crash dump in an instance. |
unlock |
server unlock |
Unlock a server. |
unpause |
server unpause |
Unpause a server. |
unrescue |
server unrescue |
Restart the server from normal boot disk again. |
unshelve |
server unshelve |
Unshelve a server. |
update |
server set / unset |
Update the name or the description for a server. |
usage |
usage show |
Show usage data for a single tenant. |
usage-list |
usage list |
List usage data for all tenants. |
version-list |
List all API versions. |
|
volume-attach |
server add volume |
Attach a volume to a server. |
volume-attachments |
server show |
List all the volumes attached to a server. |
volume-detach |
server remove volume |
Detach a volume from a server. |
volume-update |
Update volume attachment. |
|
bash-completion |
complete |
Prints all of the commands and options to stdout so that the nova.bash_completion script doesn’t have to hard code them. |
help |
help |
Display help about this program or one of its subcommands. |
swift CLI
¶Swift CLI |
OSC Equivalent |
Description |
---|---|---|
delete |
object delete / container delete |
Delete a container or objects within a container. |
download |
object save / container save |
Download objects from containers. |
list |
object list / container list |
Lists the containers for the account or the objects for a container. |
post |
container create / object set / container set / object store account set |
Updates meta information for the account, container, or object. |
copy |
Copies object, optionally adds meta. |
|
stat |
object show / container show / object store account show |
Displays information for the account, container, or object. |
upload |
object create |
Uploads files or directories to the given container. |
capabilities |
List cluster capabilities. |
|
tempurl |
Create a temporary URL. |
|
auth |
WONTFIX |
Display auth related environment variables. |
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.