Documented Flavor Sorting Options

Documented with examples to add a sorting mechanisms to hardware template flavors.

Change-Id: Ic42b4f7b9e1fe8a59aaa548bd2883e6eef450e98
Partial-Bug: #1221115
This commit is contained in:
Kevin Kirkpatrick 2014-02-18 08:31:53 -08:00
parent 7404d7acdc
commit 69a299c70b
1 changed files with 18 additions and 1 deletions

View File

@ -183,6 +183,24 @@ the site header when logged in.
If you do not have multiple regions you should use the ``OPENSTACK_HOST`` and
``OPENSTACK_KEYSTONE_URL`` settings instead.
``CREATE_INSTANCE_FLAVOR_SORT``
-------------------
Default: ``{'key':'ram'}``
When launching a new instance the default flavor is sorted by RAM usage in
ascending order.
You can customize the sort order by: id, name, ram, disk and vcpus.
Additionally, you can insert any custom callback function,
see the description in local_settings.py.example for more information.
This example sorts flavors by vcpus in descending order::
CREATE_INSTANCE_FLAVOR_SORT = {
'key':'vcpus',
'reverse': True,
}
``IMAGES_LIST_FILTER_TENANTS``
------------------------------
@ -405,7 +423,6 @@ These three settings should be configured if you are deploying Horizon with
SSL. The values indicated in the default ``local_settings.py.example`` file
are generally safe to use.
Pluggable Settings for Dashboards
=================================