horizon/openstack_dashboard
Tihomir Trifonov 057d891f31 Added support for volume types
As cinder already supports volume types, it's time
to be added in Horizon. The types are added in admin panel.
A volume can either have a *valid* type, or None.

There are two minor issues:
1. When a type is deleted, if there is a volume with
   this type, the type is returned as the id,
   instead of the name. Which is good as consistency,
   but maybe a type should not be deleted if used by a volume?
2. If no vol type is passed(None) value, the type is being
   assigned as 'None', and returned as a string('None')
3. In the create volume type form, the 'Description' is
   empty at the moment, I couldn't find any help info
   to add for volume types...

Implements blueprint volume-types

Tested with n-cinder and n-vol services. Since Folsom both
support volume-types. I'm not sure if it is possible a grizzly
Dashboard to work with essex nova, which could be a problem.
Dashboard doesn't seem to provide permissions based on tables,
so if it needs to check if a service is available to show/hide
volume types, this will need some more effors to implement
permissions on table/action level. Or maybe this needs to be
added as a standalone panel?

Patch set 2: implemented suggestions, added one more thing:
When creating a volume from a snapshot, set the volume type
initial as the type of the original volume from which
the snapshot is being created.

Patch Set 3: Updated the description of volume types,
based on the notes from:
https://etherpad.openstack.org/grizzly-cinder-volumetypes
https://etherpad.openstack.org/cinder-usecases
Any feedback on the description is welcome.

Change-Id: Ib0c136c5c8cd9fbd34ce1dd346260f404c96f667
2012-10-25 15:35:36 +03:00
..
api Added support for volume types 2012-10-25 15:35:36 +03:00
dashboards Added support for volume types 2012-10-25 15:35:36 +03:00
local Merge "Adds an option for linking to external help docs." 2012-08-03 00:43:41 +00:00
locale Splits OpenStack Dashboard bits from framework app code. 2012-10-11 11:47:50 -07:00
openstack Update common. 2012-10-18 14:54:56 -07:00
static Fixes workflows to work without javascript. 2012-09-09 13:14:32 -07:00
templates Splits OpenStack Dashboard bits from framework app code. 2012-10-11 11:47:50 -07:00
test Added support for volume types 2012-10-25 15:35:36 +03:00
usage Merge "Enable quota data from multiple sources." 2012-10-24 21:51:38 +00:00
wsgi Updated the django.wsgi file for devstack. 2012-02-29 01:37:37 -08:00
__init__.py Unifies the project packaging into one set of modules. 2012-02-29 00:20:13 -08:00
context_processors.py Splits OpenStack Dashboard bits from framework app code. 2012-10-11 11:47:50 -07:00
exceptions.py Switch to using cinderclient. 2012-08-14 14:50:15 -07:00
settings.py Splits OpenStack Dashboard bits from framework app code. 2012-10-11 11:47:50 -07:00
urls.py Splits OpenStack Dashboard bits from framework app code. 2012-10-11 11:47:50 -07:00
views.py Splits OpenStack Dashboard bits from framework app code. 2012-10-11 11:47:50 -07:00