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 0x7faf854c1ad0>), ('auth_key', <django.forms.fields.CharField object at 0x7faf854c1bd0>)])
declared_fields = OrderedDict([('transfer_id', <django.forms.fields.CharField object at 0x7faf854c1ad0>), ('auth_key', <django.forms.fields.CharField object at 0x7faf854c1bd0>)])
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', <django.forms.fields.ChoiceField object at 0x7faf854c1210>), ('device', <django.forms.fields.CharField object at 0x7faf854c1350>)])
declared_fields = OrderedDict([('instance', <django.forms.fields.ChoiceField object at 0x7faf854c1210>), ('device', <django.forms.fields.CharField object at 0x7faf854c1350>)])
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 0x7faf854ea850>), ('description', <django.forms.fields.CharField object at 0x7faf854bc590>), ('volume_source_type', <django.forms.fields.ChoiceField object at 0x7faf854bc710>), ('snapshot_source', <django.forms.fields.ChoiceField object at 0x7faf854bc810>), ('image_source', <django.forms.fields.ChoiceField object at 0x7faf854bc910>), ('volume_source', <django.forms.fields.ChoiceField object at 0x7faf854bca10>), ('type', <django.forms.fields.ChoiceField object at 0x7faf854bcbd0>), ('size', <django.forms.fields.IntegerField object at 0x7faf854bccd0>), ('availability_zone', <django.forms.fields.ChoiceField object at 0x7faf854bcf50>)])
clean()[source]
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7faf854ea850>), ('description', <django.forms.fields.CharField object at 0x7faf854bc590>), ('volume_source_type', <django.forms.fields.ChoiceField object at 0x7faf854bc710>), ('snapshot_source', <django.forms.fields.ChoiceField object at 0x7faf854bc810>), ('image_source', <django.forms.fields.ChoiceField object at 0x7faf854bc910>), ('volume_source', <django.forms.fields.ChoiceField object at 0x7faf854bca10>), ('type', <django.forms.fields.ChoiceField object at 0x7faf854bcbd0>), ('size', <django.forms.fields.IntegerField object at 0x7faf854bccd0>), ('availability_zone', <django.forms.fields.ChoiceField object at 0x7faf854bcf50>)])
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 0x7faf854c1550>), ('description', <django.forms.fields.CharField object at 0x7faf854c1690>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7faf854c1550>), ('description', <django.forms.fields.CharField object at 0x7faf854c1690>)])
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 0x7faf854c18d0>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7faf854c18d0>)])
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 0x7faf854cfc10>), ('orig_size', <django.forms.fields.IntegerField object at 0x7faf854cfcd0>), ('new_size', <django.forms.fields.IntegerField object at 0x7faf854cfd50>)])
clean()[source]
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7faf854cfc10>), ('orig_size', <django.forms.fields.IntegerField object at 0x7faf854cfcd0>), ('new_size', <django.forms.fields.IntegerField object at 0x7faf854cfd50>)])
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 0x7faf854da0d0>), ('on-demand', <django.utils.functional.__proxy__ object at 0x7faf854da110>)]
base_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7faf854cff90>), ('volume_type', <django.forms.fields.ChoiceField object at 0x7faf854da050>), ('migration_policy', <django.forms.fields.ChoiceField object at 0x7faf854da210>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7faf854cff90>), ('volume_type', <django.forms.fields.ChoiceField object at 0x7faf854da050>), ('migration_policy', <django.forms.fields.ChoiceField object at 0x7faf854da210>)])
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 0x7faf854c1e90>), ('id', <django.forms.fields.CharField object at 0x7faf854c1f50>), ('auth_key', <django.forms.fields.CharField object at 0x7faf854cf050>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7faf854c1e90>), ('id', <django.forms.fields.CharField object at 0x7faf854c1f50>), ('auth_key', <django.forms.fields.CharField object at 0x7faf854cf050>)])
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 0x7faf854cf210>), ('description', <django.forms.fields.CharField object at 0x7faf854cf350>), ('bootable', <django.forms.fields.BooleanField object at 0x7faf854cf490>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7faf854cf210>), ('description', <django.forms.fields.CharField object at 0x7faf854cf350>), ('bootable', <django.forms.fields.BooleanField object at 0x7faf854cf490>)])
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 0x7faf854cf750>), ('image_name', <django.forms.fields.CharField object at 0x7faf854cf7d0>), ('disk_format', <django.forms.fields.ChoiceField object at 0x7faf854cf910>), ('force', <django.forms.fields.BooleanField object at 0x7faf854cfa10>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7faf854cf750>), ('image_name', <django.forms.fields.CharField object at 0x7faf854cf7d0>), ('disk_format', <django.forms.fields.ChoiceField object at 0x7faf854cf910>), ('force', <django.forms.fields.BooleanField object at 0x7faf854cfa10>)])
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 Module

Next topic

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

Project Source

This Page