Compute v2
Create new flavor
openstack flavor create
[--id <id>]
[--ram <size-mb>]
[--disk <size-gb>]
[--ephemeral <size-gb>]
[--swap <size-mb>]
[--vcpus <vcpus>]
[--rxtx-factor <factor>]
[--public | --private]
[--property <key=value>]
[--project <project>]
[--description <description>]
[--project-domain <project-domain>]
<flavor-name>
Unique flavor ID
Memory size in MB (default 256M)
Disk size in GB (default 0G)
Ephemeral disk size in GB (default 0G)
Additional swap space size in MB (default 0M)
Number of vcpus (default 1)
RX/TX factor (default 1.0)
Flavor is available to other projects (default)
Flavor is not available to other projects
Property to add for this flavor (repeat option to set multiple properties)
Allow <project> to access private flavor (name or ID) (Must be used with –private option)
Description for the flavor.(Supported by API versions ‘2.55’ - ‘2.latest’
Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
New flavor name
Delete flavor(s)
openstack flavor delete <flavor> [<flavor> ...]
Flavor(s) to delete (name or ID)
List flavors
openstack flavor list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--public | --private | --all]
[--min-disk <min-disk>]
[--min-ram <min-ram>]
[--long]
[--marker <flavor-id>]
[--limit <num-flavors>]
Config file for the dict-to-csv formatter
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
List only public flavors (default)
List only private flavors
List all flavors, whether public or private
Filters the flavors by a minimum disk space, in GiB.
Filters the flavors by a minimum RAM, in MiB.
List additional fields in output
The last flavor ID of the previous page
Maximum number of flavors to display. This is also configurable on the server. The actual limit used will be the lower of the user-supplied value and the server configuration-derived value
Set flavor properties
openstack flavor set
[--no-property]
[--property <key=value>]
[--project <project>]
[--project-domain <project-domain>]
[--description <description>]
<flavor>
Remove all properties from this flavor (specify both –no-property and –property to remove the current properties before setting new properties.)
Property to add or modify for this flavor (repeat option to set multiple properties)
Set flavor access to project (name or ID) (admin only)
Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
Set description for the flavor.(Supported by API versions ‘2.55’ - ‘2.latest’
Flavor to modify (name or ID)
Display flavor details
openstack flavor show <flavor>
Flavor to display (name or ID)
Unset flavor properties
openstack flavor unset
[--property <key>]
[--project <project>]
[--project-domain <project-domain>]
<flavor>
Property to remove from flavor (repeat option to unset multiple properties)
Remove flavor access from project (name or ID) (admin only)
Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
Flavor to modify (name or ID)
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.