openstack.compute.v2.flavor¶
The Flavor Class¶
The Flavor
class inherits from Resource
.
-
class
openstack.compute.v2.flavor.
Flavor
(synchronized=False, **attrs)¶ -
links
= None¶ Links pertaining to this flavor. This is a list of dictionaries, each including keys
href
andrel
.
-
name
= None¶ The name of this flavor.
-
disk
= None¶ Size of the disk this flavor offers. Type: int
-
is_public
= None¶ True
if this is a publicly visible flavor.False
if this is a private image. Type: bool
-
ram
= None¶ The amount of RAM (in MB) this flavor offers. Type: int
-
vcpus
= None¶ The number of virtual CPUs this flavor offers. Type: int
-
swap
= None¶ Size of the swap partitions.
-
ephemeral
= None¶ Size of the ephemeral data disk attached to this server. Type: int
-
is_disabled
= None¶ True
if this flavor is disabled,False
if not. Type: bool
-
rxtx_factor
= None¶ The bandwidth scaling factor this flavor receives on the network.
-