The openstack_dashboard.dashboards.project.instances.utils ModuleΒΆ

openstack_dashboard.dashboards.project.instances.utils.flavor_list(request)[source]

Utility method to retrieve a list of flavors.

openstack_dashboard.dashboards.project.instances.utils.sort_flavor_list(request, flavors)[source]

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.

Previous topic

The openstack_dashboard.dashboards.project.instances.tests Module

Next topic

The openstack_dashboard.dashboards.project.instances.tabs Module

This Page