openstack命令整理

初学,发现很多不熟悉的命令。整理这个是希望自己更熟悉。


nova命令

  • Command-line interface to the OpenStack Nova API.
  • Positional arguments:
    • add-fixed-ip Add new IP address on a network to server.
    • add-secgroup Add a Security Group to a server.
    • agent-create Create new agent build.
    • agent-delete Delete existing agent build.
    • agent-list List all builds.
    • agent-modify Modify existing agent build.
    • [aggregate 资源群集]
    • aggregate-add-host Add the host to the specified aggregate.
    • aggregate-create Create a new aggregate with the specified details.
    • aggregate-delete Delete the aggregate.
    • aggregate-list Print a list of all aggregates.
    • aggregate-remove-host Remove the specified host from the specified aggregate.
    • aggregate-set-metadata Update the metadata associated with the aggregate.
    • aggregate-show Show details of the specified aggregate.
    • aggregate-update Update the aggregate’s name and optionally availability zone.
    • availability-zone-list List all the availability zones.
    • backup Backup a server by creating a ‘backup’ type snapshot.
    • boot Boot a new server.
    • cell-capacities Get cell capacities for all cells or a given cell.
    • cell-show Show details of a given cell.
    • clear-password Clear the admin password for a server from the metadata server. This action does not actually change the instance server password.
    • cloudpipe-configure Update the VPN IP/port of a cloudpipe instance.
    • cloudpipe-create Create a cloudpipe instance for the given project.
    • cloudpipe-list Print a list of all cloudpipe instances.
    • console-log Get console log output of a server.
    • delete Immediately shut down and delete specified server(s).
    • diagnostics Retrieve server diagnostics.
    • dns-create DEPRECATED: Create a DNS entry for domain, name, and IP.
    • dns-create-private-domain DEPRECATED: Create the specified DNS domain.
    • dns-create-public-domain DEPRECATED: Create the specified DNS domain.
    • dns-delete DEPRECATED: Delete the specified DNS entry.
    • dns-delete-domain DEPRECATED: Delete the specified DNS domain.
    • dns-domains DEPRECATED: Print a list of available dns domains.
    • dns-list DEPRECATED: List current DNS entries for domain and IP or domain and name.
    • evacuate Evacuate server from failed host.
    • fixed-ip-get DEPRECATED: Retrieve info on a fixed IP.
    • fixed-ip-reserve DEPRECATED: Reserve a fixed IP.
    • fixed-ip-unreserve DEPRECATED: Unreserve a fixed IP.
    • [flavor 云主机类型]
    • flavor-access-add Add flavor access for the given tenant.
    • flavor-access-list Print access information about the given flavor.
    • flavor-access-remove Remove flavor access for the given tenant.
    • flavor-create Create a new flavor.
    • flavor-delete Delete a specific flavor
    • flavor-key Set or unset extra_spec for a flavor.
    • flavor-list Print a list of available ‘flavors’ (sizes of servers).
    • flavor-show Show details about the given flavor.
    • floating-ip-associate Associate a floating IP address to a server.
    • floating-ip-bulk-create DEPRECATED: Bulk create floating IPs by range (nova-network only).
    • floating-ip-bulk-delete DEPRECATED: Bulk delete floating IPs by range (nova-network only).
    • floating-ip-bulk-list DEPRECATED: List all floating IPs (nova-network only).
    • floating-ip-create DEPRECATED: Allocate a floating IP for the current tenant.
    • floating-ip-delete DEPRECATED: De-allocate a floating IP.
    • floating-ip-disassociate Disassociate a floating IP address from a server.
    • floating-ip-list DEPRECATED: List floating IPs.
    • floating-ip-pool-list DEPRECATED: List all floating IP pools.
    • force-delete Force delete a server.
    • get-mks-console 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 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 Get a rdp console to a server.
    • get-serial-console Get a serial console to a server.
    • get-spice-console Get a spice console to a server.
    • get-vnc-console Get a vnc console to a server.
    • host-action Perform a power action on a host.
    • host-describe Describe a specific host.
    • host-evacuate Evacuate all instances from failed host.
    • host-evacuate-live Live migrate all instances of the specified host to other available hosts.
    • host-list List all hosts by service.
    • 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.
    • host-update Update host settings.
    • hypervisor-list List hypervisors. (Supported by API versions ‘2.0’ - ‘2.latest’) [hint: use ‘–os-compute- api-version’ flag to show help message for proper version]
    • hypervisor-servers List servers belonging to specific hypervisors.
    • hypervisor-show Display the details of the specified hypervisor.
    • hypervisor-stats Get hypervisor statistics over all compute nodes.
    • hypervisor-uptime Display the uptime of the specified hypervisor.
    • image-create Create a new image by taking a snapshot of a running server.
    • image-delete DEPRECATED: Delete specified image(s).
    • image-list DEPRECATED: Print a list of available images to boot from.
    • image-meta DEPRECATED: Set or delete metadata on an image.
    • image-show DEPRECATED: Show details about the given image.
    • instance-action Show an action.
    • instance-action-list List actions on a server.
    • interface-attach Attach a network interface to a server.
    • interface-detach Detach a network interface from a server.
    • interface-list List interfaces attached to a server.
    • keypair-add Create a new key pair for use with servers.
    • keypair-delete Delete keypair given by its name. (Supported by API versions ‘2.0’ - ‘2.latest’) [hint: use ‘–os-compute-api-version’ flag to show help message for proper version]
    • keypair-list Print a list of keypairs for a user (Supported by API versions ‘2.0’ - ‘2.latest’) [hint: use ‘–os-compute-api-version’ flag to show help message for proper version]
    • keypair-show Show details about the given keypair. (Supported by API versions ‘2.0’ - ‘2.latest’) [hint: use ‘–os-compute-api-version’ flag to show help message for proper version]
    • limits Print rate and absolute limits.
    • list List active servers.
    • list-extensions List all the os-api extensions that are available.
    • list-secgroup List Security Group(s) of a server.
    • live-migration Migrate running server to a new machine.
    • live-migration-abort Abort an on-going live migration. (Supported by API versions ‘2.24’ - ‘2.latest’) [hint: use ‘–os-compute-api-version’ flag to show help message for proper version]
    • live-migration-force-complete Force on-going live migration to complete. (Supported by API versions ‘2.22’ - ‘2.latest’) [hint: use ‘–os-compute-api-version’ flag to show help message for proper version]
    • lock Lock a server. A normal (non-admin) user will not be able to execute actions on a locked server.
    • meta Set or delete metadata on a server.
    • migrate Migrate a server. The new host will be selected by the scheduler.
    • migration-list Print a list of migrations.
    • network-associate-host DEPRECATED: Associate host with network.
    • network-associate-project DEPRECATED: Associate project with network.
    • network-create DEPRECATED: Create a network.
    • network-delete DEPRECATED: Delete network by label or id.
    • network-disassociate DEPRECATED: Disassociate host and/or project from the given network.
    • network-list DEPRECATED: Print a list of available networks.
    • network-show DEPRECATED: Show details about the given network.
    • pause Pause a server.
    • quota-class-show List the quotas for a quota class.
    • quota-class-update Update the quotas for a quota class. (Supported by API versions ‘2.0’ - ‘2.latest’) [hint: use ‘–os-compute-api-version’ flag to show help message for proper version]
    • quota-defaults List the default quotas for a tenant.
    • quota-delete Delete quota for a tenant/user so their quota will Revert back to default.
    • quota-show List the quotas for a tenant/user.
    • quota-update Update the quotas for a tenant/user. (Supported by API versions ‘2.0’ - ‘2.latest’) [hint: use ‘–os-compute-api-version’ flag to show help message for proper version]
    • reboot Reboot a server.
    • rebuild Shutdown, re-image, and re-boot a server.
    • refresh-network Refresh server network information.
    • remove-fixed-ip Remove an IP address from a server.
    • remove-secgroup Remove a Security Group from a server.
    • rescue Reboots a server into rescue mode, which starts the machine from either the initial image or a specified image, attaching the current boot disk as secondary.
    • reset-network Reset network of a server.
    • reset-state Reset the state of a server.
    • resize Resize a server.
    • resize-confirm Confirm a previous resize.
    • resize-revert Revert a previous resize (and return to the previous VM).
    • restore Restore a soft-deleted server.
    • resume Resume a server.
    • scrub DEPRECATED: Delete networks and security groups associated with a project.
    • secgroup-add-default-rule DEPRECATED: Add a rule to the set of rules that will be added to the ‘default’ security group for new tenants (nova-network only).
    • secgroup-add-group-rule DEPRECATED: Add a source group rule to a security group.
    • secgroup-add-rule DEPRECATED: Add a rule to a security group.
    • secgroup-create DEPRECATED: Create a security group.
    • secgroup-delete DEPRECATED: Delete a security group.
    • secgroup-delete-default-rule DEPRECATED: Delete a rule from the set of rules that will be added to the ‘default’ security group for new tenants (nova-network only).
    • secgroup-delete-group-rule DEPRECATED: Delete a source group rule from a security group.
    • secgroup-delete-rule DEPRECATED: Delete a rule from a security group.
    • secgroup-list DEPRECATED: List security groups for the current tenant.
    • secgroup-list-default-rules DEPRECATED: List rules that will be added to the ‘default’ security group for new tenants.
    • secgroup-list-rules DEPRECATED: List rules for a security group.
    • secgroup-update DEPRECATED: Update a security group.
    • server-group-create Create a new server group with the specified details.
    • server-group-delete Delete specific server group(s).
    • server-group-get Get a specific server group.
    • server-group-list Print a list of all server groups.
    • server-migration-list Get the migrations list of specified server. (Supported by API versions ‘2.23’ - ‘2.latest’) [hint: use ‘–os-compute-api-version’ flag to show help message for proper version]
    • server-migration-show Get the migration of specified server. (Supported by API versions ‘2.23’ - ‘2.latest’) [hint: use ‘–os-compute-api-version’ flag to show help message for proper version]
    • server-tag-add Add one or more tags to a server. (Supported by API versions ‘2.26’ - ‘2.latest’) [hint: use ‘–os-compute-api-version’ flag to show help message for proper version]
    • server-tag-delete Delete one or more tags from a server. (Supported by API versions ‘2.26’ - ‘2.latest’) [hint: use ‘–os-compute-api-version’ flag to show help message for proper version]
    • server-tag-delete-all Delete all tags from a server. (Supported by API versions ‘2.26’ - ‘2.latest’) [hint: use ‘–os-compute-api-version’ flag to show help message for proper version]
    • server-tag-list Get list of tags from a server. (Supported by API versions ‘2.26’ - ‘2.latest’) [hint: use ‘–os-compute-api-version’ flag to show help message for proper version]
    • server-tag-set Set list of tags to a server. (Supported by API versions ‘2.26’ - ‘2.latest’) [hint: use ‘–os-compute-api-version’ flag to show help message for proper version]
    • service-delete Delete the service.
    • service-disable Disable the service.
    • service-enable Enable the service.
    • service-force-down Force service to down. (Supported by API versions ‘2.11’ - ‘2.latest’) [hint: use ‘–os-compute-api-version’ flag to show help message for proper version]
    • [service-list 服务列表]
    • service-list Show a list of all running services. Filter by host & binary.
    • set-password Change the admin password for a server.
    • shelve Shelve a server.
    • shelve-offload Remove a shelved server from the compute node.
    • show Show details about the given server.
    • ssh SSH into a server.
    • start Start the server(s).
    • stop Stop the server(s).
    • suspend Suspend a server.
    • trigger-crash-dump Trigger crash dump in an instance. (Supported by API versions ‘2.17’ - ‘2.latest’) [hint: use ‘–os-compute-api-version’ flag to show help message for proper version]
    • unlock Unlock a server.
    • unpause Unpause a server.
    • unrescue Restart the server from normal boot disk again.
    • unshelve Unshelve a server.
    • update Update the name or the description for a server.
    • [usage 查看某一个租户的云主机数量,CPU数量,ram大小,disk大小]
    • usage Show usage data for a single tenant.
    • usage-list List usage data for all tenants.
    • version-list List all API versions.
    • virtual-interface-list Show virtual interface info about the given server.
    • volume-attach Attach a volume to a server.
    • volume-attachments List all the volumes attached to a server.
    • volume-detach Detach a volume from a server.
    • volume-update Update volume attachment.
    • x509-create-cert Create x509 cert for a user in tenant.
    • x509-get-root-cert Fetch the x509 root cert.
    • bash-completion Prints all of the commands and options to stdout so that the nova.bash_completion script doesn’t have to hard code them.
    • help Display help about this program or one of its subcommands.
    • baremetal-interface-list DEPRECATED: List network interfaces associated with a baremetal node.
    • baremetal-node-list DEPRECATED: Print list of available baremetal nodes.
    • baremetal-node-show DEPRECATED: Show information about a baremetal node.
    • net DEPRECATED, use tenant-network-show instead.
    • net-create DEPRECATED, use tenant-network-create instead.
    • net-delete DEPRECATED, use tenant-network-delete instead.
    • net-list DEPRECATED, use tenant-network-list instead.
    • tenant-network-create DEPRECATED: Create a tenant network.
    • tenant-network-delete DEPRECATED: Delete a tenant network.
    • tenant-network-list DEPRECATED: List tenant networks.
    • tenant-network-show DEPRECATED: Show a tenant network.

