Flavor
TheFlavor class provides an interface to interact with OpenStack flavors, allowing you to retrieve information about compute resource templates including CPU, RAM, and disk configurations.
Constructor
The unique identifier of the flavor. Either
flavor_id or name should be provided.The name of the flavor. Either
flavor_id or name should be provided.The Cloud instance to use for OpenStack operations. Defaults to a new Cloud instance.
Properties
name
Returns the name associated to this Flavor.
id
Returns the flavor_id associated to this Flavor.
disk
Returns the Disk associated to this Flavor (in GB).
ram
Returns the RAM associated to this Flavor (in MB).
cpu
Returns the vcpu associated to this Flavor.
servers
Returns all Servers using this Flavor.