osc compute flavor create21
Creates a flavor.
Creating a flavor is typically only available to administrators of a cloud because this has implications for scheduling efficiently in the cloud.
Normal response codes: 200
Error response codes: badRequest(400), unauthorized(401), forbidden(403), conflict(409)
Usage: osc compute flavor create21 [OPTIONS] --disk <DISK> --name <NAME> --ram <RAM> --vcpus <VCPUS>
Options:
- 
--disk <DISK>— The size of a dedicated swap disk that will be allocated, in MiB. If 0 (the default), no dedicated swap disk will be created - 
--id <ID>— Only alphanumeric characters with hyphen ‘-’, underscore ‘_’, spaces and dots ‘.’ are permitted. If an ID is not provided, then a default UUID will be assigned - 
--no-id— Set explicit NULL for the id - 
--name <NAME>— The display name of a flavor - 
--os-flavor-access-is-public <OS_FLAVOR_ACCESS_IS_PUBLIC>— Whether the flavor is public (available to all projects) or scoped to a set of projects. Default is True if not specifiedPossible values:
true,false - 
--os-flv-ext-data-ephemeral <OS_FLV_EXT_DATA_EPHEMERAL>— The size of a dedicated swap disk that will be allocated, in MiB. If 0 (the default), no dedicated swap disk will be created - 
--ram <RAM>— The number of virtual CPUs that will be allocated to the server - 
--rxtx-factor <RXTX_FACTOR>— The receive / transmit factor (as a float) that will be set on ports if the network backend supports the QOS extension. Otherwise it will be ignored. It defaults to 1.0 - 
--swap <SWAP>— The size of a dedicated swap disk that will be allocated, in MiB. If 0 (the default), no dedicated swap disk will be created - 
--vcpus <VCPUS>— The number of virtual CPUs that will be allocated to the server