cinder命令

  • Command-line interface to the OpenStack Cinder API.
  • Positional arguments:
    • absolute-limits Lists absolute limits for a user.
    • availability-zone-list
    • Lists all availability zones.
    • backup-create Creates a volume backup.
    • backup-delete Removes one or more backups.
    • backup-export Export backup metadata record.
    • backup-import Import backup metadata record.
    • backup-list Lists all backups.
    • backup-reset-state Explicitly updates the backup state.
    • backup-restore Restores a backup.
    • backup-show Shows backup details.
    • cgsnapshot-create Creates a cgsnapshot.
    • cgsnapshot-delete Removes one or more cgsnapshots.
    • cgsnapshot-list Lists all cgsnapshots.
    • cgsnapshot-show Shows cgsnapshot details.
    • consisgroup-create Creates a consistency group.
    • consisgroup-create-from-src
    • Creates a consistency group from a cgsnapshot or a source CG.
    • consisgroup-delete Removes one or more consistency groups.
    • consisgroup-list Lists all consistency groups.
    • consisgroup-show Shows details of a consistency group.
    • consisgroup-update Updates a consistency group.
    • create Creates a volume.
    • credentials Shows user credentials returned from auth.
    • delete Removes one or more volumes.
    • encryption-type-create
    • Creates encryption type for a volume type. Admin only.
    • encryption-type-delete
    • Deletes encryption type for a volume type. Admin only.
    • encryption-type-list
    • Shows encryption type details for volume types. Admin only.
    • encryption-type-show
    • Shows encryption type details for a volume type. Admin only.
    • encryption-type-update
    • Update encryption type information for a volume type (Admin Only).
    • endpoints Discovers endpoints registered by authentication service.
    • extend Attempts to extend size of an existing volume.
    • extra-specs-list Lists current volume types and extra specs.
    • failover-host Failover a replicating cinder-volume host.
    • force-delete Attempts force-delete of volume, regardless of state.
    • freeze-host Freeze and disable the specified cinder-volume host.
    • get-capabilities Show backend volume stats and properties. Admin only.
    • get-pools Show pool information for backends. Admin only.
    • group-show Shows details of a group.
    • image-metadata Sets or deletes volume image metadata.
    • image-metadata-show
    • Shows volume image metadata.
    • list Lists all volumes.
    • manage Manage an existing volume.
    • manageable-list Lists all manageable volumes.
    • metadata Sets or deletes volume metadata.
    • metadata-show Shows volume metadata.
    • metadata-update-all
    • Updates volume metadata.
    • migrate Migrates volume to a new host.
    • [qos 硬盘QOS]
    • qos-associate Associates qos specs with specified volume type.
    • qos-create Creates a qos specs.
    • qos-delete Deletes a specified qos specs.
    • qos-disassociate Disassociates qos specs from specified volume type.
    • qos-disassociate-all
    • Disassociates qos specs from all its associations.
    • qos-get-association
    • Lists all associations for specified qos specs.
    • qos-key Sets or unsets specifications for a qos spec.
    • qos-list Lists qos specs.
    • qos-show Shows qos specs details.
    • quota-class-show Lists quotas for a quota class.
    • quota-class-update Updates quotas for a quota class.
    • quota-defaults Lists default quotas for a tenant.
    • quota-delete Delete the quotas for a tenant.
    • quota-show Lists quotas for a tenant.
    • quota-update Updates quotas for a tenant.
    • quota-usage Lists quota usage for a tenant.
    • rate-limits Lists rate limits for a user.
    • readonly-mode-update
    • Updates volume read-only access-mode flag.
    • rename Renames a volume.
    • replication-promote
    • Promote a secondary volume to primary for a relationship.
    • replication-reenable
    • Sync the secondary volume with primary for a relationship.
    • reset-state Explicitly updates the volume state in the Cinder database.
    • retype Changes the volume type for a volume.
    • service-disable Disables the service.
    • service-enable Enables the service.
    • service-list Lists all services. Filter by host and service binary.
    • set-bootable Update bootable status of a volume.
    • show Shows volume details.
    • [snapshot 云硬盘快照]
    • snapshot-create Creates a snapshot.
    • snapshot-delete Removes one or more snapshots.
    • snapshot-list Lists all snapshots.
    • snapshot-manage Manage an existing snapshot.
    • snapshot-manageable-list
    • Lists all manageable snapshots.
    • snapshot-metadata Sets or deletes snapshot metadata.
    • snapshot-metadata-show
    • Shows snapshot metadata.
    • snapshot-metadata-update-all
    • Updates snapshot metadata.
    • snapshot-rename Renames a snapshot.
    • snapshot-reset-state
    • Explicitly updates the snapshot state.
    • snapshot-show Shows snapshot details.
    • snapshot-unmanage Stop managing a snapshot.
    • thaw-host Thaw and enable the specified cinder-volume host.
    • transfer-accept Accepts a volume transfer.
    • transfer-create Creates a volume transfer.
    • transfer-delete Undoes a transfer.
    • transfer-list Lists all transfers.
    • transfer-show Shows transfer details.
    • [type 云硬盘类型]
    • type-access-add Adds volume type access for the given project.
    • type-access-list Print access information about the given volume type.
    • type-access-remove Removes volume type access for the given project.
    • type-create Creates a volume type.
    • type-default List the default volume type.
    • type-delete Deletes volume type or types.
    • type-key Sets or unsets extra_spec for a volume type.
    • type-list Lists available ‘volume types’.
    • type-show Show volume type details.
    • type-update Updates volume type name, description, and/or is_public.
    • unmanage Stop managing a volume.
    • upload-to-image Uploads volume to Image Service as an image.
    • bash-completion Prints arguments for bash_completion.
    • help Shows help about this program or one of its subcommands.
    • list-extensions

