The openstack_dashboard.dashboards.project.volumes.volumes.forms ModuleΒΆ

Views for managing volumes.

class openstack_dashboard.dashboards.project.volumes.volumes.forms.AttachForm(*args, **kwargs)[source]

Bases: horizon.forms.base.SelfHandlingForm

base_fields = {'instance': <django.forms.fields.ChoiceField object at 0xb3551cd0>, 'device': <django.forms.fields.CharField object at 0xb3551d50>}
handle(request, data)[source]
media
class openstack_dashboard.dashboards.project.volumes.volumes.forms.CreateForm(request, *args, **kwargs)[source]

Bases: horizon.forms.base.SelfHandlingForm

availability_zones(request)[source]
base_fields = {'name': <django.forms.fields.CharField object at 0xb3463850>, 'description': <django.forms.fields.CharField object at 0xb3551890>, 'type': <django.forms.fields.ChoiceField object at 0xb35518d0>, 'size': <django.forms.fields.IntegerField object at 0xb3551930>, 'volume_source_type': <django.forms.fields.ChoiceField object at 0xb35519f0>, 'snapshot_source': <django.forms.fields.ChoiceField object at 0xb3551a30>, 'image_source': <django.forms.fields.ChoiceField object at 0xb3551a90>, 'volume_source': <django.forms.fields.ChoiceField object at 0xb3551af0>, 'availability_zone': <django.forms.fields.ChoiceField object at 0xb3551bb0>}
cinder_az_supported(request)[source]
get_image(*args, **kwargs)[source]
get_snapshot(*args, **kwargs)[source]
get_volume(*args, **kwargs)[source]
get_volumes(request)[source]
handle(request, data)[source]
media
class openstack_dashboard.dashboards.project.volumes.volumes.forms.CreateSnapshotForm(request, *args, **kwargs)[source]

Bases: horizon.forms.base.SelfHandlingForm

base_fields = {'name': <django.forms.fields.CharField object at 0xb3551dd0>, 'description': <django.forms.fields.CharField object at 0xb3551e50>}
handle(request, data)[source]
media
class openstack_dashboard.dashboards.project.volumes.volumes.forms.ExtendForm(request, *args, **kwargs)[source]

Bases: horizon.forms.base.SelfHandlingForm

base_fields = {'name': <django.forms.fields.CharField object at 0xb35590d0>, 'new_size': <django.forms.fields.IntegerField object at 0xb3559150>}
clean()[source]
handle(request, data)[source]
media
class openstack_dashboard.dashboards.project.volumes.volumes.forms.UpdateForm(request, *args, **kwargs)[source]

Bases: horizon.forms.base.SelfHandlingForm

base_fields = {'name': <django.forms.fields.CharField object at 0xb3551ef0>, 'description': <django.forms.fields.CharField object at 0xb3551fd0>}
handle(request, data)[source]
media

Previous topic

The openstack_dashboard.dashboards.project.volumes.volumes.tests Module

Next topic

The openstack_dashboard.dashboards.project.volumes.volumes.tabs Module

This Page