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

Views for managing volumes.

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

Bases: horizon.forms.base.SelfHandlingForm

base_fields = OrderedDict([('transfer_id', <django.forms.fields.CharField object at 0x7f19b9bd3090>), ('auth_key', <django.forms.fields.CharField object at 0x7f19b9bd3a10>)])
declared_fields = OrderedDict([('transfer_id', <django.forms.fields.CharField object at 0x7f19b9bd3090>), ('auth_key', <django.forms.fields.CharField object at 0x7f19b9bd3a10>)])
handle(request, data)[source]
media
class openstack_dashboard.dashboards.project.volumes.volumes.forms.AttachForm(*args, **kwargs)[source]

Bases: horizon.forms.base.SelfHandlingForm

base_fields = OrderedDict([('instance', <horizon.forms.fields.ThemableChoiceField object at 0x7f19b9bd35d0>), ('device', <django.forms.fields.CharField object at 0x7f19b9bd3e10>)])
declared_fields = OrderedDict([('instance', <horizon.forms.fields.ThemableChoiceField object at 0x7f19b9bd35d0>), ('device', <django.forms.fields.CharField object at 0x7f19b9bd3e10>)])
handle(request, data)[source]
media
class openstack_dashboard.dashboards.project.volumes.volumes.forms.CreateForm(request, *args, **kwargs)[source]

Bases: horizon.forms.base.SelfHandlingForm

base_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f19b916e390>), ('description', <django.forms.fields.CharField object at 0x7f19ba6bc110>), ('volume_source_type', <django.forms.fields.ChoiceField object at 0x7f19ba6bca90>), ('snapshot_source', <django.forms.fields.ChoiceField object at 0x7f19ba6bcfd0>), ('image_source', <django.forms.fields.ChoiceField object at 0x7f19ba6bcf50>), ('volume_source', <django.forms.fields.ChoiceField object at 0x7f19ba6bc1d0>), ('type', <django.forms.fields.ChoiceField object at 0x7f19ba6bc7d0>), ('size', <django.forms.fields.IntegerField object at 0x7f19ba6bcc50>), ('availability_zone', <django.forms.fields.ChoiceField object at 0x7f19b9bd38d0>)])
clean()[source]
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f19b916e390>), ('description', <django.forms.fields.CharField object at 0x7f19ba6bc110>), ('volume_source_type', <django.forms.fields.ChoiceField object at 0x7f19ba6bca90>), ('snapshot_source', <django.forms.fields.ChoiceField object at 0x7f19ba6bcfd0>), ('image_source', <django.forms.fields.ChoiceField object at 0x7f19ba6bcf50>), ('volume_source', <django.forms.fields.ChoiceField object at 0x7f19ba6bc1d0>), ('type', <django.forms.fields.ChoiceField object at 0x7f19ba6bc7d0>), ('size', <django.forms.fields.IntegerField object at 0x7f19ba6bcc50>), ('availability_zone', <django.forms.fields.ChoiceField object at 0x7f19b9bd38d0>)])
get_image(*args, **kwargs)[source]
get_snapshot(*args, **kwargs)[source]
get_volume(*args, **kwargs)[source]
get_volumes(request)[source]
handle(request, data)[source]
media
prepare_source_fields_default(request)[source]
prepare_source_fields_if_image_specified(request)[source]
prepare_source_fields_if_snapshot_specified(request)[source]
prepare_source_fields_if_volume_specified(request)[source]
class openstack_dashboard.dashboards.project.volumes.volumes.forms.CreateSnapshotForm(request, *args, **kwargs)[source]

Bases: horizon.forms.base.SelfHandlingForm

base_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f19b9bd3490>), ('description', <django.forms.fields.CharField object at 0x7f19b9bd3d10>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f19b9bd3490>), ('description', <django.forms.fields.CharField object at 0x7f19b9bd3d10>)])
handle(request, data)[source]
media
class openstack_dashboard.dashboards.project.volumes.volumes.forms.CreateTransferForm(request, *args, **kwargs)[source]

Bases: horizon.forms.base.SelfHandlingForm

base_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f19b9bd3910>)])
clean_name()[source]
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f19b9bd3910>)])
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 = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f19b8dae590>), ('orig_size', <django.forms.fields.IntegerField object at 0x7f19b8dae3d0>), ('new_size', <django.forms.fields.IntegerField object at 0x7f19b8daebd0>)])
clean()[source]
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f19b8dae590>), ('orig_size', <django.forms.fields.IntegerField object at 0x7f19b8dae3d0>), ('new_size', <django.forms.fields.IntegerField object at 0x7f19b8daebd0>)])
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 0x7f19b8dae990>), ('on-demand', <django.utils.functional.__proxy__ object at 0x7f19b8dae090>)]
base_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f19b8daec50>), ('volume_type', <horizon.forms.fields.ThemableChoiceField object at 0x7f19b8daef10>), ('migration_policy', <django.forms.fields.ChoiceField object at 0x7f19b8dae910>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f19b8daec50>), ('volume_type', <horizon.forms.fields.ThemableChoiceField object at 0x7f19b8daef10>), ('migration_policy', <django.forms.fields.ChoiceField object at 0x7f19b8dae910>)])
handle(request, data)[source]
media
class openstack_dashboard.dashboards.project.volumes.volumes.forms.ShowTransferForm(request, *args, **kwargs)[source]

Bases: horizon.forms.base.SelfHandlingForm

base_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f19be2a3c10>), ('id', <django.forms.fields.CharField object at 0x7f19be2a3950>), ('auth_key', <django.forms.fields.CharField object at 0x7f19be2a3810>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f19be2a3c10>), ('id', <django.forms.fields.CharField object at 0x7f19be2a3950>), ('auth_key', <django.forms.fields.CharField object at 0x7f19be2a3810>)])
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 = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f19bb7111d0>), ('description', <django.forms.fields.CharField object at 0x7f19bb711650>), ('bootable', <django.forms.fields.BooleanField object at 0x7f19be0c1790>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f19bb7111d0>), ('description', <django.forms.fields.CharField object at 0x7f19bb711650>), ('bootable', <django.forms.fields.BooleanField object at 0x7f19be0c1790>)])
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 = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f19be0c1cd0>), ('image_name', <django.forms.fields.CharField object at 0x7f19be0c1750>), ('disk_format', <django.forms.fields.ChoiceField object at 0x7f19b8daea50>), ('force', <django.forms.fields.BooleanField object at 0x7f19b8dae210>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f19be0c1cd0>), ('image_name', <django.forms.fields.CharField object at 0x7f19be0c1750>), ('disk_format', <django.forms.fields.ChoiceField object at 0x7f19b8daea50>), ('force', <django.forms.fields.BooleanField object at 0x7f19b8dae210>)])
handle(request, data)[source]
media
openstack_dashboard.dashboards.project.volumes.volumes.forms.availability_zones(request)[source]
openstack_dashboard.dashboards.project.volumes.volumes.forms.cinder_az_supported(request)[source]

Previous topic

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

Next topic

The openstack_dashboard.dashboards.project.volumes.volumes Module

Project Source

This Page