glance命令

  • Command-line interface to the OpenStack Images API.
  • Positional arguments:
    • explain Describe a specific model.
    • [image 镜像/光盘]
    • image-create Create a new image.
    • image-deactivate Deactivate specified image.
    • image-delete Delete specified image.
    • image-download Download a specific image.
    • image-list List images you can access.
    • image-reactivate Reactivate specified image.
    • image-show Describe a specific image.
    • image-tag-delete Delete the tag associated with the given image.
    • image-tag-update Update an image with the given tag.
    • image-update Update an existing image.
    • image-upload Upload data for a specific image.
    • 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 Create member for a given image.
    • member-delete Delete image member.
    • member-list Describe sharing permissions by image.
    • member-update Update the status of a member for a given image.
    • task-create Create a new task.
    • task-list List tasks you can access.
    • task-show Describe a specific task.
    • bash-completion Prints arguments for bash_completion.
    • help Display help about this program or one of its subcommands.

neutron命令

  • Command-line interface to the Neutron APIs
  • Commands for API v2.0:
    • address-scope-create Create an address scope for a given tenant.
    • address-scope-delete Delete an address scope.
    • address-scope-list List address scopes that belong to a given tenant.
    • address-scope-show Show information about an address scope.
    • address-scope-update Update an address scope.
    • agent-delete Delete a given agent.
    • [agent-list 网络代理列表]
    • agent-list List agents.
    • agent-show Show information of a given agent.
    • agent-update Updates the admin status and description for a specified agent.
    • auto-allocated-topology-delete Delete the auto-allocated topology of a given tenant.
    • auto-allocated-topology-show Show the auto-allocated topology of a given tenant.
    • availability-zone-list List availability zones.
    • bash-completion Prints all of the commands and options for bash-completion.
    • bgp-dragent-list-hosting-speaker List Dynamic Routing agents hosting a BGP speaker.
    • bgp-dragent-speaker-add Add a BGP speaker to a Dynamic Routing agent.
    • bgp-dragent-speaker-remove Removes a BGP speaker from a Dynamic Routing agent.
    • bgp-peer-create Create a BGP Peer.
    • bgp-peer-delete Delete a BGP peer.
    • bgp-peer-list List BGP peers.
    • bgp-peer-show Show information of a given BGP peer.
    • bgp-peer-update Update BGP Peer’s information.
    • bgp-speaker-advertiseroute-list List routes advertised by a given BGP speaker.
    • bgp-speaker-create Create a BGP Speaker.
    • bgp-speaker-delete Delete a BGP speaker.
    • bgp-speaker-list List BGP speakers.
    • bgp-speaker-list-on-dragent List BGP speakers hosted by a Dynamic Routing agent.
    • bgp-speaker-network-add Add a network to the BGP speaker.
    • bgp-speaker-network-remove Remove a network from the BGP speaker.
    • bgp-speaker-peer-add Add a peer to the BGP speaker.
    • bgp-speaker-peer-remove Remove a peer from the BGP speaker.
    • bgp-speaker-show Show information of a given BGP speaker.
    • bgp-speaker-update Update BGP Speaker’s information.
    • [dhcp-agent DHCP代理]
    • dhcp-agent-list-hosting-net List DHCP agents hosting a network.
    • dhcp-agent-network-add Add a network to a DHCP agent.
    • dhcp-agent-network-remove Remove a network from a DHCP agent.
    • ext-list List all extensions.
    • ext-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 Associate a Neutron service flavor with a flavor profile.
    • flavor-create Create a Neutron service flavor.
    • flavor-delete Delete a given Neutron service flavor.
    • flavor-disassociate Disassociate a Neutron service flavor from a flavor profile.
    • flavor-list List Neutron service flavors.
    • flavor-profile-create Create a Neutron service flavor profile.
    • flavor-profile-delete Delete a given Neutron service flavor profile.
    • flavor-profile-list List Neutron service flavor profiles.
    • flavor-profile-show Show information about a given Neutron service flavor profile.
    • flavor-profile-update Update a given Neutron service flavor profile.
    • flavor-show Show information about a given Neutron service flavor.
    • flavor-update Update a Neutron service flavor.
    • floatingip-associate Create a mapping between a floating IP and a fixed IP.
    • floatingip-create Create a floating IP for a given tenant.
    • floatingip-delete Delete a given floating IP.
    • floatingip-disassociate Remove a mapping from a floating IP to a fixed IP.
    • floatingip-list List floating IPs that belong to a given tenant.
    • floatingip-show Show information of a given floating IP.
    • 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 List L3 agents hosting a router.
    • l3-agent-router-add Add a router to a L3 agent.
    • l3-agent-router-remove 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 Create a metering label for a given tenant.
    • meter-label-delete Delete a given metering label.
    • meter-label-list List metering labels that belong to a given tenant.
    • meter-label-rule-create Create a metering label rule for a given label.
    • meter-label-rule-delete Delete a given metering label.
    • meter-label-rule-list List metering labels that belong to a given label.
    • meter-label-rule-show Show information of a given metering label rule.
    • meter-label-show Show information of a given metering label.
    • net-create Create a network for a given tenant.
    • net-delete Delete a given network.
    • net-external-list List external networks that belong to a given tenant.
    • net-ip-availability-list List IP usage of networks
    • net-ip-availability-show Show IP usage of specific network
    • [net-list 网络列表]
    • net-list List networks that belong to a given tenant.
    • net-list-on-dhcp-agent List the networks on a DHCP agent.
    • net-show Show information of a given network.
    • net-update Update network’s information.
    • [port 端口]
    • port-create Create a port for a given tenant.
    • port-delete Delete a given port.
    • port-list List ports that belong to a given tenant.
    • port-show Show information of a given port.
    • port-update Update port’s information.
    • purge Delete all resources that belong to a given tenant.
    • qos-available-rule-types List available qos rule types.
    • qos-bandwidth-limit-rule-create Create a qos bandwidth limit rule.
    • qos-bandwidth-limit-rule-delete Delete a given qos bandwidth limit rule.
    • qos-bandwidth-limit-rule-list List all qos bandwidth limit rules belonging to the specified policy.
    • qos-bandwidth-limit-rule-show Show information about the given qos bandwidth limit rule.
    • qos-bandwidth-limit-rule-update Update the given qos bandwidth limit rule.
    • qos-dscp-marking-rule-create Create a QoS DSCP marking rule.
    • qos-dscp-marking-rule-delete Delete a given qos dscp marking rule.
    • qos-dscp-marking-rule-list List all QoS DSCP marking rules belonging to the specified policy.
    • qos-dscp-marking-rule-show Show information about the given qos dscp marking rule.
    • qos-dscp-marking-rule-update Update the given QoS DSCP marking rule.
    • qos-minimum-bandwidth-rule-create Create a qos minimum bandwidth rule.
    • qos-minimum-bandwidth-rule-delete Delete a given qos minimum bandwidth rule.
    • qos-minimum-bandwidth-rule-list List all qos minimum bandwidth rules belonging to the specified policy.
    • qos-minimum-bandwidth-rule-show Show information about the given qos minimum bandwidth rule.
    • qos-minimum-bandwidth-rule-update Update the given qos minimum bandwidth rule.
    • qos-policy-create Create a qos policy.
    • qos-policy-delete Delete a given qos policy.
    • qos-policy-list List QoS policies that belong to a given tenant connection.
    • qos-policy-show Show information of a given qos policy.
    • qos-policy-update Update a given qos policy.
    • quota-default-show Show default quotas for a given tenant.
    • quota-delete Delete defined quotas of a given tenant.
    • quota-list List quotas of all tenants who have non-default quota values.
    • quota-show Show quotas for a given tenant.
    • quota-update Define tenant’s quotas not to use defaults.
    • rbac-create Create a RBAC policy for a given tenant.
    • rbac-delete Delete a RBAC policy.
    • rbac-list List RBAC policies that belong to a given tenant.
    • rbac-show Show information of a given RBAC policy.
    • rbac-update Update RBAC policy for given tenant.
    • router-create Create a router for a given tenant.
    • router-delete Delete a given router.
    • router-gateway-clear Remove an external network gateway from a router.
    • router-gateway-set Set the external network gateway for a router.
    • router-interface-add Add an internal network interface to a router.
    • router-interface-delete Remove an internal network interface from a router.
    • router-list List routers that belong to a given tenant.
    • router-list-on-l3-agent List the routers on a L3 agent.
    • router-port-list List ports that belong to a given tenant, with specified router.
    • router-show Show information of a given router.
    • router-update Update router’s information.
    • security-group-create Create a security group.
    • security-group-delete Delete a given security group.
    • security-group-list List security groups that belong to a given tenant.
    • security-group-rule-create Create a security group rule.
    • security-group-rule-delete Delete a given security group rule.
    • security-group-rule-list List security group rules that belong to a given tenant.
    • security-group-rule-show Show information of a given security group rule.
    • security-group-show Show information of a given security group.
    • security-group-update Update a given security group.
    • service-provider-list List service providers.
    • [subnet 子网]
    • subnet-create Create a subnet for a given tenant.
    • subnet-delete Delete a given subnet.
    • subnet-list List subnets that belong to a given tenant.
    • subnet-show Show information of a given subnet.
    • subnet-update Update subnet’s information.
    • subnetpool-create Create a subnetpool for a given tenant.
    • subnetpool-delete Delete a given subnetpool.
    • subnetpool-list List subnetpools that belong to a given tenant.
    • subnetpool-show Show information of a given subnetpool.
    • subnetpool-update Update subnetpool’s information.
    • tag-add Add a tag into the resource.
    • tag-remove Remove a tag on the resource.
    • tag-replace Replace all tags on the resource.
    • -endpoint-group-create Create a VPN endpoint group.
    • -endpoint-group-delete Delete a given VPN endpoint group.
    • -endpoint-group-list List VPN endpoint groups that belong to a given tenant.
    • -endpoint-group-show Show a specific VPN endpoint group.
    • -endpoint-group-update Update a given VPN endpoint group.
    • -ikepolicy-create Create an IKE policy.
    • -ikepolicy-delete Delete a given IKE policy.
    • -ikepolicy-list List IKE policies that belong to a tenant.
    • -ikepolicy-show Show information of a given IKE policy.
    • -ikepolicy-update Update a given IKE policy.
    • -ipsecpolicy-create Create an IPsec policy.
    • -ipsecpolicy-delete Delete a given IPsec policy.
    • -ipsecpolicy-list List IPsec policies that belong to a given tenant connection.
    • -ipsecpolicy-show Show information of a given IPsec policy.
    • -ipsecpolicy-update Update a given IPsec policy.
    • -service-create Create a VPN service.
    • -service-delete Delete a given VPN service.
    • -service-list List VPN service configurations that belong to a given tenant.
    • -service-show Show information of a given VPN service.
    • -service-update Update a given VPN service.

