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 0x73a3dd0>, 'device': <django.forms.fields.CharField object at 0x73a3f10>}
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 0x7434750>, 'description': <django.forms.fields.CharField object at 0x73a3650>, 'volume_source_type': <django.forms.fields.ChoiceField object at 0x73a3750>, 'snapshot_source': <django.forms.fields.ChoiceField object at 0x73a3810>, 'image_source': <django.forms.fields.ChoiceField object at 0x73a38d0>, 'volume_source': <django.forms.fields.ChoiceField object at 0x73a3990>, 'type': <django.forms.fields.ChoiceField object at 0x73a3ad0>, 'size': <django.forms.fields.IntegerField object at 0x73a3b50>, 'availability_zone': <django.forms.fields.ChoiceField object at 0x73a3d10>}
cinder_az_supported(request)[source]
clean()[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 0x73a3f90>, 'description': <django.forms.fields.CharField object at 0x73a40d0>}
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 0x73a4950>, 'orig_size': <django.forms.fields.IntegerField object at 0x73a4ad0>, 'new_size': <django.forms.fields.IntegerField object at 0x73a4b90>}
clean()[source]
handle(request, data)[source]
media
class openstack_dashboard.dashboards.project.volumes.volumes.forms.RetypeForm(request, *args, **kwargs)[source]

Bases: horizon.forms.base.SelfHandlingForm

MIGRATION_POLICY_CHOICES = [('never', <django.utils.functional.__proxy__ object at 0x73a4ed0>), ('on-demand', <django.utils.functional.__proxy__ object at 0x73a4f10>)]
base_fields = {'name': <django.forms.fields.CharField object at 0x73a4cd0>, 'volume_type': <django.forms.fields.ChoiceField object at 0x73a4e10>, 'migration_policy': <django.forms.fields.ChoiceField object at 0x73a7050>}
clean_volume_type()[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 0x73a41d0>, 'description': <django.forms.fields.CharField object at 0x73a4350>}
handle(request, data)[source]
media
class openstack_dashboard.dashboards.project.volumes.volumes.forms.UploadToImageForm(request, *args, **kwargs)[source]

Bases: horizon.forms.base.SelfHandlingForm

base_fields = {'name': <django.forms.fields.CharField object at 0x73a44d0>, 'image_name': <django.forms.fields.CharField object at 0x73a4610>, 'disk_format': <django.forms.fields.ChoiceField object at 0x73a4790>, 'force': <django.forms.fields.BooleanField object at 0x73a4890>}
handle(request, data)[source]
media

Previous topic

The openstack_dashboard.dashboards.project.volumes.volumes.views Module

Next topic

The openstack_dashboard.dashboards.project.volumes.volumes.urls Module

This Page