Flavor interface.
Bases: novaclient.openstack.common.apiclient.base.Resource
A flavor is an available hardware configuration for a server.
Populate and bind to a manager.
Parameters: |
|
---|
Delete this flavor.
Provide a user-friendly accessor to OS-FLV-EXT-DATA:ephemeral
Get extra specs from a flavor.
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 |
---|
Bases: novaclient.base.ManagerWithFind
Manage Flavor resources.
Create a flavor.
Parameters: |
|
---|---|
Return type: | Flavor |
Delete a specific flavor.
Parameters: | flavor – The ID of the Flavor to get. |
---|
Get a specific flavor.
Parameters: | flavor – The ID of the Flavor to get. |
---|---|
Return type: | Flavor |
Get a list of all flavors.
Return type: | list of Flavor. |
---|---|
Parameters: |
|
alias of Flavor