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 0x7f42440c89d0>), ('auth_key', <django.forms.fields.CharField object at 0x7f42440c8290>)])
declared_fields = OrderedDict([('transfer_id', <django.forms.fields.CharField object at 0x7f42440c89d0>), ('auth_key', <django.forms.fields.CharField object at 0x7f42440c8290>)])
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 0x7f4244449590>), ('device', <django.forms.fields.CharField object at 0x7f4244449ad0>)])
declared_fields = OrderedDict([('instance', <horizon.forms.fields.ThemableChoiceField object at 0x7f4244449590>), ('device', <django.forms.fields.CharField object at 0x7f4244449ad0>)])
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 0x7f42444262d0>), ('description', <django.forms.fields.CharField object at 0x7f4247379610>), ('volume_source_type', <django.forms.fields.ChoiceField object at 0x7f42473792d0>), ('snapshot_source', <django.forms.fields.ChoiceField object at 0x7f4247379890>), ('image_source', <django.forms.fields.ChoiceField object at 0x7f42473790d0>), ('volume_source', <django.forms.fields.ChoiceField object at 0x7f4244449990>), ('type', <django.forms.fields.ChoiceField object at 0x7f4244449690>), ('size', <django.forms.fields.IntegerField object at 0x7f4244449e50>), ('availability_zone', <django.forms.fields.ChoiceField object at 0x7f4244449e90>)])
clean()[source]
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f42444262d0>), ('description', <django.forms.fields.CharField object at 0x7f4247379610>), ('volume_source_type', <django.forms.fields.ChoiceField object at 0x7f42473792d0>), ('snapshot_source', <django.forms.fields.ChoiceField object at 0x7f4247379890>), ('image_source', <django.forms.fields.ChoiceField object at 0x7f42473790d0>), ('volume_source', <django.forms.fields.ChoiceField object at 0x7f4244449990>), ('type', <django.forms.fields.ChoiceField object at 0x7f4244449690>), ('size', <django.forms.fields.IntegerField object at 0x7f4244449e50>), ('availability_zone', <django.forms.fields.ChoiceField object at 0x7f4244449e90>)])
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 0x7f4244449750>), ('description', <django.forms.fields.CharField object at 0x7f4244449710>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f4244449750>), ('description', <django.forms.fields.CharField object at 0x7f4244449710>)])
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 0x7f42440c8090>)])
clean_name()[source]
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f42440c8090>)])
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 0x7f4246408290>), ('orig_size', <django.forms.fields.IntegerField object at 0x7f42464081d0>), ('new_size', <django.forms.fields.IntegerField object at 0x7f4246408610>)])
clean()[source]
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f4246408290>), ('orig_size', <django.forms.fields.IntegerField object at 0x7f42464081d0>), ('new_size', <django.forms.fields.IntegerField object at 0x7f4246408610>)])
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 0x7f4246408a90>), ('on-demand', <django.utils.functional.__proxy__ object at 0x7f42464086d0>)]
base_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f42464083d0>), ('volume_type', <horizon.forms.fields.ThemableChoiceField object at 0x7f42464082d0>), ('migration_policy', <django.forms.fields.ChoiceField object at 0x7f42469413d0>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f42464083d0>), ('volume_type', <horizon.forms.fields.ThemableChoiceField object at 0x7f42464082d0>), ('migration_policy', <django.forms.fields.ChoiceField object at 0x7f42469413d0>)])
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 0x7f42461218d0>), ('id', <django.forms.fields.CharField object at 0x7f4246121890>), ('auth_key', <django.forms.fields.CharField object at 0x7f4246121f90>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f42461218d0>), ('id', <django.forms.fields.CharField object at 0x7f4246121890>), ('auth_key', <django.forms.fields.CharField object at 0x7f4246121f90>)])
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 0x7f42461212d0>), ('description', <django.forms.fields.CharField object at 0x7f4246121390>), ('bootable', <django.forms.fields.BooleanField object at 0x7f4246121750>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f42461212d0>), ('description', <django.forms.fields.CharField object at 0x7f4246121390>), ('bootable', <django.forms.fields.BooleanField object at 0x7f4246121750>)])
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 0x7f4246408550>), ('image_name', <django.forms.fields.CharField object at 0x7f4246408e90>), ('disk_format', <django.forms.fields.ChoiceField object at 0x7f4246408d90>), ('force', <django.forms.fields.BooleanField object at 0x7f4246408350>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f4246408550>), ('image_name', <django.forms.fields.CharField object at 0x7f4246408e90>), ('disk_format', <django.forms.fields.ChoiceField object at 0x7f4246408d90>), ('force', <django.forms.fields.BooleanField object at 0x7f4246408350>)])
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