The Flavor
class inherits from Resource
.
The base resource
_synchronized (bool) – This is not intended to be used directly. See
new()
and
existing()
.
connection (openstack.connection.Connection) – Reference to the Connection being used. Defaults to None to allow
Resource objects to be used without an active Connection, such as
in unit tests. Use of self._connection
in Resource code should
protect itself with a check for None.
Links pertaining to this flavor. This is a list of dictionaries,
each including keys href
and rel
.
The name of this flavor.
The description of the flavor.
Size of the disk this flavor offers. Type: int
True
if this is a publicly visible flavor. False
if this is
a private image. Type: bool
The amount of RAM (in MB) this flavor offers. Type: int
The number of virtual CPUs this flavor offers. Type: int
Size of the swap partitions.
Size of the ephemeral data disk attached to this server. Type: int
True
if this flavor is disabled, False
if not. Type: bool
The bandwidth scaling factor this flavor receives on the network.
A dictionary of the flavor’s extra-specs key-and-value pairs.
Adds flavor access to a tenant and flavor.
Removes flavor access to a tenant and flavor.
Lists tenants who have access to a private flavor
By default, only administrators can manage private flavor access. A private flavor has is_public set to false while a public flavor has is_public set to true.
List of dicts with flavor_id and tenant_id attributes
Fetch extra_specs of the flavor
Starting with 2.61 extra_specs are returned with the flavor details, before that a separate call is required.
Creates extra specs for a flavor
Get individual extra_spec property
Update An Extra Spec For A Flavor
Delete An Extra Spec For A Flavor
The FlavorDetail
class inherits from
Flavor
.
alias of openstack.compute.v2.flavor.Flavor
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.