Chapter 29. flavor This chapter describes the commands under the flavor command. 29.1. flavor create Create new flavor Usage: Table 29.1. Positional arguments Value Summary <flavor-name> New flavor name Table 29.2. Command arguments Value Summary -h, --help Show this help message and exit --id <id> Unique flavor id --ram <size-mb> Memory size in mb (default 256m) --disk <size-gb> Disk size in gb (default 0g) --ephemeral <size-gb> Ephemeral disk size in gb (default 0g) --swap <size-mb> Additional swap space size in mb (default 0m) --vcpus <vcpus> Number of vcpus (default 1) --rxtx-factor <factor> Rx/tx factor (default 1.0) --public Flavor is available to other projects (default) --private Flavor is not available to other projects --property <key=value> Property to add for this flavor (repeat option to set multiple properties) --project <project> Allow <project> to access private flavor (name or id) (Must be used with --private option) --description <description> Description for the flavor.(supported by api versions 2.55 - 2.latest --project-domain <project-domain> Domain the project belongs to (name or id). this can be used in case collisions between project names exist. Table 29.3. Output formatter options Value Summary -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} The output format, defaults to table -c COLUMN, --column COLUMN Specify the column(s) to include, can be repeated to show multiple columns Table 29.4. JSON formatter options Value Summary --noindent Whether to disable indenting the json Table 29.5. Shell formatter options Value Summary --prefix PREFIX Add a prefix to all variable names Table 29.6. Table formatter options Value Summary --max-width <integer> Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. --fit-width Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable --print-empty Print empty table if there is no data to show. 29.2. flavor delete Delete flavor(s) Usage: Table 29.7. Positional arguments Value Summary <flavor> Flavor(s) to delete (name or id) Table 29.8. Command arguments Value Summary -h, --help Show this help message and exit 29.3. flavor list List flavors Usage: Table 29.9. Command arguments Value Summary -h, --help Show this help message and exit --public List only public flavors (default) --private List only private flavors --all List all flavors, whether public or private --min-disk <min-disk> Filters the flavors by a minimum disk space, in gib. --min-ram <min-ram> Filters the flavors by a minimum ram, in mib. --long List additional fields in output --marker <flavor-id> The last flavor id of the page --limit <num-flavors> 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 Table 29.10. Output formatter options Value Summary -f {csv,json,table,value,yaml}, --format {csv,json,table,value,yaml} The output format, defaults to table -c COLUMN, --column COLUMN Specify the column(s) to include, can be repeated to show multiple columns --sort-column SORT_COLUMN Specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated --sort-ascending Sort the column(s) in ascending order --sort-descending Sort the column(s) in descending order Table 29.11. CSV formatter options Value Summary --quote {all,minimal,none,nonnumeric} When to include quotes, defaults to nonnumeric Table 29.12. JSON formatter options Value Summary --noindent Whether to disable indenting the json Table 29.13. Table formatter options Value Summary --max-width <integer> Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. --fit-width Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable --print-empty Print empty table if there is no data to show. 29.4. flavor set Set flavor properties Usage: Table 29.14. Positional arguments Value Summary <flavor> Flavor to modify (name or id) Table 29.15. Command arguments Value Summary -h, --help Show this help message and exit --no-property Remove all properties from this flavor (specify both --no-property and --property to remove the current properties before setting new properties.) --property <key=value> Property to add or modify for this flavor (repeat option to set multiple properties) --project <project> Set flavor access to project (name or id) (admin only) --project-domain <project-domain> Domain the project belongs to (name or id). this can be used in case collisions between project names exist. --description <description> Set description for the flavor.(supported by api versions 2.55 - 2.latest 29.5. flavor show Display flavor details Usage: Table 29.16. Positional arguments Value Summary <flavor> Flavor to display (name or id) Table 29.17. Command arguments Value Summary -h, --help Show this help message and exit Table 29.18. Output formatter options Value Summary -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} The output format, defaults to table -c COLUMN, --column COLUMN Specify the column(s) to include, can be repeated to show multiple columns Table 29.19. JSON formatter options Value Summary --noindent Whether to disable indenting the json Table 29.20. Shell formatter options Value Summary --prefix PREFIX Add a prefix to all variable names Table 29.21. Table formatter options Value Summary --max-width <integer> Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. --fit-width Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable --print-empty Print empty table if there is no data to show. 29.6. flavor unset Unset flavor properties Usage: Table 29.22. Positional arguments Value Summary <flavor> Flavor to modify (name or id) Table 29.23. Command arguments Value Summary -h, --help Show this help message and exit --property <key> Property to remove from flavor (repeat option to unset multiple properties) --project <project> Remove flavor access from project (name or id) (admin only) --project-domain <project-domain> Domain the project belongs to (name or id). this can be used in case collisions between project names exist.

Commands:
openstack flavor create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--noindent] [--prefix PREFIX] [--max-width <integer>] [--fit-width] [--print-empty] [--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>
openstack flavor delete [-h] <flavor> [<flavor> ...]
openstack flavor list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--quote {all,minimal,none,nonnumeric}] [--noindent] [--max-width <integer>] [--fit-width] [--print-empty] [--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>]
openstack flavor set [-h] [--no-property] [--property <key=value>] [--project <project>] [--project-domain <project-domain>] [--description <description>] <flavor>
openstack flavor show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--noindent] [--prefix PREFIX] [--max-width <integer>] [--fit-width] [--print-empty] <flavor>
openstack flavor unset [-h] [--property <key>] [--project <project>] [--project-domain <project-domain>] <flavor>