openstack命令

  • Command-line interface to the OpenStack APIs
  • Commands:
    • acl delete Delete ACLs for a secret or container as identified by its href.
    • acl get Retrieve ACLs for a secret or container by providing its href.
    • acl submit Submit ACL on a secret or container as identified by its href.
    • acl user add Add ACL users to a secret or container as identified by its href.
    • acl user remove Remove ACL users from a secret or container as identified by its href.
    • address scope create Create a new Address Scope
    • address scope delete Delete address scope(s)
    • address scope list List address scopes
    • address scope set Set address scope properties
    • address scope show Display address scope details
    • aggregate add host Add host to aggregate
    • aggregate create Create a new aggregate
    • aggregate delete Delete existing aggregate(s)
    • aggregate list List all aggregates
    • aggregate remove host Remove host from aggregate
    • aggregate set Set aggregate properties
    • aggregate show Display aggregate details
    • aggregate unset Unset aggregate properties
    • availability zone list List availability zones and their status
    • bgp create Create BGP VPN resource
    • bgp delete Delete BGP VPN resource(s)
    • bgp list List BGP VPN resources
    • bgp network association create Create a BGP VPN network association
    • bgp network association delete Delete a BGP VPN network association(s) for a given BGP VPN
    • bgp network association list List BGP VPN network associations for a given BGP VPN
    • bgp network association show Show information of a given BGP VPN network association
    • bgp router association create Create a BGP VPN router association
    • bgp router association delete Delete a BGP VPN router association(s) for a given BGP VPN
    • bgp router association list List BGP VPN router associations for a given BGP VPN
    • bgp router association show Show information of a given BGP VPN router association
    • bgp set Set BGP VPN properties
    • bgp show Show information of a given BGP VPN
    • bgp unset Unset BGP VPN properties
    • ca get Retrieve a CA by providing its URI.
    • ca list List cas.
    • catalog list List services in the service catalog
    • catalog show Display service catalog details
    • command list List recognized commands by group
    • complete print bash completion command
    • compute agent create Create compute agent
    • compute agent delete Delete compute agent(s)
    • compute agent list List compute agents
    • compute agent set Set compute agent properties
    • compute service delete Delete compute service(s)
    • compute service list List compute services
    • compute service set Set compute service properties
    • configuration show Display configuration details
    • consistency group add volume Add volume(s) to consistency group
    • consistency group create Create new consistency group.
    • consistency group delete Delete consistency group(s).
    • consistency group list List consistency groups.
    • consistency group remove volume Remove volume(s) from consistency group
    • consistency group set Set consistency group properties
    • consistency group show Display consistency group details.
    • consistency group snapshot create Create new consistency group snapshot.
    • consistency group snapshot delete Delete consistency group snapshot(s).
    • consistency group snapshot list List consistency group snapshots.
    • consistency group snapshot show Display consistency group snapshot details
    • console log show Show server’s console output
    • console url show Show server’s remote console URL
    • container create Create new container
    • container delete Delete container
    • container list List containers
    • container save Save container contents locally
    • container set Set container properties
    • container show Display container details
    • container unset Unset container properties
    • dns quota list List quotas
    • dns quota reset Delete blacklist
    • dns quota set Set blacklist properties
    • dns service list List service statuses
    • dns service show Show service status details
    • ec2 credentials create Create EC2 credentials
    • ec2 credentials delete Delete EC2 credentials
    • ec2 credentials list List EC2 credentials
    • ec2 credentials show Display EC2 credentials details
    • endpoint create Create new endpoint
    • endpoint delete Delete endpoint(s)
    • endpoint list List endpoints
    • endpoint show Display endpoint details
    • extension list List API extensions
    • firewall group create Create a new firewall group
    • firewall group delete Delete firewall group(s)
    • firewall group list List firewall groups
    • firewall group policy add rule Insert a rule into a given firewall policy
    • firewall group policy create Create a new firewall policy
    • firewall group policy delete Delete firewall policy(s)
    • firewall group policy list List firewall policies
    • firewall group policy remove rule Remove a rule from a given firewall policy
    • firewall group policy set Set firewall policy properties
    • firewall group policy show Display firewall policy details
    • firewall group policy unset Unset firewall policy properties
    • firewall group rule create Create a new firewall rule
    • firewall group rule delete Delete firewall rule(s)
    • firewall group rule list List firewall rules that belong to a given tenant
    • firewall group rule set Set firewall rule properties
    • firewall group rule show Display firewall rule details
    • firewall group rule unset Unset firewall rule properties
    • firewall group set Set firewall group properties
    • firewall group show Display firewall group details
    • firewall group unset Unset firewall group properties
    • flavor create Create new flavor
    • flavor delete Delete flavor(s)
    • flavor list List flavors
    • flavor set Set flavor properties
    • flavor show Display flavor details
    • flavor unset Unset flavor properties
    • floating ip create Create floating IP
    • floating ip delete Delete floating IP(s)
    • floating ip list List floating IP(s)
    • floating ip pool list List pools of floating IP addresses
    • floating ip show Display floating IP details
    • help print detailed help for another command
    • host list List hosts
    • host set Set host properties
    • host show Display host details
    • hypervisor list List hypervisors
    • hypervisor show Display hypervisor details
    • hypervisor stats show Display hypervisor stats details
    • image add project Associate project with image
    • image create Create/upload an image
    • image delete Delete image(s)
    • image list List available images
    • image remove project Disassociate project with image
    • image save Save an image locally
    • image set Set image properties
    • image show Display image details
    • image unset Unset image tags and properties
    • ip availability list List IP availability for network
    • ip availability show Show network IP availability details
    • keypair create Create new public or private key for server ssh access
    • keypair delete Delete public or private key(s)
    • keypair list List key fingerprints
    • keypair show Display key details
    • limits show Show compute and block storage limits
    • module list List module versions
    • network agent delete Delete network agent(s)
    • network agent list List network agents
    • network agent set Set network agent properties
    • network agent show Display network agent details
    • network create Create new network
    • network delete Delete network(s)
    • network list List networks
    • network meter create Create network meter
    • network meter delete Delete network meter
    • network meter list List network meters
    • network meter rule create Create a new meter rule
    • network meter rule delete Delete meter rule(s)
    • network meter rule list List meter rules
    • network meter rule show Display meter rules details
    • network meter show Show network meter
    • network qos policy create Create a QoS policy
    • network qos policy delete Delete Qos Policy(s)
    • network qos policy list List QoS policies
    • network qos policy set Set QoS policy properties
    • network qos policy show Display QoS policy details
    • network qos rule create Create new Network QoS rule
    • network qos rule delete Delete Network QoS rule
    • network qos rule list List Network QoS rules
    • network qos rule set Set Network QoS rule properties
    • network qos rule show Display Network QoS rule details
    • network qos rule type list List QoS rule types
    • network rbac create Create network RBAC policy
    • network rbac delete Delete network RBAC policy(s)
    • network rbac list List network RBAC policies
    • network rbac set Set network RBAC policy properties
    • network rbac show Display network RBAC policy details
    • network segment create Create new network segment
    • network segment delete Delete network segment(s)
    • network segment list List network segments
    • network segment set Set network segment properties
    • network segment show Display network segment details
    • network service provider list List Service Providers
    • network set Set network properties
    • network show Show network details
    • network subport list List all subports for a given network trunk
    • network trunk create Create a network trunk for a given project
    • network trunk delete Delete a given network trunk
    • network trunk list List all network trunks
    • network trunk set Set network trunk properties
    • network trunk show Show information of a given network trunk
    • network trunk unset Unset subports from a given network trunk
    • object create Upload object to container
    • object delete Delete object from container
    • object list List objects
    • object save Save object locally
    • object set Set object properties
    • object show Display object details
    • object store account set Set account properties
    • object store account show Display account details
    • object store account unset Unset account properties
    • object unset Unset object properties
    • port create Create a new port
    • port delete Delete port(s)
    • port list List ports
    • port set Set port properties
    • port show Display port details
    • port unset Unset port properties
    • project create Create new project
    • project delete Delete project(s)
    • project list List projects
    • project set Set project properties
    • project show Display project details
    • project unset Unset project properties
    • ptr record list List floatingip ptr records
    • ptr record set Set floatingip ptr record
    • ptr record show Show floatingip ptr record details
    • ptr record unset Unset floatingip ptr record
    • quota set Set quotas for project or class
    • quota show Show quotas for project or class
    • recordset create Create new recordset
    • recordset delete Delete recordset
    • recordset list List recordsets
    • recordset set Set recordset properties
    • recordset show Show recordset details
    • role add Add role to project:user
    • role assignment list List role assignments
    • role create Create new role
    • role delete Delete role(s)
    • role list List roles
    • role remove Remove role from project : user
    • role show Display role details
    • router add port Add a port to a router
    • router add subnet Add a subnet to a router
    • router create Create a new router
    • router delete Delete router(s)
    • router list List routers
    • router remove port Remove a port from a router
    • router remove subnet Remove a subnet from a router
    • router set Set router properties
    • router show Display router details
    • router unset Unset router properties
    • secret container create Store a container in Barbican.
    • secret container delete Delete a container by providing its href.
    • secret container get Retrieve a container by providing its URI.
    • secret container list List containers.
    • secret delete Delete a secret by providing its URI.
    • secret get Retrieve a secret by providing its URI.
    • secret list List secrets.
    • secret order create Create a new order.
    • secret order delete Delete an order by providing its href.
    • secret order get Retrieve an order by providing its URI.
    • secret order list List orders.
    • secret store Store a secret in Barbican.
    • secret update Update a secret with no payload in Barbican.
    • security group create Create a new security group
    • security group delete Delete security group(s)
    • security group list List security groups
    • security group rule create Create a new security group rule
    • security group rule delete Delete security group rule(s)
    • security group rule list List security group rules
    • security group rule show Display security group rule details
    • security group set Set security group properties
    • security group show Display security group details
    • server add fixed ip Add fixed IP address to server
    • server add floating ip Add floating IP address to server
    • server add security group Add security group to server
    • server add volume Add volume to server
    • server backup create Create a server backup image
    • server create Create a new server
    • server delete Delete server(s)
    • server dump create Create a dump file in server(s)
    • server group create Create a new server group.
    • server group delete Delete existing server group(s).
    • server group list List all server groups.
    • server group show Display server group details.
    • server image create Create a new server disk image from an existing server
    • server list List servers
    • server lock Lock server(s). A non-admin user will not be able to execute actions
    • server migrate Migrate server to different host
    • server pause Pause server(s)
    • server reboot Perform a hard or soft server reboot
    • server rebuild Rebuild server
    • server remove fixed ip Remove fixed IP address from server
    • server remove floating ip Remove floating IP address from server
    • server remove security group Remove security group from server
    • server remove volume Remove volume from server
    • server rescue Put server in rescue mode
    • server resize Scale server to a new flavor
    • server restore Restore server(s)
    • server resume Resume server(s)
    • server set Set server properties
    • server shelve Shelve server(s)
    • server show Show server details
    • server ssh SSH to server
    • server start Start server(s).
    • server stop Stop server(s).
    • server suspend Suspend server(s)
    • server unlock Unlock server(s)
    • server unpause Unpause server(s)
    • server unrescue Restore server from rescue mode
    • server unset Unset server properties
    • server unshelve Unshelve server(s)
    • service create Create new service
    • service delete Delete service(s)
    • service list List services
    • service show Display service details
    • snapshot create Create new snapshot
    • snapshot delete Delete volume snapshot(s)
    • snapshot list List snapshots
    • snapshot set Set snapshot properties
    • snapshot show Display snapshot details
    • snapshot unset Unset snapshot properties
    • subnet create Create a subnet
    • subnet delete Delete subnet(s)
    • subnet list List subnets
    • subnet pool create Create subnet pool
    • subnet pool delete Delete subnet pool(s)
    • subnet pool list List subnet pools
    • subnet pool set Set subnet pool properties
    • subnet pool show Display subnet pool details
    • subnet pool unset Unset subnet pool properties
    • subnet set Set subnet properties
    • subnet show Display subnet details
    • subnet unset Unset subnet properties
    • tld create Create new tld
    • tld delete Delete tld
    • tld list List tlds
    • tld set Set tld properties
    • tld show Show tld details
    • token issue Issue new token
    • token revoke Revoke existing token
    • usage list List resource usage per project
    • usage show Show resource usage for a single project
    • user create Create new user
    • user delete Delete user(s)
    • user list List users
    • user role list List user-role assignments
    • user set Set user properties
    • user show Display user details
    • volume backup create Create new volume backup
    • volume backup delete Delete volume backup(s)
    • volume backup list List volume backups
    • volume backup restore Restore volume backup
    • volume backup set Set volume backup properties
    • volume backup show Display volume backup details
    • volume create Create new volume
    • volume delete Delete volume(s)
    • volume host set Set volume host properties
    • volume list List volumes
    • volume migrate Migrate volume to a new host
    • volume qos associate Associate a QoS specification to a volume type
    • volume qos create Create new QoS specification
    • volume qos delete Delete QoS specification
    • volume qos disassociate Disassociate a QoS specification from a volume type
    • volume qos list List QoS specifications
    • volume qos set Set QoS specification properties
    • volume qos show Display QoS specification details
    • volume qos unset Unset QoS specification properties
    • volume service list List service command
    • volume service set Set volume service properties
    • volume set Set volume properties
    • volume show Display volume details
    • volume snapshot create Create new volume snapshot
    • volume snapshot delete Delete volume snapshot(s)
    • volume snapshot list List volume snapshots
    • volume snapshot set Set volume snapshot properties
    • volume snapshot show Display volume snapshot details
    • volume snapshot unset Unset volume snapshot properties
    • volume transfer request accept Accept volume transfer request.
    • volume transfer request create Create volume transfer request.
    • volume transfer request delete Delete volume transfer request(s).
    • volume transfer request list Lists all volume transfer requests.
    • volume transfer request show Show volume transfer request details.
    • volume type create Create new volume type
    • volume type delete Delete volume type(s)
    • volume type list List volume types
    • volume type set Set volume type properties
    • volume type show Display volume type details
    • volume type unset Unset volume type properties
    • volume unset Unset volume properties
    • zone abandon Abandon a zone
    • zone axfr AXFR a zone
    • zone blacklist create Create new blacklist
    • zone blacklist delete Delete blacklist
    • zone blacklist list List blacklists
    • zone blacklist set Set blacklist properties
    • zone blacklist show Show blacklist details
    • zone create Create new zone
    • zone delete Delete zone
    • zone export create Export a Zone
    • zone export delete Delete a Zone Export
    • zone export list List Zone Exports
    • zone export show Show a Zone Export
    • zone export showfile Show the zone file for the Zone Export
    • zone import create Import a Zone from a file on the filesystem
    • zone import delete Delete a Zone Import
    • zone import list List Zone Imports
    • zone import show Show a Zone Import
    • zone list List zones
    • zone set Set zone properties
    • zone show Show zone details
    • zone transfer accept list List Zone Transfer Accepts
    • zone transfer accept request Accept a Zone Transfer Request
    • zone transfer accept show Show Zone Transfer Accept
    • zone transfer request create Create new zone transfer request
    • zone transfer request delete Delete a Zone Transfer Request
    • zone transfer request list List Zone Transfer Requests
    • zone transfer request set Set a Zone Transfer Request
    • zone transfer request show Show Zone Transfer Request Details

