cmd - nova

Commands

 

Help:

nova help

nova help <command>

 

Usage:

一般:

list

boot - Boot a new server

# nova flavor-list
# nova image-list
# keypair-list

nova boot [--flavor <flavor>] [--image <image>] [--key-name <key-name>]  <name>

i.e.

nova boot --flavor m1.tiny --image debian-7-amd64 --key-name tim  test22

其他 Opts

  • [--security-groups <security-groups>]
  • [--user-data <user-data>]

delete

rename

reset-state - Request the server be reset to "active" state instead of "error" state

state:

stop

reboot

resume

pause

image:

image-create

image-delete

image-list

image-meta

image-show

keypair:

keypair-add

keypair-delete

keypair-list

+------+-------------------------------------------------+
| Name | Fingerprint                                     |
+------+-------------------------------------------------+
| tim  | e0:28:57:33:04:f2:67:a6:5e:3f:62:c3:f6:08:c8:91 |
+------+-------------------------------------------------+

keypair-show

volume:

volume-list

volume-show

volume-attach

volume-detach

volume-create

volume-delete

network:

http://datahunter.org/openstack_networking#cmd

flavors:

    flavor-list                   Print a list of available 'flavors'
    flavor-show                   Show details about the given flavor.

    flavor-create                 Create a new flavor
    flavor-delete                 Delete a specific flavor
    flavor-key                    Set or unset extra_spec for a 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.

Creative Commons license icon Creative Commons license icon