此内容没有您所选择的语言版本。
Chapter 5. Compute command-line client
2.23.0
.
nova help COMMAND
$ nova help COMMAND
5.1. nova usage 复制链接链接已复制到粘贴板!
usage: nova [--version] [--debug] [--os-cache] [--timings] [--os-auth-token OS_AUTH_TOKEN] [--os-tenant-name <auth-tenant-name>] [--os-tenant-id <auth-tenant-id>] [--os-region-name <region-name>] [--os-auth-system <auth-system>] [--service-type <service-type>] [--service-name <service-name>] [--volume-service-name <volume-service-name>] [--os-endpoint-type <endpoint-type>] [--os-compute-api-version <compute-api-ver>] [--bypass-url <bypass-url>] [--insecure] [--os-cacert <ca-certificate>] [--os-cert <certificate>] [--os-key <key>] [--timeout <seconds>] [--os-auth-url OS_AUTH_URL] [--os-domain-id OS_DOMAIN_ID] [--os-domain-name OS_DOMAIN_NAME] [--os-project-id OS_PROJECT_ID] [--os-project-name OS_PROJECT_NAME] [--os-project-domain-id OS_PROJECT_DOMAIN_ID] [--os-project-domain-name OS_PROJECT_DOMAIN_NAME] [--os-trust-id OS_TRUST_ID] [--os-user-id OS_USER_ID] [--os-user-name OS_USERNAME] [--os-user-domain-id OS_USER_DOMAIN_ID] [--os-user-domain-name OS_USER_DOMAIN_NAME] [--os-password OS_PASSWORD] <subcommand> ...
usage: nova [--version] [--debug] [--os-cache] [--timings] [--os-auth-token OS_AUTH_TOKEN] [--os-tenant-name <auth-tenant-name>] [--os-tenant-id <auth-tenant-id>] [--os-region-name <region-name>] [--os-auth-system <auth-system>] [--service-type <service-type>] [--service-name <service-name>] [--volume-service-name <volume-service-name>] [--os-endpoint-type <endpoint-type>] [--os-compute-api-version <compute-api-ver>] [--bypass-url <bypass-url>] [--insecure] [--os-cacert <ca-certificate>] [--os-cert <certificate>] [--os-key <key>] [--timeout <seconds>] [--os-auth-url OS_AUTH_URL] [--os-domain-id OS_DOMAIN_ID] [--os-domain-name OS_DOMAIN_NAME] [--os-project-id OS_PROJECT_ID] [--os-project-name OS_PROJECT_NAME] [--os-project-domain-id OS_PROJECT_DOMAIN_ID] [--os-project-domain-name OS_PROJECT_DOMAIN_NAME] [--os-trust-id OS_TRUST_ID] [--os-user-id OS_USER_ID] [--os-user-name OS_USERNAME] [--os-user-domain-id OS_USER_DOMAIN_ID] [--os-user-domain-name OS_USER_DOMAIN_NAME] [--os-password OS_PASSWORD] <subcommand> ...
Subcommands
- absolute-limits
- Print a list of absolute limits for a user
- add-fixed-ip
- Add new IP address on a network to server.
- add-floating-ip
- DEPRECATED, use floating-ip-associate instead.
- 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-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-details
- Show details of the specified 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-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.
- clear-password
- Clear the admin password for a server.
- 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.
- credentials
- Show user credentials returned from auth.
- delete
- Immediately shut down and delete specified server(s).
- diagnostics
- Retrieve server diagnostics.
- dns-create
- Create a DNS entry for domain, name and IP.
- dns-create-private-domain
- Create the specified DNS domain.
- dns-create-public-domain
- Create the specified DNS domain.
- dns-delete
- Delete the specified DNS entry.
- dns-delete-domain
- Delete the specified DNS domain.
- dns-domains
- Print a list of available dns domains.
- dns-list
- List current DNS entries for domain and IP or domain and name.
- endpoints
- Discover endpoints that get returned from the authenticate services.
- evacuate
- Evacuate server from failed host.
- fixed-ip-get
- Retrieve info on a fixed IP.
- fixed-ip-reserve
- Reserve a fixed IP.
- fixed-ip-unreserve
- Unreserve a fixed IP.
- 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
- Bulk create floating IPs by range.
- floating-ip-bulk-delete
- Bulk delete floating IPs by range.
- floating-ip-bulk-list
- List all floating IPs.
- floating-ip-create
- Allocate a floating IP for the current tenant.
- floating-ip-delete
- De-allocate a floating IP.
- floating-ip-disassociate
- Disassociate a floating IP address from a server.
- floating-ip-list
- List floating IPs.
- floating-ip-pool-list
- List all floating IP pools.
- get-password
- Get the admin password for a server.
- 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-list
- List all hosts by service.
- host-update
- Update host settings.
- hypervisor-list
- List hypervisors.
- 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.WarningWhen using Red Hat Ceph as a back end for ephemeral storage, the Compute service does not calculate the amount of available storage correctly. Specifically, Compute simply adds up the amount of available storage without factoring in replication. This results in grossly overstated available storage, which in turn could cause unexpected storage oversubscription.To determine the correct ephemeral storage capacity, query the Ceph service directly instead. For more information, see BZ#1236473.
- 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
- Delete specified image(s).
- image-list
- Print a list of available images to boot from.
- image-meta
- Set or Delete metadata on an image.
- image-show
- Show details about the given image.
- 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.
- keypair-list
- Print a list of keypairs for a user
- keypair-show
- Show details about the given keypair.
- list
- List active servers.
- list-secgroup
- List Security Group(s) of a server.
- live-migration
- Migrate running server to a new machine.
- 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.
- network-associate-host
- Associate host with network.
- network-associate-project
- Associate project with network.
- network-create
- Create a network.
- network-delete
- Delete network by label or id.
- network-disassociate
- Disassociate host and/or project from the given network.
- network-list
- Print a list of available networks.
- network-show
- 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.
- 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.
- rate-limits
- Print a list of rate limits for a user
- 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-floating-ip
- DEPRECATED, use floating-ip-disassociate instead.
- remove-secgroup
- Remove a Security Group from a server.
- rename
- Rename 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).
- resume
- Resume a server.
- root-password
- Change the admin password for a server.
- scrub
- Delete networks and security groups associated with a project.
- secgroup-add-default-rule
- Add a rule to the set of rules that will be added to the 'default' security group for new tenants.
- secgroup-add-group-rule
- Add a source group rule to a security group.
- secgroup-add-rule
- Add a rule to a security group.
- secgroup-create
- Create a security group.
- secgroup-delete
- Delete a security group.
- secgroup-delete-default-rule
- Delete a rule from the set of rules that will be added to the 'default' security group for new tenants.
- secgroup-delete-group-rule
- Delete a source group rule from a security group.
- secgroup-delete-rule
- Delete a rule from a security group.
- secgroup-list
- List security groups for the current tenant.
- secgroup-list-default-rules
- List rules that will be added to the 'default' security group for new tenants.
- secgroup-list-rules
- List rules for a security group.
- secgroup-update
- 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.
- service-delete
- Delete the service.
- service-disable
- Disable the service.
- service-enable
- Enable the service.
- service-list
- Show a list of all running services. Filter by host & binary.
- 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.
- unlock
- Unlock a server.
- unpause
- Unpause a server.
- unrescue
- Restart the server from normal boot disk again.
- unshelve
- Unshelve a server.
- usage
- Show usage data for a single tenant.
- usage-list
- List usage data for all tenants.
- version-list
- List all API versions.
- volume-attach
- Attach a volume to a server.
- volume-create
- Add a new volume.
- volume-delete
- Remove volume(s).
- volume-detach
- Detach a volume from a server.
- volume-list
- List all the volumes.
- volume-show
- Show details about a volume.
- volume-snapshot-create
- Add a new snapshot.
- volume-snapshot-delete
- Remove a snapshot.
- volume-snapshot-list
- List all the snapshots.
- volume-snapshot-show
- Show details about a snapshot.
- volume-type-create
- Create a new volume type.
- volume-type-delete
- Delete a specific volume type.
- volume-type-list
- Print a list of available 'volume types'.
- 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-add
- Add a network interface to a baremetal node.
- baremetal-interface-list
- List network interfaces associated with a baremetal node.
- baremetal-interface-remove
- Remove a network interface from a baremetal node.
- baremetal-node-create
- Create a baremetal node.
- baremetal-node-delete
- Remove a baremetal node and any associated interfaces.
- baremetal-node-list
- Print list of available baremetal nodes.
- baremetal-node-show
- Show information about a baremetal node.
- cell-capacities
- Get cell capacities for all cells or a given cell.
- cell-show
- Show details of a given cell.
- force-delete
- Force delete a server.
- restore
- Restore a soft-deleted server.
- host-evacuate
- Evacuate all instances from failed host.
- host-evacuate-live
- Live migrate all instances of the specified host to other available hosts.
- host-servers-migrate
- Migrate all instances of the specified host to other available hosts.
- instance-action
- Show an action.
- instance-action-list
- List actions on a server.
- list-extensions
- List all the os-api extensions that are available.
- host-meta
- Set or Delete metadata on all instances of a host.
- migration-list
- Print a list of migrations.
- 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
- Create a tenant network.
- tenant-network-delete
- Delete a tenant network.
- tenant-network-list
- List tenant networks.
- tenant-network-show
- Show a tenant network.
5.2. nova optional arguments 复制链接链接已复制到粘贴板!
- --version
- show program's version number and exit
- --debug
- Print debugging output
- --os-cache
- Use the auth token cache. Defaults to False if
env[OS_CACHE]
is not set. - --timings
- Print call timing info
- --os-auth-token OS_AUTH_TOKEN
- Defaults to
env[OS_AUTH_TOKEN]
- --os-tenant-name <auth-tenant-name>
- Defaults to
env[OS_TENANT_NAME]
. - --os-tenant-id <auth-tenant-id>
- Defaults to
env[OS_TENANT_ID]
. - --os-region-name <region-name>
- Defaults to
env[OS_REGION_NAME]
. - --os-auth-system <auth-system>
- Defaults to
env[OS_AUTH_SYSTEM]
. - --service-type <service-type>
- Defaults to compute for most actions
- --service-name <service-name>
- Defaults to
env[NOVA_SERVICE_NAME]
- --volume-service-name <volume-service-name>
- Defaults to
env[NOVA_VOLUME_SERVICE_NAME]
- --os-endpoint-type <endpoint-type>
- Defaults to
env[NOVA_ENDPOINT_TYPE]
,env[OS_ENDPOINT_TYPE]
or publicURL. - --os-compute-api-version <compute-api-ver>
- Accepts 1.1 or 3, defaults to
env[OS_COMPUTE_API_VERSION]
. - --bypass-url <bypass-url>
- Use this API endpoint instead of the Service Catalog. Defaults to
env[NOVACLIENT_BYPASS_URL]
- --insecure
- Explicitly allow client to perform "insecure" TLS (https) requests. The server's certificate will not be verified against any certificate authorities. This option should be used with caution.
- --os-cacert <ca-certificate>
- Specify a CA bundle file to use in verifying a TLS (https) server certificate. Defaults to
env[OS_CACERT]
. - --os-cert <certificate>
- Defaults to
env[OS_CERT]
. - --os-key <key>
- Defaults to
env[OS_KEY]
. - --timeout <seconds>
- Set request timeout (in seconds).
- --os-auth-url OS_AUTH_URL
- Authentication URL
- --os-domain-id OS_DOMAIN_ID
- Domain ID to scope to
- --os-domain-name OS_DOMAIN_NAME
- Domain name to scope to
- --os-project-id OS_PROJECT_ID
- Project ID to scope to
- --os-project-name OS_PROJECT_NAME
- Project name to scope to
- --os-project-domain-id OS_PROJECT_DOMAIN_ID
- Domain ID containing project
- --os-project-domain-name OS_PROJECT_DOMAIN_NAME
- Domain name containing project
- --os-trust-id OS_TRUST_ID
- Trust ID
- --os-user-id OS_USER_ID
- User ID
- --os-user-name OS_USERNAME, --os-username OS_USERNAME
- Username
- --os-user-domain-id OS_USER_DOMAIN_ID
- User's domain id
- --os-user-domain-name OS_USER_DOMAIN_NAME
- User's domain name
- --os-password OS_PASSWORD
- User's password
5.3. nova absolute-limits 复制链接链接已复制到粘贴板!
usage: nova absolute-limits [--tenant [<tenant>]] [--reserved]
usage: nova absolute-limits [--tenant [<tenant>]] [--reserved]
Optional arguments
- --tenant [<tenant>]
- Display information from single tenant (Admin only).
- --reserved
- Include reservations count.
5.4. nova add-fixed-ip 复制链接链接已复制到粘贴板!
usage: nova add-fixed-ip <server> <network-id>
usage: nova add-fixed-ip <server> <network-id>
Positional arguments
- <server>
- Name or ID of server.
- <network-id>
- Network ID.
5.5. nova add-secgroup 复制链接链接已复制到粘贴板!
usage: nova add-secgroup <server> <secgroup>
usage: nova add-secgroup <server> <secgroup>
Positional arguments
- <server>
- Name or ID of server.
- <secgroup>
- Name of Security Group.
5.6. nova agent-create 复制链接链接已复制到粘贴板!
usage: nova agent-create <os> <architecture> <version> <url> <md5hash> <hypervisor>
usage: nova agent-create <os> <architecture> <version> <url> <md5hash> <hypervisor>
Positional arguments
- <os>
- type of os.
- <architecture>
- type of architecture
- <version>
- version
- <url>
- url
- <md5hash>
- md5 hash
- <hypervisor>
- type of hypervisor.
5.7. nova agent-delete 复制链接链接已复制到粘贴板!
usage: nova agent-delete <id>
usage: nova agent-delete <id>
Positional arguments
- <id>
- id of the agent-build
5.8. nova agent-list 复制链接链接已复制到粘贴板!
usage: nova agent-list [--hypervisor <hypervisor>]
usage: nova agent-list [--hypervisor <hypervisor>]
Optional arguments
- --hypervisor <hypervisor>
- type of hypervisor.
5.9. nova agent-modify 复制链接链接已复制到粘贴板!
usage: nova agent-modify <id> <version> <url> <md5hash>
usage: nova agent-modify <id> <version> <url> <md5hash>
Positional arguments
- <id>
- id of the agent-build
- <version>
- version
- <url>
- url
- <md5hash>
- md5hash
5.10. nova aggregate-add-host 复制链接链接已复制到粘贴板!
usage: nova aggregate-add-host <aggregate> <host>
usage: nova aggregate-add-host <aggregate> <host>
Positional arguments
- <aggregate>
- Name or ID of aggregate.
- <host>
- The host to add to the aggregate.
5.11. nova aggregate-create 复制链接链接已复制到粘贴板!
usage: nova aggregate-create <name> [<availability-zone>]
usage: nova aggregate-create <name> [<availability-zone>]
Positional arguments
- <name>
- Name of aggregate.
- <availability-zone>
- The availability zone of the aggregate (optional).
5.12. nova aggregate-delete 复制链接链接已复制到粘贴板!
usage: nova aggregate-delete <aggregate>
usage: nova aggregate-delete <aggregate>
Positional arguments
- <aggregate>
- Name or ID of aggregate to delete.
5.13. nova aggregate-details 复制链接链接已复制到粘贴板!
usage: nova aggregate-details <aggregate>
usage: nova aggregate-details <aggregate>
Positional arguments
- <aggregate>
- Name or ID of aggregate.
5.14. nova aggregate-list 复制链接链接已复制到粘贴板!
usage: nova aggregate-list
usage: nova aggregate-list
5.15. nova aggregate-remove-host 复制链接链接已复制到粘贴板!
usage: nova aggregate-remove-host <aggregate> <host>
usage: nova aggregate-remove-host <aggregate> <host>
Positional arguments
- <aggregate>
- Name or ID of aggregate.
- <host>
- The host to remove from the aggregate.
5.16. nova aggregate-set-metadata 复制链接链接已复制到粘贴板!
usage: nova aggregate-set-metadata <aggregate> <key=value> [<key=value> ...]
usage: nova aggregate-set-metadata <aggregate> <key=value> [<key=value> ...]
Positional arguments
- <aggregate>
- Name or ID of aggregate to update.
- <key=value>
- Metadata to add/update to aggregate. Specify only the key to delete a metadata item.
5.17. nova aggregate-update 复制链接链接已复制到粘贴板!
usage: nova aggregate-update <aggregate> <name> [<availability-zone>]
usage: nova aggregate-update <aggregate> <name> [<availability-zone>]
Positional arguments
- <aggregate>
- Name or ID of aggregate to update.
- <name>
- Name of aggregate.
- <availability-zone>
- The availability zone of the aggregate.
5.18. nova availability-zone-list 复制链接链接已复制到粘贴板!
usage: nova availability-zone-list
usage: nova availability-zone-list
5.19. nova backup 复制链接链接已复制到粘贴板!
usage: nova backup <server> <name> <backup-type> <rotation>
usage: nova backup <server> <name> <backup-type> <rotation>
Positional arguments
- <server>
- Name or ID of server.
- <name>
- Name of the backup image.
- <backup-type>
- The backup type, like "daily" or "weekly".
- <rotation>
- Int parameter representing how many backups to keep around.
5.20. nova baremetal-interface-add 复制链接链接已复制到粘贴板!
usage: nova baremetal-interface-add [--datapath_id <datapath_id>] [--port_no <port_no>] <node> <address>
usage: nova baremetal-interface-add [--datapath_id <datapath_id>] [--port_no <port_no>] <node> <address>
Positional arguments
- <node>
- ID of node
- <address>
- MAC address of interface
Optional arguments
- --datapath_id <datapath_id>
- OpenFlow Datapath ID of interface
- --port_no <port_no>
- OpenFlow port number of interface
5.21. nova baremetal-interface-list 复制链接链接已复制到粘贴板!
usage: nova baremetal-interface-list <node>
usage: nova baremetal-interface-list <node>
Positional arguments
- <node>
- ID of node
5.22. nova baremetal-interface-remove 复制链接链接已复制到粘贴板!
usage: nova baremetal-interface-remove <node> <address>
usage: nova baremetal-interface-remove <node> <address>
Positional arguments
- <node>
- ID of node
- <address>
- MAC address of interface
5.23. nova baremetal-node-create 复制链接链接已复制到粘贴板!
usage: nova baremetal-node-create [--pm_address <pm_address>] [--pm_user <pm_user>] [--pm_password <pm_password>] [--terminal_port <terminal_port>] <service_host> <cpus> <memory_mb> <local_gb> <prov_mac_address>
usage: nova baremetal-node-create [--pm_address <pm_address>] [--pm_user <pm_user>] [--pm_password <pm_password>] [--terminal_port <terminal_port>] <service_host> <cpus> <memory_mb> <local_gb> <prov_mac_address>
Positional arguments
- <service_host>
- Name of nova compute host which will control this baremetal node
- <cpus>
- Number of CPUs in the node
- <memory_mb>
- Megabytes of RAM in the node
- <local_gb>
- Gigabytes of local storage in the node
- <prov_mac_address>
- MAC address to provision the node
Optional arguments
- --pm_address <pm_address>
- Power management IP for the node
- --pm_user <pm_user>
- Username for the node's power management
- --pm_password <pm_password>
- Password for the node's power management
- --terminal_port <terminal_port>
- ShellInABox port?
5.24. nova baremetal-node-delete 复制链接链接已复制到粘贴板!
usage: nova baremetal-node-delete <node>
usage: nova baremetal-node-delete <node>
Positional arguments
- <node>
- ID of the node to delete.
5.25. nova baremetal-node-list 复制链接链接已复制到粘贴板!
usage: nova baremetal-node-list
usage: nova baremetal-node-list
5.26. nova baremetal-node-show 复制链接链接已复制到粘贴板!
usage: nova baremetal-node-show <node>
usage: nova baremetal-node-show <node>
Positional arguments
- <node>
- ID of node
5.27. nova boot 复制链接链接已复制到粘贴板!
usage: nova boot [--flavor <flavor>] [--image <image>] [--image-with <key=value>] [--boot-volume <volume_id>] [--snapshot <snapshot_id>] [--min-count <number>] [--max-count <number>] [--meta <key=value>] [--file <dst-path=src-path>] [--key-name <key-name>] [--user-data <user-data>] [--availability-zone <availability-zone>] [--security-groups <security-groups>] [--block-device-mapping <dev-name=mapping>] [--block-device key1=value1[,key2=value2...]] [--swap <swap_size>] [--ephemeral size=<size>[,format=<format>]] [--hint <key=value>] [--nic <net-id=net-uuid,v4-fixed-ip=ip-addr,v6-fixed-ip=ip-addr,port-id=port-uuid>] [--config-drive <value>] [--poll] <name>
usage: nova boot [--flavor <flavor>] [--image <image>] [--image-with <key=value>] [--boot-volume <volume_id>] [--snapshot <snapshot_id>] [--min-count <number>] [--max-count <number>] [--meta <key=value>] [--file <dst-path=src-path>] [--key-name <key-name>] [--user-data <user-data>] [--availability-zone <availability-zone>] [--security-groups <security-groups>] [--block-device-mapping <dev-name=mapping>] [--block-device key1=value1[,key2=value2...]] [--swap <swap_size>] [--ephemeral size=<size>[,format=<format>]] [--hint <key=value>] [--nic <net-id=net-uuid,v4-fixed-ip=ip-addr,v6-fixed-ip=ip-addr,port-id=port-uuid>] [--config-drive <value>] [--poll] <name>
Positional arguments
- <name>
- Name for the new server
Optional arguments
- --flavor <flavor>
- Name or ID of flavor (see 'nova flavor-list').
- --image <image>
- Name or ID of image (see 'nova image-list').
- --image-with <key=value>
- Image metadata property (see 'nova image- show').
- --boot-volume <volume_id>
- Volume ID to boot from.
- --snapshot <snapshot_id>
- Snapshot ID to boot from (will create a volume).
- --min-count <number>
- Boot at least <number> servers (limited by quota).
- --max-count <number>
- Boot up to <number> servers (limited by quota).
- --meta <key=value>
- Record arbitrary key/value metadata to /meta_data.json on the metadata server. Can be specified multiple times.
- --file <dst-path=src-path>
- Store arbitrary files from <src-path> locally to <dst-path> on the new server. Limited by the injected_files quota value.
- --key-name <key-name>
- Key name of keypair that should be created earlier with the command keypair-add
- --user-data <user-data>
- user data file to pass to be exposed by the metadata server.
- --availability-zone <availability-zone>
- The availability zone for server placement.
- --security-groups <security-groups>
- Comma separated list of security group names.
- --block-device-mapping <dev-name=mapping>
- Block device mapping in the format <dev- name>=<id>:<type>:<size(GB)>:<delete-on- terminate>.
- --block-device
- key1=value1[,key2=value2...] Block device mapping with the keys: id=UUID (image_id, snapshot_id or volume_id only if using source image, snapshot or volume) source=source type (image, snapshot, volume or blank), dest=destination type of the block device (volume or local), bus=device's bus (e.g. uml, lxc, virtio, ...; if omitted, hypervisor driver chooses a suitable default, honoured only if device type is supplied) type=device type (e.g. disk, cdrom, ...; defaults to 'disk') device=name of the device (e.g. vda, xda, ...; if omitted, hypervisor driver chooses suitable device depending on selected bus), size=size of the block device in GB (if omitted, hypervisor driver calculates size), format=device will be formatted (e.g. swap, ntfs, ...; optional), bootindex=integer used for ordering the boot disks (for image backed instances it is equal to 0, for others need to be specified) and shutdown=shutdown behaviour (either preserve or remove, for local destination set to remove).
- --swap <swap_size>
- Create and attach a local swap block device of <swap_size> MB.
- --ephemeral
- size=<size>[,format=<format>] Create and attach a local ephemeral block device of <size> GB and format it to <format>.
- --hint <key=value>
- Send arbitrary key/value pairs to the scheduler for custom use.
- --nic <net-id=net-uuid,v4-fixed-ip=ip-addr,v6-fixed-ip=ip-addr,port-id=port-uuid>
- Create a NIC on the server. Specify option multiple times to create multiple NICs. net- id: attach NIC to network with this UUID (either port-id or net-id must be provided), v4-fixed-ip: IPv4 fixed address for NIC (optional), v6-fixed-ip: IPv6 fixed address for NIC (optional), port-id: attach NIC to port with this UUID (either port-id or net-id must be provided).
- --config-drive <value>
- Enable config drive
- --poll
- Report the new server boot progress until it completes.
5.28. nova cell-capacities 复制链接链接已复制到粘贴板!
usage: nova cell-capacities [--cell <cell-name>]
usage: nova cell-capacities [--cell <cell-name>]
Optional arguments
- --cell <cell-name>
- Name of the cell to get the capacities.
5.29. nova cell-show 复制链接链接已复制到粘贴板!
usage: nova cell-show <cell-name>
usage: nova cell-show <cell-name>
Positional arguments
- <cell-name>
- Name of the cell.
5.30. nova clear-password 复制链接链接已复制到粘贴板!
usage: nova clear-password <server>
usage: nova clear-password <server>
Positional arguments
- <server>
- Name or ID of server.
5.31. nova cloudpipe-configure 复制链接链接已复制到粘贴板!
usage: nova cloudpipe-configure <ip address> <port>
usage: nova cloudpipe-configure <ip address> <port>
Positional arguments
- <ip address>
- New IP Address.
- <port>
- New Port.
5.32. nova cloudpipe-create 复制链接链接已复制到粘贴板!
usage: nova cloudpipe-create <project_id>
usage: nova cloudpipe-create <project_id>
Positional arguments
- <project_id>
- UUID of the project to create the cloudpipe for.
5.33. nova cloudpipe-list 复制链接链接已复制到粘贴板!
usage: nova cloudpipe-list
usage: nova cloudpipe-list
5.34. nova console-log 复制链接链接已复制到粘贴板!
usage: nova console-log [--length <length>] <server>
usage: nova console-log [--length <length>] <server>
Positional arguments
- <server>
- Name or ID of server.
Optional arguments
- --length <length>
- Length in lines to tail.
5.35. nova credentials 复制链接链接已复制到粘贴板!
usage: nova credentials [--wrap <integer>]
usage: nova credentials [--wrap <integer>]
Optional arguments
- --wrap <integer>
- wrap PKI tokens to a specified length, or 0 to disable
5.36. nova delete 复制链接链接已复制到粘贴板!
usage: nova delete <server> [<server> ...]
usage: nova delete <server> [<server> ...]
Positional arguments
- <server>
- Name or ID of server(s).
5.37. nova diagnostics 复制链接链接已复制到粘贴板!
usage: nova diagnostics <server>
usage: nova diagnostics <server>
Positional arguments
- <server>
- Name or ID of server.
5.38. nova dns-create 复制链接链接已复制到粘贴板!
usage: nova dns-create [--type <type>] <ip> <name> <domain>
usage: nova dns-create [--type <type>] <ip> <name> <domain>
Positional arguments
- <ip>
- IP address
- <name>
- DNS name
- <domain>
- DNS domain
Optional arguments
- --type <type>
- dns type (e.g. "A")
5.39. nova dns-create-private-domain 复制链接链接已复制到粘贴板!
usage: nova dns-create-private-domain [--availability-zone <availability-zone>] <domain>
usage: nova dns-create-private-domain [--availability-zone <availability-zone>] <domain>
Positional arguments
- <domain>
- DNS domain
Optional arguments
- --availability-zone <availability-zone>
- Limit access to this domain to servers in the specified availability zone.
5.40. nova dns-create-public-domain 复制链接链接已复制到粘贴板!
usage: nova dns-create-public-domain [--project <project>] <domain>
usage: nova dns-create-public-domain [--project <project>] <domain>
Positional arguments
- <domain>
- DNS domain
Optional arguments
- --project <project>
- Limit access to this domain to users of the specified project.
5.41. nova dns-delete 复制链接链接已复制到粘贴板!
usage: nova dns-delete <domain> <name>
usage: nova dns-delete <domain> <name>
Positional arguments
- <domain>
- DNS domain
- <name>
- DNS name
5.42. nova dns-delete-domain 复制链接链接已复制到粘贴板!
usage: nova dns-delete-domain <domain>
usage: nova dns-delete-domain <domain>
Positional arguments
- <domain>
- DNS domain
5.43. nova dns-domains 复制链接链接已复制到粘贴板!
usage: nova dns-domains
usage: nova dns-domains
5.44. nova dns-list 复制链接链接已复制到粘贴板!
usage: nova dns-list [--ip <ip>] [--name <name>] <domain>
usage: nova dns-list [--ip <ip>] [--name <name>] <domain>
Positional arguments
- <domain>
- DNS domain
Optional arguments
- --ip <ip> IP
- address
- --name <name> DNS
- name
5.45. nova endpoints 复制链接链接已复制到粘贴板!
usage: nova endpoints
usage: nova endpoints
5.46. nova evacuate 复制链接链接已复制到粘贴板!
usage: nova evacuate [--password <password>] [--on-shared-storage] <server> [<host>]
usage: nova evacuate [--password <password>] [--on-shared-storage] <server> [<host>]
Positional arguments
- <server>
- Name or ID of server.
- <host>
- Name or ID of the target host. If no host is specified, the scheduler will choose one.
Optional arguments
- --password <password>
- Set the provided admin password on the evacuated server. Not applicable with on-shared-storage flag
- --on-shared-storage
- Specifies whether server files are located on shared storage
5.47. nova fixed-ip-get 复制链接链接已复制到粘贴板!
usage: nova fixed-ip-get <fixed_ip>
usage: nova fixed-ip-get <fixed_ip>
Positional arguments
- <fixed_ip>
- Fixed IP Address.
5.48. nova fixed-ip-reserve 复制链接链接已复制到粘贴板!
usage: nova fixed-ip-reserve <fixed_ip>
usage: nova fixed-ip-reserve <fixed_ip>
Positional arguments
- <fixed_ip>
- Fixed IP Address.
5.49. nova fixed-ip-unreserve 复制链接链接已复制到粘贴板!
usage: nova fixed-ip-unreserve <fixed_ip>
usage: nova fixed-ip-unreserve <fixed_ip>
Positional arguments
- <fixed_ip>
- Fixed IP Address.
5.50. nova flavor-access-add 复制链接链接已复制到粘贴板!
usage: nova flavor-access-add <flavor> <tenant_id>
usage: nova flavor-access-add <flavor> <tenant_id>
Positional arguments
- <flavor>
- Flavor name or ID to add access for the given tenant.
- <tenant_id>
- Tenant ID to add flavor access for.
5.51. nova flavor-access-list 复制链接链接已复制到粘贴板!
usage: nova flavor-access-list [--flavor <flavor>] [--tenant <tenant_id>]
usage: nova flavor-access-list [--flavor <flavor>] [--tenant <tenant_id>]
Optional arguments
- --flavor <flavor>
- Filter results by flavor name or ID.
- --tenant <tenant_id>
- Filter results by tenant ID.
5.52. nova flavor-access-remove 复制链接链接已复制到粘贴板!
usage: nova flavor-access-remove <flavor> <tenant_id>
usage: nova flavor-access-remove <flavor> <tenant_id>
Positional arguments
- <flavor>
- Flavor name or ID to remove access for the given tenant.
- <tenant_id>
- Tenant ID to remove flavor access for.
5.53. nova flavor-create 复制链接链接已复制到粘贴板!
usage: nova flavor-create [--ephemeral <ephemeral>] [--swap <swap>] [--rxtx-factor <factor>] [--is-public <is-public>] <name> <id> <ram> <disk> <vcpus>
usage: nova flavor-create [--ephemeral <ephemeral>] [--swap <swap>] [--rxtx-factor <factor>] [--is-public <is-public>] <name> <id> <ram> <disk> <vcpus>
Positional arguments
- <name>
- Name of the new flavor
- <id>
- Unique ID (integer or UUID) for the new flavor. If specifying 'auto', a UUID will be generated as id
- <ram>
- Memory size in MB
- <disk>
- Disk size in GB
- <vcpus>
- Number of vcpus
Optional arguments
- --ephemeral <ephemeral>
- Ephemeral space size in GB (default 0)
- --swap <swap>
- Swap space size in MB (default 0)
- --rxtx-factor <factor>
- RX/TX factor (default 1)
- --is-public <is-public>
- Make flavor accessible to the public (default true)
5.54. nova flavor-delete 复制链接链接已复制到粘贴板!
usage: nova flavor-delete <flavor>
usage: nova flavor-delete <flavor>
Positional arguments
- <flavor>
- Name or ID of the flavor to delete
5.55. nova flavor-key 复制链接链接已复制到粘贴板!
usage: nova flavor-key <flavor> <action> <key=value> [<key=value> ...]
usage: nova flavor-key <flavor> <action> <key=value> [<key=value> ...]
Positional arguments
- <flavor>
- Name or ID of flavor
- <action>
- Actions: 'set' or 'unset'
- <key=value>
- Extra_specs to set/unset (only key is necessary on unset)
5.56. nova flavor-list 复制链接链接已复制到粘贴板!
usage: nova flavor-list [--extra-specs] [--all]
usage: nova flavor-list [--extra-specs] [--all]
Optional arguments
- --extra-specs
- Get extra-specs of each flavor.
- --all
- Display all flavors (Admin only).
5.57. nova flavor-show 复制链接链接已复制到粘贴板!
usage: nova flavor-show <flavor>
usage: nova flavor-show <flavor>
Positional arguments
- <flavor>
- Name or ID of flavor
5.58. nova floating-ip-associate 复制链接链接已复制到粘贴板!
usage: nova floating-ip-associate [--fixed-address <fixed_address>] <server> <address>
usage: nova floating-ip-associate [--fixed-address <fixed_address>] <server> <address>
Positional arguments
- <server>
- Name or ID of server.
- <address>
- IP Address.
Optional arguments
- --fixed-address <fixed_address>
- Fixed IP Address to associate with.
5.59. nova floating-ip-bulk-create 复制链接链接已复制到粘贴板!
usage: nova floating-ip-bulk-create [--pool <pool>] [--interface <interface>] <range>
usage: nova floating-ip-bulk-create [--pool <pool>] [--interface <interface>] <range>
Positional arguments
- <range>
- Address range to create
Optional arguments
- --pool <pool>
- Pool for new Floating IPs
- --interface <interface>
- Interface for new Floating IPs
5.60. nova floating-ip-bulk-delete 复制链接链接已复制到粘贴板!
usage: nova floating-ip-bulk-delete <range>
usage: nova floating-ip-bulk-delete <range>
Positional arguments
- <range>
- Address range to delete
5.61. nova floating-ip-bulk-list 复制链接链接已复制到粘贴板!
usage: nova floating-ip-bulk-list [--host <host>]
usage: nova floating-ip-bulk-list [--host <host>]
Optional arguments
- --host <host>
- Filter by host
5.62. nova floating-ip-create 复制链接链接已复制到粘贴板!
usage: nova floating-ip-create [<floating-ip-pool>]
usage: nova floating-ip-create [<floating-ip-pool>]
Positional arguments
- <floating-ip-pool>
- Name of Floating IP Pool. (Optional)
5.63. nova floating-ip-delete 复制链接链接已复制到粘贴板!
usage: nova floating-ip-delete <address>
usage: nova floating-ip-delete <address>
Positional arguments
- <address>
- IP of Floating IP.
5.64. nova floating-ip-disassociate 复制链接链接已复制到粘贴板!
usage: nova floating-ip-disassociate <server> <address>
usage: nova floating-ip-disassociate <server> <address>
Positional arguments
- <server>
- Name or ID of server.
- <address>
- IP Address.
5.65. nova floating-ip-list 复制链接链接已复制到粘贴板!
usage: nova floating-ip-list [--all-tenants]
usage: nova floating-ip-list [--all-tenants]
Optional arguments
- --all-tenants
- Display floatingips from all tenants (Admin only).
5.66. nova floating-ip-pool-list 复制链接链接已复制到粘贴板!
usage: nova floating-ip-pool-list
usage: nova floating-ip-pool-list
5.67. nova force-delete 复制链接链接已复制到粘贴板!
usage: nova force-delete <server>
usage: nova force-delete <server>
Positional arguments
- <server>
- Name or ID of server.
5.68. nova get-password 复制链接链接已复制到粘贴板!
usage: nova get-password <server> [<private-key>]
usage: nova get-password <server> [<private-key>]
Positional arguments
- <server>
- Name or ID of server.
- <private-key>
- Private key (used locally to decrypt password) (Optional). When specified, the command displays the clear (decrypted) VM password. When not specified, the ciphered VM password is displayed.
5.69. nova get-rdp-console 复制链接链接已复制到粘贴板!
usage: nova get-rdp-console <server> <console-type>
usage: nova get-rdp-console <server> <console-type>
Positional arguments
- <server>
- Name or ID of server.
- <console-type>
- Type of rdp console ("rdp-html5").
5.70. nova get-serial-console 复制链接链接已复制到粘贴板!
usage: nova get-serial-console [--console_type CONSOLE_TYPE] <server>
usage: nova get-serial-console [--console_type CONSOLE_TYPE] <server>
Positional arguments
- <server>
- Name or ID of server.
Optional arguments
- --console_type CONSOLE_TYPE
- Type of serial console, default="serial".
5.71. nova get-spice-console 复制链接链接已复制到粘贴板!
usage: nova get-spice-console <server> <console-type>
usage: nova get-spice-console <server> <console-type>
Positional arguments
- <server>
- Name or ID of server.
- <console-type>
- Type of spice console ("spice-html5").
5.72. nova get-vnc-console 复制链接链接已复制到粘贴板!
usage: nova get-vnc-console <server> <console-type>
usage: nova get-vnc-console <server> <console-type>
Positional arguments
- <server>
- Name or ID of server.
- <console-type>
- Type of vnc console ("novnc" or "xvpvnc").
5.73. nova host-action 复制链接链接已复制到粘贴板!
usage: nova host-action [--action <action>] <hostname>
usage: nova host-action [--action <action>] <hostname>
Positional arguments
- <hostname>
- Name of host.
Optional arguments
- --action <action> A
- power action: startup, reboot, or shutdown.
5.74. nova host-describe 复制链接链接已复制到粘贴板!
usage: nova host-describe <hostname>
usage: nova host-describe <hostname>
Positional arguments
- <hostname>
- Name of host.
5.75. nova host-evacuate 复制链接链接已复制到粘贴板!
usage: nova host-evacuate [--target_host <target_host>] [--on-shared-storage] <host>
usage: nova host-evacuate [--target_host <target_host>] [--on-shared-storage] <host>
Positional arguments
- <host>
- Name of host.
Optional arguments
- --target_host <target_host>
- Name of target host. If no host is specified the scheduler will select a target.
- --on-shared-storage
- Specifies whether all instances files are on shared storage
5.76. nova host-evacuate-live 复制链接链接已复制到粘贴板!
usage: nova host-evacuate-live [--target-host <target_host>] [--block-migrate] [--disk-over-commit] <host>
usage: nova host-evacuate-live [--target-host <target_host>] [--block-migrate] [--disk-over-commit] <host>
Positional arguments
- <host>
- Name of host.
Optional arguments
- --target-host <target_host>
- Name of target host.
- --block-migrate
- Enable block migration.
- --disk-over-commit
- Enable disk overcommit.
5.77. nova host-list 复制链接链接已复制到粘贴板!
usage: nova host-list [--zone <zone>]
usage: nova host-list [--zone <zone>]
Optional arguments
- --zone <zone>
- Filters the list, returning only those hosts in the availability zone <zone>.
5.78. nova host-meta 复制链接链接已复制到粘贴板!
usage: nova host-meta <host> <action> <key=value> [<key=value> ...]
usage: nova host-meta <host> <action> <key=value> [<key=value> ...]
Positional arguments
- <host>
- Name of host.
- <action>
- Actions: 'set' or 'delete'
- <key=value>
- Metadata to set or delete (only key is necessary on delete)
5.79. nova host-servers-migrate 复制链接链接已复制到粘贴板!
usage: nova host-servers-migrate <host>
usage: nova host-servers-migrate <host>
Positional arguments
- <host>
- Name of host.
5.80. nova host-update 复制链接链接已复制到粘贴板!
usage: nova host-update [--status <enable|disable>] [--maintenance <enable|disable>] <hostname>
usage: nova host-update [--status <enable|disable>] [--maintenance <enable|disable>] <hostname>
Positional arguments
- <hostname>
- Name of host.
Optional arguments
- --status <enable|disable>
- Either enable or disable a host.
- --maintenance <enable|disable>
- Either put or resume host to/from maintenance.
5.81. nova hypervisor-list 复制链接链接已复制到粘贴板!
usage: nova hypervisor-list [--matching <hostname>]
usage: nova hypervisor-list [--matching <hostname>]
Optional arguments
- --matching <hostname>
- List hypervisors matching the given <hostname>.
5.82. nova hypervisor-servers 复制链接链接已复制到粘贴板!
usage: nova hypervisor-servers <hostname>
usage: nova hypervisor-servers <hostname>
Positional arguments
- <hostname>
- The hypervisor hostname (or pattern) to search for.
5.83. nova hypervisor-show 复制链接链接已复制到粘贴板!
usage: nova hypervisor-show <hypervisor>
usage: nova hypervisor-show <hypervisor>
Positional arguments
- <hypervisor>
- Name or ID of the hypervisor to show the details of.
5.84. nova hypervisor-stats 复制链接链接已复制到粘贴板!
usage: nova hypervisor-stats
usage: nova hypervisor-stats
5.85. nova hypervisor-uptime 复制链接链接已复制到粘贴板!
usage: nova hypervisor-uptime <hypervisor>
usage: nova hypervisor-uptime <hypervisor>
Positional arguments
- <hypervisor>
- Name or ID of the hypervisor to show the uptime of.
5.86. nova image-create 复制链接链接已复制到粘贴板!
usage: nova image-create [--show] [--poll] <server> <name>
usage: nova image-create [--show] [--poll] <server> <name>
Positional arguments
- <server>
- Name or ID of server.
- <name>
- Name of snapshot.
Optional arguments
- --show
- Print image info.
- --poll
- Report the snapshot progress and poll until image creation is complete.
5.87. nova image-delete 复制链接链接已复制到粘贴板!
usage: nova image-delete <image> [<image> ...]
usage: nova image-delete <image> [<image> ...]
Positional arguments
- <image>
- Name or ID of image(s).
5.88. nova image-list 复制链接链接已复制到粘贴板!
usage: nova image-list [--limit <limit>]
usage: nova image-list [--limit <limit>]
Optional arguments
- --limit <limit>
- Number of images to return per request.
5.89. nova image-meta 复制链接链接已复制到粘贴板!
usage: nova image-meta <image> <action> <key=value> [<key=value> ...]
usage: nova image-meta <image> <action> <key=value> [<key=value> ...]
Positional arguments
- <image>
- Name or ID of image
- <action>
- Actions: 'set' or 'delete'
- <key=value>
- Metadata to add/update or delete (only key is necessary on delete)
5.90. nova image-show 复制链接链接已复制到粘贴板!
usage: nova image-show <image>
usage: nova image-show <image>
Positional arguments
- <image>
- Name or ID of image
5.91. nova instance-action 复制链接链接已复制到粘贴板!
usage: nova instance-action <server> <request_id>
usage: nova instance-action <server> <request_id>
Positional arguments
- <server>
- Name or UUID of the server to show an action for.
- <request_id>
- Request ID of the action to get.
5.92. nova instance-action-list 复制链接链接已复制到粘贴板!
usage: nova instance-action-list <server>
usage: nova instance-action-list <server>
Positional arguments
- <server>
- Name or UUID of the server to list actions for.
5.93. nova interface-attach 复制链接链接已复制到粘贴板!
usage: nova interface-attach [--port-id <port_id>] [--net-id <net_id>] [--fixed-ip <fixed_ip>] <server>
usage: nova interface-attach [--port-id <port_id>] [--net-id <net_id>] [--fixed-ip <fixed_ip>] <server>
Positional arguments
- <server>
- Name or ID of server.
Optional arguments
- --port-id <port_id>
- Port ID.
- --net-id <net_id>
- Network ID
- --fixed-ip <fixed_ip>
- Requested fixed IP.
5.94. nova interface-detach 复制链接链接已复制到粘贴板!
usage: nova interface-detach <server> <port_id>
usage: nova interface-detach <server> <port_id>
Positional arguments
- <server>
- Name or ID of server.
- <port_id>
- Port ID.
5.95. nova interface-list 复制链接链接已复制到粘贴板!
usage: nova interface-list <server>
usage: nova interface-list <server>
Positional arguments
- <server>
- Name or ID of server.
5.96. nova keypair-add 复制链接链接已复制到粘贴板!
usage: nova keypair-add [--pub-key <pub-key>] <name>
usage: nova keypair-add [--pub-key <pub-key>] <name>
Positional arguments
- <name>
- Name of key.
Optional arguments
- --pub-key <pub-key>
- Path to a public ssh key.
5.97. nova keypair-delete 复制链接链接已复制到粘贴板!
usage: nova keypair-delete <name>
usage: nova keypair-delete <name>
Positional arguments
- <name>
- Keypair name to delete.
5.98. nova keypair-list 复制链接链接已复制到粘贴板!
usage: nova keypair-list
usage: nova keypair-list
5.99. nova keypair-show 复制链接链接已复制到粘贴板!
usage: nova keypair-show <keypair>
usage: nova keypair-show <keypair>
Positional arguments
- <keypair>
- Name or ID of keypair
5.100. nova list 复制链接链接已复制到粘贴板!
usage: nova list [--reservation-id <reservation-id>] [--ip <ip-regexp>] [--ip6 <ip6-regexp>] [--name <name-regexp>] [--instance-name <name-regexp>] [--status <status>] [--flavor <flavor>] [--image <image>] [--host <hostname>] [--all-tenants [<0|1>]] [--tenant [<tenant>]] [--user [<user>]] [--deleted] [--fields <fields>] [--minimal] [--sort <key>[:<direction>]]
usage: nova list [--reservation-id <reservation-id>] [--ip <ip-regexp>] [--ip6 <ip6-regexp>] [--name <name-regexp>] [--instance-name <name-regexp>] [--status <status>] [--flavor <flavor>] [--image <image>] [--host <hostname>] [--all-tenants [<0|1>]] [--tenant [<tenant>]] [--user [<user>]] [--deleted] [--fields <fields>] [--minimal] [--sort <key>[:<direction>]]
Optional arguments
- --reservation-id <reservation-id>
- Only return servers that match reservation-id.
- --ip <ip-regexp>
- Search with regular expression match by IP address.
- --ip6 <ip6-regexp>
- Search with regular expression match by IPv6 address.
- --name <name-regexp>
- Search with regular expression match by name
- --instance-name <name-regexp>
- Search with regular expression match by server name.
- --status <status>
- Search by server status
- --flavor <flavor>
- Search by flavor name or ID
- --image <image>
- Search by image name or ID
- --host <hostname>
- Search servers by hostname to which they are assigned (Admin only).
- --all-tenants [<0|1>]
- Display information from all tenants (Admin only).
- --tenant [<tenant>]
- Display information from single tenant (Admin only). The --all-tenants option must also be provided.
- --user [<user>]
- Display information from single user (Admin only).
- --deleted
- Only display deleted servers (Admin only).
- --fields <fields>
- Comma-separated list of fields to display. Use the show command to see which fields are available.
- --minimal
- Get only uuid and name.
- --sort <key>[:<direction>]
- Comma-separated list of sort keys and directions in the form of <key>[:<asc|desc>]. The direction defaults to descending if not specified.
5.101. nova list-extensions 复制链接链接已复制到粘贴板!
usage: nova list-extensions
usage: nova list-extensions
5.102. nova list-secgroup 复制链接链接已复制到粘贴板!
usage: nova list-secgroup <server>
usage: nova list-secgroup <server>
Positional arguments
- <server>
- Name or ID of server.
5.103. nova live-migration 复制链接链接已复制到粘贴板!
usage: nova live-migration [--block-migrate] [--disk-over-commit] <server> [<host>]
usage: nova live-migration [--block-migrate] [--disk-over-commit] <server> [<host>]
Positional arguments
- <server>
- Name or ID of server.
- <host>
- destination host name.
Optional arguments
- --block-migrate
- True in case of block_migration. (Default=False:live_migration)
- --disk-over-commit
- Allow overcommit.(Default=False)
5.104. nova lock 复制链接链接已复制到粘贴板!
usage: nova lock <server>
usage: nova lock <server>
Positional arguments
- <server>
- Name or ID of server.
5.105. nova meta 复制链接链接已复制到粘贴板!
usage: nova meta <server> <action> <key=value> [<key=value> ...]
usage: nova meta <server> <action> <key=value> [<key=value> ...]
Positional arguments
- <server>
- Name or ID of server
- <action>
- Actions: 'set' or 'delete'
- <key=value>
- Metadata to set or delete (only key is necessary on delete)
5.106. nova migrate 复制链接链接已复制到粘贴板!
usage: nova migrate [--poll] <server>
usage: nova migrate [--poll] <server>
Positional arguments
- <server>
- Name or ID of server.
Optional arguments
- --poll
- Report the server migration progress until it completes.
5.107. nova migration-list 复制链接链接已复制到粘贴板!
usage: nova migration-list [--host <host>] [--status <status>] [--cell_name <cell_name>]
usage: nova migration-list [--host <host>] [--status <status>] [--cell_name <cell_name>]
Optional arguments
- --host <host>
- Fetch migrations for the given host.
- --status <status>
- Fetch migrations for the given status.
- --cell_name <cell_name>
- Fetch migrations for the given cell_name.
5.108. nova net 复制链接链接已复制到粘贴板!
usage: nova net <network_id>
usage: nova net <network_id>
Positional arguments
- <network_id>
- ID of network
5.109. nova net-create 复制链接链接已复制到粘贴板!
usage: nova net-create <network_label> <cidr>
usage: nova net-create <network_label> <cidr>
Positional arguments
- <network_label>
- Network label (ex. my_new_network)
- <cidr>
- IP block to allocate from (ex. 172.16.0.0/24 or 2001:DB8::/64)
5.110. nova net-delete 复制链接链接已复制到粘贴板!
usage: nova net-delete <network_id>
usage: nova net-delete <network_id>
Positional arguments
- <network_id>
- ID of network
5.111. nova net-list 复制链接链接已复制到粘贴板!
usage: nova net-list
usage: nova net-list
5.112. nova network-associate-host 复制链接链接已复制到粘贴板!
usage: nova network-associate-host <network> <host>
usage: nova network-associate-host <network> <host>
Positional arguments
- <network>
- uuid of network
- <host>
- Name of host
5.113. nova network-associate-project 复制链接链接已复制到粘贴板!
usage: nova network-associate-project <network>
usage: nova network-associate-project <network>
Positional arguments
- <network>
- uuid of network
5.114. nova network-create 复制链接链接已复制到粘贴板!
usage: nova network-create [--fixed-range-v4 <x.x.x.x/yy>] [--fixed-range-v6 CIDR_V6] [--vlan <vlan id>] [--vlan-start <vlan start>] [--vpn <vpn start>] [--gateway GATEWAY] [--gateway-v6 GATEWAY_V6] [--bridge <bridge>] [--bridge-interface <bridge interface>] [--multi-host <'T'|'F'>] [--dns1 <DNS Address>] [--dns2 <DNS Address>] [--uuid <network uuid>] [--fixed-cidr <x.x.x.x/yy>] [--project-id <project id>] [--priority <number>] [--mtu MTU] [--enable-dhcp <'T'|'F'>] [--dhcp-server DHCP_SERVER] [--share-address <'T'|'F'>] [--allowed-start ALLOWED_START] [--allowed-end ALLOWED_END] <network_label>
usage: nova network-create [--fixed-range-v4 <x.x.x.x/yy>] [--fixed-range-v6 CIDR_V6] [--vlan <vlan id>] [--vlan-start <vlan start>] [--vpn <vpn start>] [--gateway GATEWAY] [--gateway-v6 GATEWAY_V6] [--bridge <bridge>] [--bridge-interface <bridge interface>] [--multi-host <'T'|'F'>] [--dns1 <DNS Address>] [--dns2 <DNS Address>] [--uuid <network uuid>] [--fixed-cidr <x.x.x.x/yy>] [--project-id <project id>] [--priority <number>] [--mtu MTU] [--enable-dhcp <'T'|'F'>] [--dhcp-server DHCP_SERVER] [--share-address <'T'|'F'>] [--allowed-start ALLOWED_START] [--allowed-end ALLOWED_END] <network_label>
Positional arguments
- <network_label>
- Label for network
Optional arguments
- --fixed-range-v4 <x.x.x.x/yy>
- IPv4 subnet (ex: 10.0.0.0/8)
- --fixed-range-v6
- CIDR_V6 IPv6 subnet (ex: fe80::/64
- --vlan <vlan id>
- The vlan ID to be assigned to the project.
- --vlan-start <vlan start>
- First vlan ID to be assigned to the project. Subsequent vlan IDs will be assigned incrementally.
- --vpn <vpn start>
- vpn start
- --gateway GATEWAY
- gateway
- --gateway-v6
- GATEWAY_V6 IPv6 gateway
- --bridge <bridge>
- VIFs on this network are connected to this bridge.
- --bridge-interface <bridge interface>
- The bridge is connected to this interface.
- --multi-host <'T'|'F'>
- Multi host
- --dns1 <DNS Address>
- First DNS
- --dns2 <DNS Address>
- Second DNS
- --uuid <network uuid>
- Network UUID
- --fixed-cidr <x.x.x.x/yy>
- IPv4 subnet for fixed IPs (ex: 10.20.0.0/16)
- --project-id <project id>
- Project ID
- --priority <number>
- Network interface priority
- --mtu MTU MTU
- for network
- --enable-dhcp <'T'|'F'>
- Enable dhcp
- --dhcp-server DHCP_SERVER
- Dhcp-server (defaults to gateway address)
- --share-address <'T'|'F'>
- Share address
- --allowed-start ALLOWED_START
- Start of allowed addresses for instances
- --allowed-end ALLOWED_END
- End of allowed addresses for instances
5.115. nova network-delete 复制链接链接已复制到粘贴板!
usage: nova network-delete <network>
usage: nova network-delete <network>
Positional arguments
- <network>
- uuid or label of network
5.116. nova network-disassociate 复制链接链接已复制到粘贴板!
usage: nova network-disassociate [--host-only [<0|1>]] [--project-only [<0|1>]] <network>
usage: nova network-disassociate [--host-only [<0|1>]] [--project-only [<0|1>]] <network>
Positional arguments
- <network>
- uuid of network
Optional arguments
- --host-only [<0|1>]
- --project-only [<0|1>]
5.117. nova network-list 复制链接链接已复制到粘贴板!
usage: nova network-list [--fields <fields>]
usage: nova network-list [--fields <fields>]
Optional arguments
- --fields <fields>
- Comma-separated list of fields to display. Use the show command to see which fields are available.
5.118. nova network-show 复制链接链接已复制到粘贴板!
usage: nova network-show <network>
usage: nova network-show <network>
Positional arguments
- <network>
- uuid or label of network
5.119. nova pause 复制链接链接已复制到粘贴板!
usage: nova pause <server>
usage: nova pause <server>
Positional arguments
- <server>
- Name or ID of server.
5.120. nova quota-class-show 复制链接链接已复制到粘贴板!
usage: nova quota-class-show <class>
usage: nova quota-class-show <class>
Positional arguments
- <class>
- Name of quota class to list the quotas for.
5.121. nova quota-class-update 复制链接链接已复制到粘贴板!
usage: nova quota-class-update [--instances <instances>] [--cores <cores>] [--ram <ram>] [--floating-ips <floating-ips>] [--fixed-ips <fixed-ips>] [--metadata-items <metadata-items>] [--injected-files <injected-files>] [--injected-file-content-bytes <injected-file-content-bytes>] [--injected-file-path-bytes <injected-file-path-bytes>] [--key-pairs <key-pairs>] [--security-groups <security-groups>] [--security-group-rules <security-group-rules>] [--server-groups <server-groups>] [--server-group-members <server-group-members>] <class>
usage: nova quota-class-update [--instances <instances>] [--cores <cores>] [--ram <ram>] [--floating-ips <floating-ips>] [--fixed-ips <fixed-ips>] [--metadata-items <metadata-items>] [--injected-files <injected-files>] [--injected-file-content-bytes <injected-file-content-bytes>] [--injected-file-path-bytes <injected-file-path-bytes>] [--key-pairs <key-pairs>] [--security-groups <security-groups>] [--security-group-rules <security-group-rules>] [--server-groups <server-groups>] [--server-group-members <server-group-members>] <class>
Positional arguments
- <class>
- Name of quota class to set the quotas for.
Optional arguments
- --instances <instances>
- New value for the "instances" quota.
- --cores <cores>
- New value for the "cores" quota.
- --ram <ram>
- New value for the "ram" quota.
- --floating-ips <floating-ips>
- New value for the "floating-ips" quota.
- --fixed-ips <fixed-ips>
- New value for the "fixed-ips" quota.
- --metadata-items <metadata-items>
- New value for the "metadata-items" quota.
- --injected-files <injected-files>
- New value for the "injected-files" quota.
- --injected-file-content-bytes <injected-file-content-bytes>
- New value for the "injected-file-content- bytes" quota.
- --injected-file-path-bytes <injected-file-path-bytes>
- New value for the "injected-file-path-bytes" quota.
- --key-pairs <key-pairs>
- New value for the "key-pairs" quota.
- --security-groups <security-groups>
- New value for the "security-groups" quota.
- --security-group-rules <security-group-rules>
- New value for the "security-group-rules" quota.
- --server-groups <server-groups>
- New value for the "server-groups" quota.
- --server-group-members <server-group-members>
- New value for the "server-group-members" quota.
5.122. nova quota-defaults 复制链接链接已复制到粘贴板!
usage: nova quota-defaults [--tenant <tenant-id>]
usage: nova quota-defaults [--tenant <tenant-id>]
Optional arguments
- --tenant <tenant-id> ID
- of tenant to list the default quotas for.
5.123. nova quota-delete 复制链接链接已复制到粘贴板!
usage: nova quota-delete --tenant <tenant-id> [--user <user-id>]
usage: nova quota-delete --tenant <tenant-id> [--user <user-id>]
Optional arguments
- --tenant <tenant-id> ID
- of tenant to delete quota for.
- --user <user-id> ID
- of user to delete quota for.
5.124. nova quota-show 复制链接链接已复制到粘贴板!
usage: nova quota-show [--tenant <tenant-id>] [--user <user-id>]
usage: nova quota-show [--tenant <tenant-id>] [--user <user-id>]
Optional arguments
- --tenant <tenant-id> ID
- of tenant to list the quotas for.
- --user <user-id> ID
- of user to list the quotas for.
5.125. nova quota-update 复制链接链接已复制到粘贴板!
usage: nova quota-update [--user <user-id>] [--instances <instances>] [--cores <cores>] [--ram <ram>] [--floating-ips <floating-ips>] [--fixed-ips <fixed-ips>] [--metadata-items <metadata-items>] [--injected-files <injected-files>] [--injected-file-content-bytes <injected-file-content-bytes>] [--injected-file-path-bytes <injected-file-path-bytes>] [--key-pairs <key-pairs>] [--security-groups <security-groups>] [--security-group-rules <security-group-rules>] [--server-groups <server-groups>] [--server-group-members <server-group-members>] [--force] <tenant-id>
usage: nova quota-update [--user <user-id>] [--instances <instances>] [--cores <cores>] [--ram <ram>] [--floating-ips <floating-ips>] [--fixed-ips <fixed-ips>] [--metadata-items <metadata-items>] [--injected-files <injected-files>] [--injected-file-content-bytes <injected-file-content-bytes>] [--injected-file-path-bytes <injected-file-path-bytes>] [--key-pairs <key-pairs>] [--security-groups <security-groups>] [--security-group-rules <security-group-rules>] [--server-groups <server-groups>] [--server-group-members <server-group-members>] [--force] <tenant-id>
Positional arguments
- <tenant-id>
- ID of tenant to set the quotas for.
Optional arguments
- --user <user-id> ID
- of user to set the quotas for.
- --instances <instances>
- New value for the "instances" quota.
- --cores <cores>
- New value for the "cores" quota.
- --ram <ram>
- New value for the "ram" quota.
- --floating-ips <floating-ips>
- New value for the "floating-ips" quota.
- --fixed-ips <fixed-ips>
- New value for the "fixed-ips" quota.
- --metadata-items <metadata-items>
- New value for the "metadata-items" quota.
- --injected-files <injected-files>
- New value for the "injected-files" quota.
- --injected-file-content-bytes <injected-file-content-bytes>
- New value for the "injected-file-content- bytes" quota.
- --injected-file-path-bytes <injected-file-path-bytes>
- New value for the "injected-file-path-bytes" quota.
- --key-pairs <key-pairs>
- New value for the "key-pairs" quota.
- --security-groups <security-groups>
- New value for the "security-groups" quota.
- --security-group-rules <security-group-rules>
- New value for the "security-group-rules" quota.
- --server-groups <server-groups>
- New value for the "server-groups" quota.
- --server-group-members <server-group-members>
- New value for the "server-group-members" quota.
- --force
- Whether force update the quota even if the already used and reserved exceeds the new quota
5.126. nova rate-limits 复制链接链接已复制到粘贴板!
usage: nova rate-limits
usage: nova rate-limits
5.127. nova reboot 复制链接链接已复制到粘贴板!
usage: nova reboot [--hard] [--poll] <server>
usage: nova reboot [--hard] [--poll] <server>
Positional arguments
- <server>
- Name or ID of server.
Optional arguments
- --hard
- Perform a hard reboot (instead of a soft one).
- --poll
- Poll until reboot is complete.
5.128. nova rebuild 复制链接链接已复制到粘贴板!
usage: nova rebuild [--rebuild-password <rebuild-password>] [--poll] [--minimal] [--preserve-ephemeral] [--name <name>] [--meta <key=value>] [--file <dst-path=src-path>] <server> <image>
usage: nova rebuild [--rebuild-password <rebuild-password>] [--poll] [--minimal] [--preserve-ephemeral] [--name <name>] [--meta <key=value>] [--file <dst-path=src-path>] <server> <image>
Positional arguments
- <server>
- Name or ID of server.
- <image>
- Name or ID of new image.
Optional arguments
- --rebuild-password <rebuild-password>
- Set the provided admin password on the rebuilt server.
- --poll
- Report the server rebuild progress until it completes.
- --minimal
- Skips flavor/image lookups when showing servers
- --preserve-ephemeral
- Preserve the default ephemeral storage partition on rebuild.
- --name <name>
- Name for the new server
- --meta <key=value>
- Record arbitrary key/value metadata to /meta_data.json on the metadata server. Can be specified multiple times.
- --file <dst-path=src-path>
- Store arbitrary files from <src-path> locally to <dst-path> on the new server. You may store up to 5 files.
5.129. nova refresh-network 复制链接链接已复制到粘贴板!
usage: nova refresh-network <server>
usage: nova refresh-network <server>
Positional arguments
- <server>
- Name or ID of a server for which the network cache should be refreshed from neutron (Admin only).
5.130. nova remove-fixed-ip 复制链接链接已复制到粘贴板!
usage: nova remove-fixed-ip <server> <address>
usage: nova remove-fixed-ip <server> <address>
Positional arguments
- <server>
- Name or ID of server.
- <address>
- IP Address.
5.131. nova remove-secgroup 复制链接链接已复制到粘贴板!
usage: nova remove-secgroup <server> <secgroup>
usage: nova remove-secgroup <server> <secgroup>
Positional arguments
- <server>
- Name or ID of server.
- <secgroup>
- Name of Security Group.
5.132. nova rename 复制链接链接已复制到粘贴板!
usage: nova rename <server> <name>
usage: nova rename <server> <name>
Positional arguments
- <server>
- Name (old name) or ID of server.
- <name>
- New name for the server.
5.133. nova rescue 复制链接链接已复制到粘贴板!
usage: nova rescue [--password <password>] [--image <image>] <server>
usage: nova rescue [--password <password>] [--image <image>] <server>
Positional arguments
- <server>
- Name or ID of server.
Optional arguments
- --password <password>
- The admin password to be set in the rescue environment.
- --image <image>
- The image to rescue with.
5.134. nova reset-network 复制链接链接已复制到粘贴板!
usage: nova reset-network <server>
usage: nova reset-network <server>
Positional arguments
- <server>
- Name or ID of server.
5.135. nova reset-state 复制链接链接已复制到粘贴板!
usage: nova reset-state [--active] <server> [<server> ...]
usage: nova reset-state [--active] <server> [<server> ...]
Positional arguments
- <server>
- Name or ID of server(s).
Optional arguments
- --active
- Request the server be reset to "active" state instead of "error" state (the default).
5.136. nova resize 复制链接链接已复制到粘贴板!
usage: nova resize [--poll] <server> <flavor>
usage: nova resize [--poll] <server> <flavor>
Positional arguments
- <server>
- Name or ID of server.
- <flavor>
- Name or ID of new flavor.
Optional arguments
- --poll
- Report the server resize progress until it completes.
5.137. nova resize-confirm 复制链接链接已复制到粘贴板!
usage: nova resize-confirm <server>
usage: nova resize-confirm <server>
Positional arguments
- <server>
- Name or ID of server.
5.138. nova resize-revert 复制链接链接已复制到粘贴板!
usage: nova resize-revert <server>
usage: nova resize-revert <server>
Positional arguments
- <server>
- Name or ID of server.
5.139. nova restore 复制链接链接已复制到粘贴板!
usage: nova restore <server>
usage: nova restore <server>
Positional arguments
- <server>
- Name or ID of server.
5.140. nova resume 复制链接链接已复制到粘贴板!
usage: nova resume <server>
usage: nova resume <server>
Positional arguments
- <server>
- Name or ID of server.
5.141. nova root-password 复制链接链接已复制到粘贴板!
usage: nova root-password <server>
usage: nova root-password <server>
Positional arguments
- <server>
- Name or ID of server.
5.142. nova scrub 复制链接链接已复制到粘贴板!
usage: nova scrub <project_id>
usage: nova scrub <project_id>
Positional arguments
- <project_id>
- The ID of the project.
5.143. nova secgroup-add-default-rule 复制链接链接已复制到粘贴板!
usage: nova secgroup-add-default-rule <ip-proto> <from-port> <to-port> <cidr>
usage: nova secgroup-add-default-rule <ip-proto> <from-port> <to-port> <cidr>
Positional arguments
- <ip-proto>
- IP protocol (icmp, tcp, udp).
- <from-port>
- Port at start of range.
- <to-port>
- Port at end of range.
- <cidr>
- CIDR for address range.
5.144. nova secgroup-add-group-rule 复制链接链接已复制到粘贴板!
usage: nova secgroup-add-group-rule <secgroup> <source-group> <ip-proto> <from-port> <to-port>
usage: nova secgroup-add-group-rule <secgroup> <source-group> <ip-proto> <from-port> <to-port>
Positional arguments
- <secgroup>
- ID or name of security group.
- <source-group>
- ID or name of source group.
- <ip-proto>
- IP protocol (icmp, tcp, udp).
- <from-port>
- Port at start of range.
- <to-port>
- Port at end of range.
5.145. nova secgroup-add-rule 复制链接链接已复制到粘贴板!
usage: nova secgroup-add-rule <secgroup> <ip-proto> <from-port> <to-port> <cidr>
usage: nova secgroup-add-rule <secgroup> <ip-proto> <from-port> <to-port> <cidr>
Positional arguments
- <secgroup>
- ID or name of security group.
- <ip-proto>
- IP protocol (icmp, tcp, udp).
- <from-port>
- Port at start of range.
- <to-port>
- Port at end of range.
- <cidr>
- CIDR for address range.
5.146. nova secgroup-create 复制链接链接已复制到粘贴板!
usage: nova secgroup-create <name> <description>
usage: nova secgroup-create <name> <description>
Positional arguments
- <name>
- Name of security group.
- <description>
- Description of security group.
5.147. nova secgroup-delete 复制链接链接已复制到粘贴板!
usage: nova secgroup-delete <secgroup>
usage: nova secgroup-delete <secgroup>
Positional arguments
- <secgroup>
- ID or name of security group.
5.148. nova secgroup-delete-default-rule 复制链接链接已复制到粘贴板!
usage: nova secgroup-delete-default-rule <ip-proto> <from-port> <to-port> <cidr>
usage: nova secgroup-delete-default-rule <ip-proto> <from-port> <to-port> <cidr>
Positional arguments
- <ip-proto>
- IP protocol (icmp, tcp, udp).
- <from-port>
- Port at start of range.
- <to-port>
- Port at end of range.
- <cidr>
- CIDR for address range.
5.149. nova secgroup-delete-group-rule 复制链接链接已复制到粘贴板!
usage: nova secgroup-delete-group-rule <secgroup> <source-group> <ip-proto> <from-port> <to-port>
usage: nova secgroup-delete-group-rule <secgroup> <source-group> <ip-proto> <from-port> <to-port>
Positional arguments
- <secgroup>
- ID or name of security group.
- <source-group>
- ID or name of source group.
- <ip-proto>
- IP protocol (icmp, tcp, udp).
- <from-port>
- Port at start of range.
- <to-port>
- Port at end of range.
5.150. nova secgroup-delete-rule 复制链接链接已复制到粘贴板!
usage: nova secgroup-delete-rule <secgroup> <ip-proto> <from-port> <to-port> <cidr>
usage: nova secgroup-delete-rule <secgroup> <ip-proto> <from-port> <to-port> <cidr>
Positional arguments
- <secgroup>
- ID or name of security group.
- <ip-proto>
- IP protocol (icmp, tcp, udp).
- <from-port>
- Port at start of range.
- <to-port>
- Port at end of range.
- <cidr>
- CIDR for address range.
5.151. nova secgroup-list 复制链接链接已复制到粘贴板!
usage: nova secgroup-list [--all-tenants [<0|1>]]
usage: nova secgroup-list [--all-tenants [<0|1>]]
Optional arguments
- --all-tenants [<0|1>]
- Display information from all tenants (Admin only).
5.152. nova secgroup-list-default-rules 复制链接链接已复制到粘贴板!
usage: nova secgroup-list-default-rules
usage: nova secgroup-list-default-rules
5.153. nova secgroup-list-rules 复制链接链接已复制到粘贴板!
usage: nova secgroup-list-rules <secgroup>
usage: nova secgroup-list-rules <secgroup>
Positional arguments
- <secgroup>
- ID or name of security group.
5.154. nova secgroup-update 复制链接链接已复制到粘贴板!
usage: nova secgroup-update <secgroup> <name> <description>
usage: nova secgroup-update <secgroup> <name> <description>
Positional arguments
- <secgroup>
- ID or name of security group.
- <name>
- Name of security group.
- <description>
- Description of security group.
5.155. nova server-group-create 复制链接链接已复制到粘贴板!
usage: nova server-group-create <name> [<policy> [<policy> ...]]
usage: nova server-group-create <name> [<policy> [<policy> ...]]
Positional arguments
- <name>
- Server group name.
- <policy>
- Policies for the server groups ("affinity" or "anti-affinity")
5.156. nova server-group-delete 复制链接链接已复制到粘贴板!
usage: nova server-group-delete <id> [<id> ...]
usage: nova server-group-delete <id> [<id> ...]
Positional arguments
- <id>
- Unique ID(s) of the server group to delete
5.157. nova server-group-get 复制链接链接已复制到粘贴板!
usage: nova server-group-get <id>
usage: nova server-group-get <id>
Positional arguments
- <id>
- Unique ID of the server group to get
5.158. nova server-group-list 复制链接链接已复制到粘贴板!
usage: nova server-group-list
usage: nova server-group-list
5.159. nova service-delete 复制链接链接已复制到粘贴板!
usage: nova service-delete <id>
usage: nova service-delete <id>
Positional arguments
- <id>
- Id of service.
5.160. nova service-disable 复制链接链接已复制到粘贴板!
usage: nova service-disable [--reason <reason>] <hostname> <binary>
usage: nova service-disable [--reason <reason>] <hostname> <binary>
Positional arguments
- <hostname>
- Name of host.
- <binary>
- Service binary.
Optional arguments
- --reason <reason>
- Reason for disabling service.
5.161. nova service-enable 复制链接链接已复制到粘贴板!
usage: nova service-enable <hostname> <binary>
usage: nova service-enable <hostname> <binary>
Positional arguments
- <hostname>
- Name of host.
- <binary>
- Service binary.
5.162. nova service-list 复制链接链接已复制到粘贴板!
usage: nova service-list [--host <hostname>] [--binary <binary>]
usage: nova service-list [--host <hostname>] [--binary <binary>]
Optional arguments
- --host <hostname>
- Name of host.
- --binary <binary>
- Service binary.
5.163. nova shelve 复制链接链接已复制到粘贴板!
usage: nova shelve <server>
usage: nova shelve <server>
Positional arguments
- <server>
- Name or ID of server.
5.164. nova shelve-offload 复制链接链接已复制到粘贴板!
usage: nova shelve-offload <server>
usage: nova shelve-offload <server>
Positional arguments
- <server>
- Name or ID of server.
5.165. nova show 复制链接链接已复制到粘贴板!
usage: nova show [--minimal] <server>
usage: nova show [--minimal] <server>
Positional arguments
- <server>
- Name or ID of server.
Optional arguments
- --minimal
- Skips flavor/image lookups when showing servers
5.166. nova ssh 复制链接链接已复制到粘贴板!
usage: nova ssh [--port PORT] [--address-type ADDRESS_TYPE] [--network <network>] [--ipv6] [--login <login>] [-i IDENTITY] [--extra-opts EXTRA] <server>
usage: nova ssh [--port PORT] [--address-type ADDRESS_TYPE] [--network <network>] [--ipv6] [--login <login>] [-i IDENTITY] [--extra-opts EXTRA] <server>
Positional arguments
- <server>
- Name or ID of server.
Optional arguments
- --port PORT
- Optional flag to indicate which port to use for ssh. (Default=22)
- --address-type ADDRESS_TYPE
- Optional flag to indicate which IP type to use. Possible values includes fixed and floating (the Default).
- --network <network>
- Network to use for the ssh.
- --ipv6
- Optional flag to indicate whether to use an IPv6 address attached to a server. (Defaults to IPv4 address)
- --login <login>
- Login to use.
- -i IDENTITY, --identity IDENTITY
- Private key file, same as the -i option to the ssh command.
- --extra-opts EXTRA
- Extra options to pass to ssh. see: man ssh
5.167. nova start 复制链接链接已复制到粘贴板!
usage: nova start <server> [<server> ...]
usage: nova start <server> [<server> ...]
Positional arguments
- <server>
- Name or ID of server(s).
5.168. nova stop 复制链接链接已复制到粘贴板!
usage: nova stop <server> [<server> ...]
usage: nova stop <server> [<server> ...]
Positional arguments
- <server>
- Name or ID of server(s).
5.169. nova suspend 复制链接链接已复制到粘贴板!
usage: nova suspend <server>
usage: nova suspend <server>
Positional arguments
- <server>
- Name or ID of server.
5.170. nova tenant-network-create 复制链接链接已复制到粘贴板!
usage: nova tenant-network-create <network_label> <cidr>
usage: nova tenant-network-create <network_label> <cidr>
Positional arguments
- <network_label>
- Network label (ex. my_new_network)
- <cidr>
- IP block to allocate from (ex. 172.16.0.0/24 or 2001:DB8::/64)
5.171. nova tenant-network-delete 复制链接链接已复制到粘贴板!
usage: nova tenant-network-delete <network_id>
usage: nova tenant-network-delete <network_id>
Positional arguments
- <network_id>
- ID of network
5.172. nova tenant-network-list 复制链接链接已复制到粘贴板!
usage: nova tenant-network-list
usage: nova tenant-network-list
5.173. nova tenant-network-show 复制链接链接已复制到粘贴板!
usage: nova tenant-network-show <network_id>
usage: nova tenant-network-show <network_id>
Positional arguments
- <network_id>
- ID of network
5.174. nova unlock 复制链接链接已复制到粘贴板!
usage: nova unlock <server>
usage: nova unlock <server>
Positional arguments
- <server>
- Name or ID of server.
5.175. nova unpause 复制链接链接已复制到粘贴板!
usage: nova unpause <server>
usage: nova unpause <server>
Positional arguments
- <server>
- Name or ID of server.
5.176. nova unrescue 复制链接链接已复制到粘贴板!
usage: nova unrescue <server>
usage: nova unrescue <server>
Positional arguments
- <server>
- Name or ID of server.
5.177. nova unshelve 复制链接链接已复制到粘贴板!
usage: nova unshelve <server>
usage: nova unshelve <server>
Positional arguments
- <server>
- Name or ID of server.
5.178. nova usage 复制链接链接已复制到粘贴板!
usage: nova usage [--start <start>] [--end <end>] [--tenant <tenant-id>]
usage: nova usage [--start <start>] [--end <end>] [--tenant <tenant-id>]
Optional arguments
- --start <start>
- Usage range start date ex 2012-01-20 (default: 4 weeks ago)
- --end <end>
- Usage range end date, ex 2012-01-20 (default: tomorrow)
- --tenant <tenant-id> UUID
- of tenant to get usage for.
5.179. nova usage-list 复制链接链接已复制到粘贴板!
usage: nova usage-list [--start <start>] [--end <end>]
usage: nova usage-list [--start <start>] [--end <end>]
Optional arguments
- --start <start>
- Usage range start date ex 2012-01-20 (default: 4 weeks ago)
- --end <end>
- Usage range end date, ex 2012-01-20 (default: tomorrow)
5.180. nova version-list 复制链接链接已复制到粘贴板!
usage: nova version-list
usage: nova version-list
5.181. nova volume-attach 复制链接链接已复制到粘贴板!
usage: nova volume-attach <server> <volume> [<device>]
usage: nova volume-attach <server> <volume> [<device>]
Positional arguments
- <server>
- Name or ID of server.
- <volume>
- ID of the volume to attach.
- <device>
- Name of the device e.g. /dev/vdb. Use "auto" for autoassign (if supported)
5.182. nova volume-create 复制链接链接已复制到粘贴板!
usage: nova volume-create [--snapshot-id <snapshot-id>] [--image-id <image-id>] [--display-name <display-name>] [--display-description <display-description>] [--volume-type <volume-type>] [--availability-zone <availability-zone>] <size>
usage: nova volume-create [--snapshot-id <snapshot-id>] [--image-id <image-id>] [--display-name <display-name>] [--display-description <display-description>] [--volume-type <volume-type>] [--availability-zone <availability-zone>] <size>
Positional arguments
- <size>
- Size of volume in GB
Optional arguments
- --snapshot-id <snapshot-id>
- Optional snapshot id to create the volume from. (Default=None)
- --image-id <image-id>
- Optional image id to create the volume from. (Default=None)
- --display-name <display-name>
- Optional volume name. (Default=None)
- --display-description <display-description>
- Optional volume description. (Default=None)
- --volume-type <volume-type>
- Optional volume type. (Default=None)
- --availability-zone <availability-zone>
- Optional Availability Zone for volume. (Default=None)
5.183. nova volume-delete 复制链接链接已复制到粘贴板!
usage: nova volume-delete <volume> [<volume> ...]
usage: nova volume-delete <volume> [<volume> ...]
Positional arguments
- <volume>
- Name or ID of the volume(s) to delete.
5.184. nova volume-detach 复制链接链接已复制到粘贴板!
usage: nova volume-detach <server> <volume>
usage: nova volume-detach <server> <volume>
Positional arguments
- <server>
- Name or ID of server.
- <volume>
- ID of the volume to detach.
5.185. nova volume-list 复制链接链接已复制到粘贴板!
usage: nova volume-list [--all-tenants [<0|1>]]
usage: nova volume-list [--all-tenants [<0|1>]]
Optional arguments
- --all-tenants [<0|1>]
- Display information from all tenants (Admin only).
5.186. nova volume-show 复制链接链接已复制到粘贴板!
usage: nova volume-show <volume>
usage: nova volume-show <volume>
Positional arguments
- <volume>
- Name or ID of the volume.
5.187. nova volume-snapshot-create 复制链接链接已复制到粘贴板!
usage: nova volume-snapshot-create [--force <True|False>] [--display-name <display-name>] [--display-description <display-description>] <volume-id>
usage: nova volume-snapshot-create [--force <True|False>] [--display-name <display-name>] [--display-description <display-description>] <volume-id>
Positional arguments
- <volume-id>
- ID of the volume to snapshot
Optional arguments
- --force <True|False>
- Optional flag to indicate whether to snapshot a volume even if its attached to a server. (Default=False)
- --display-name <display-name>
- Optional snapshot name. (Default=None)
- --display-description <display-description>
- Optional snapshot description. (Default=None)
5.188. nova volume-snapshot-delete 复制链接链接已复制到粘贴板!
usage: nova volume-snapshot-delete <snapshot>
usage: nova volume-snapshot-delete <snapshot>
Positional arguments
- <snapshot>
- Name or ID of the snapshot to delete.
5.189. nova volume-snapshot-list 复制链接链接已复制到粘贴板!
usage: nova volume-snapshot-list
usage: nova volume-snapshot-list
5.190. nova volume-snapshot-show 复制链接链接已复制到粘贴板!
usage: nova volume-snapshot-show <snapshot>
usage: nova volume-snapshot-show <snapshot>
Positional arguments
- <snapshot>
- Name or ID of the snapshot.
5.191. nova volume-type-create 复制链接链接已复制到粘贴板!
usage: nova volume-type-create <name>
usage: nova volume-type-create <name>
Positional arguments
- <name>
- Name of the new volume type
5.192. nova volume-type-delete 复制链接链接已复制到粘贴板!
usage: nova volume-type-delete <id>
usage: nova volume-type-delete <id>
Positional arguments
- <id>
- Unique ID of the volume type to delete
5.193. nova volume-type-list 复制链接链接已复制到粘贴板!
usage: nova volume-type-list
usage: nova volume-type-list
5.194. nova volume-update 复制链接链接已复制到粘贴板!
usage: nova volume-update <server> <attachment> <volume>
usage: nova volume-update <server> <attachment> <volume>
Positional arguments
- <server>
- Name or ID of server.
- <attachment>
- Attachment ID of the volume.
- <volume>
- ID of the volume to attach.
5.195. nova x509-create-cert 复制链接链接已复制到粘贴板!
usage: nova x509-create-cert [<private-key-filename>] [<x509-cert-filename>]
usage: nova x509-create-cert [<private-key-filename>] [<x509-cert-filename>]
Positional arguments
- <private-key-filename>
- Filename for the private key [Default: pk.pem]
- <x509-cert-filename>
- Filename for the X.509 certificate [Default: cert.pem]
5.196. nova x509-get-root-cert 复制链接链接已复制到粘贴板!
usage: nova x509-get-root-cert [<filename>]
usage: nova x509-get-root-cert [<filename>]
Positional arguments
- <filename>
- Filename to write the x509 root cert.