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 0x6fa7f90>, 'device': <django.forms.fields.CharField object at 0x71ae110>}
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 0x6f76c10>, 'description': <django.forms.fields.CharField object at 0x6fa7810>, 'volume_source_type': <django.forms.fields.ChoiceField object at 0x6fa7910>, 'snapshot_source': <django.forms.fields.ChoiceField object at 0x6fa79d0>, 'image_source': <django.forms.fields.ChoiceField object at 0x6fa7a90>, 'volume_source': <django.forms.fields.ChoiceField object at 0x6fa7b50>, 'type': <django.forms.fields.ChoiceField object at 0x6fa7c90>, 'size': <django.forms.fields.IntegerField object at 0x6fa7d10>, 'availability_zone': <django.forms.fields.ChoiceField object at 0x6fa7ed0>}
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 0x71ae190>, 'description': <django.forms.fields.CharField object at 0x71ae290>}
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 0x71aeb10>, 'orig_size': <django.forms.fields.IntegerField object at 0x71aec90>, 'new_size': <django.forms.fields.IntegerField object at 0x71aed50>}
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 0x71ad0d0>), ('on-demand', <django.utils.functional.__proxy__ object at 0x71ad110>)]
base_fields = {'name': <django.forms.fields.CharField object at 0x71aee90>, 'volume_type': <django.forms.fields.ChoiceField object at 0x71aefd0>, 'migration_policy': <django.forms.fields.ChoiceField object at 0x71ad210>}
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 0x71ae390>, 'description': <django.forms.fields.CharField object at 0x71ae510>}
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 0x71ae690>, 'image_name': <django.forms.fields.CharField object at 0x71ae7d0>, 'disk_format': <django.forms.fields.ChoiceField object at 0x71ae950>, 'force': <django.forms.fields.BooleanField object at 0x71aea50>}
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