Utility method to retrieve a list of availability zones.
Returns a list of tuples of all image flavors.
Generates a list of image flavors available. And returns a list of (id, name) tuples.
Parameters: |
|
---|---|
Returns: | list of (id, name) tuples |
Utility method to retrieve a list of flavors.
Returns a list of tuples of all keypairs.
Generates a list of keypairs available to the user (request). And returns a list of (id, name) tuples.
Parameters: |
|
---|---|
Returns: | list of (id, name) tuples |
Returns a list of tuples of all networks.
Generates a list of networks available to the user (request). And returns a list of (id, name) tuples.
Parameters: |
|
---|---|
Returns: | list of (id, name) tuples |
Returns a list of tuples of all ports available for the tenant.
Generates a list of ports that have no device_owner based on the networks available to the tenant doing the request.
Parameters: | request – django http request object |
---|---|
Returns: | list of (id, name) tuples |
Returns a list of tuples of all server groups.
Generates a list of server groups available. And returns a list of (id, name) tuples.
Parameters: | request – django http request object |
---|---|
Returns: | list of (id, name) tuples |
Utility method to retrieve a list of server groups.
Utility method to sort a list of flavors. By default, returns the available flavors, sorted by RAM usage (ascending). Override these behaviours with a CREATE_INSTANCE_FLAVOR_SORT dict in local_settings.py.