官网API

https://docs.openstack.org/python-openstackclient/latest/cli/index.html

Command List

  • access token
# 创建访问令牌
openstack access token create
    --consumer-key 
    --consumer-secret 
    --request-key 
    --request-secret 
    --verifier 
  • address scope
# 新地址范围
openstack address scope create
    [--project <project> [--project-domain <project-domain>]]
    [--ip-version <ip-version>]
    [--share | --no-share]
    <name>

openstack address scope delete
    <address-scope> [<address-scope> ...]

openstack address scope list
    [--name <name>]
    [--ip-version <ip-version>]
    [--project <project> [--project-domain <project-domain>]]
    [--share | --no-share]

openstack address scope set
    [--name <name>]
    [--share | --no-share]


openstack address scope show
    <address-scope>
  • aggregate
# 群集
openstack aggregate add host
    
    

openstack aggregate create
    [--zone ]
    [--property  [...] ]
    

openstack aggregate delete
     [ ...]

openstack aggregate list
    [--long]

openstack aggregate remove host
    
    

openstack aggregate set
    [--name ]
    [--zone ]
    [--property  [...] ]
    [--no-property]
    

openstack aggregate show
    

openstack aggregate unset
    [--property  [...] ]
    
  • availability zone
# 可用区域
openstack availability zone list
    [--compute]
    [--network]
    [--volume]
    [--long]
  • backup
  • catalog
  • command
  • complete
  • compute agent
  • compute service
  • configuration
  • consistency group
  • consistency group snapshot
  • console log
  • console url
  • consumer
  • container
  • credential
  • domain
  • ec2 credentials
  • endpoint
  • extension
  • federation protocol
  • flavor
  • floating ip
  • floating ip pool
  • group
  • host
  • hypervisor
  • hypervisor stats
  • identity provider
  • image
  • implied role
  • ip availability
  • ip fixed
  • ip floating
  • ip floating pool
  • keypair
  • limits
  • mapping
  • module
  • network
  • network agent
  • network auto allocated topology
  • network flavor
  • network flavor profile
  • network meter
  • network meter rule
  • network qos policy
  • network qos rule
  • network qos rule type
  • network rbac
  • network segment
  • network service provider
  • object
  • object store account
  • policy
  • port
  • project
  • project purge
  • quota
  • region
  • request token
  • role
  • role assignment
  • router
  • security group
  • security group rule
  • server
  • server backup
  • server event
  • server group
  • server image
  • service
  • identity provider
  • snapshot
  • subnet
  • subnet pool
  • token
  • trust
  • usage
  • user
  • user role
  • volume
  • volume backup
  • volume host
  • volume qos
  • volume service
  • volume snapshot
  • volume transfer request
  • volume type

你可能感兴趣的:(OpenStack)