2.129. openstack flavor create


usage: openstack flavor create [-h] [-f {json,shell,table,value,yaml}]
                               [-c COLUMN] [--max-width <integer>]
                               [--noindent] [--prefix PREFIX] [--id <id>]
                               [--ram <size-mb>] [--disk <size-gb>]
                               [--ephemeral <size-gb>] [--swap <size-gb>]
                               [--vcpus <vcpus>] [--rxtx-factor <factor>]
                               [--public | --private] [--property <key=value>]
                               [--project <project>]
                               [--project-domain <project-domain>]
                               <flavor-name>
Copy to Clipboard Toggle word wrap
Create new flavor

Positional arguments

<flavor-name>


        New flavor name

Optional arguments

-h, --help


        show this help message and exit

--id <id>


        Unique flavor ID; 'auto' creates a UUID (default:
      auto)

--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-gb>


        Swap space size in GB (default 0G)

--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)

--project-domain <project-domain>


      Domain the project belongs to (name or ID). This can
      be used in case collisions between project names
      exist.

Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat