Flavor interface.
Bases: novaclient.base.Resource
A flavor is an available hardware configuration for a server.
Populate and bind to a manager.
Parameters: |
|
---|
Delete this flavor.
Returns: | An instance of novaclient.base.TupleWithMeta |
---|
Provide a user-friendly accessor to OS-FLV-EXT-DATA:ephemeral.
Get extra specs from a flavor.
Returns: | An instance of novaclient.base.DictWithMeta |
---|
Provide a user-friendly accessor to os-flavor-access:is_public.
Set extra specs on a flavor.
Parameters: | metadata – A dict of key/value pairs to be set |
---|
Unset extra specs on a flavor.
Parameters: | keys – A list of keys to be unset |
---|---|
Returns: | An instance of novaclient.base.TupleWithMeta |
Bases: novaclient.base.ManagerWithFind
Manage Flavor resources.
Create a flavor.
Parameters: |
|
---|---|
Returns: | Flavor |
Delete a specific flavor.
Parameters: | flavor – The ID of the Flavor to get. |
---|---|
Returns: | An instance of novaclient.base.TupleWithMeta |
Get a specific flavor.
Parameters: | flavor – The ID of the Flavor to get. |
---|---|
Returns: | Flavor |
Get a list of all flavors.
Parameters: |
|
---|---|
Returns: | list of Flavor. |
alias of Flavor