openstack-flavor
manages instance flavors in OpenStack
TLDR
SYNOPSIS
openstack flavor command [options]
DESCRIPTION
openstack flavor manages instance flavors (size templates) in OpenStack Nova. Flavors define compute, memory and storage resources for virtual machines. Properties set via --property (aka extraspecs) control scheduler and hypervisor behavior — common keys include `hw:cpupolicy`, `hw:mempagesize`, `hw:numanodes`, `quota:diskreadbytessec` and `aggregateinstanceextra_specs:*`. The set command can also add or remove tenant access for private flavors via `--project` / `--project-domain`.Part of OpenStack unified CLI (`python-openstackclient`), superseding the old `nova flavor-*` commands.
PARAMETERS
list
List available flavors.show name
Show flavor details.create name
Create flavor.delete name
Delete flavor.set name
Set flavor properties.--vcpus num
Number of vCPUs.--ram mb
RAM in megabytes.--disk gb
Root disk size in gigabytes.--ephemeral gb
Ephemeral disk size in gigabytes (default: 0).--swap mb
Swap space size in megabytes (default: 0).--id id
Unique flavor ID ('auto' generates a UUID, default: auto).--public
Make flavor accessible to all projects (default).--private
Make flavor accessible only to specific projects.--property key=value
Set extra specification property on the flavor.
CAVEATS
Modifying a flavor is not possible in-place: change a property via set/unset, or delete and recreate for size changes. Running instances continue to use the original flavor. Admin role is required for create/delete and for setting most properties.
SEE ALSO
openstack(1), openstack-server(1), openstack-image(1), openstack-volume(1)
