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 0x7fba5a6ec2d0>), ('auth_key', <django.forms.fields.CharField object at 0x7fba5a6ec3d0>)])
declared_fields = OrderedDict([('transfer_id', <django.forms.fields.CharField object at 0x7fba5a6ec2d0>), ('auth_key', <django.forms.fields.CharField object at 0x7fba5a6ec3d0>)])
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 0x7fba5a6de9d0>), ('device', <django.forms.fields.CharField object at 0x7fba5a6deb50>)])
declared_fields = OrderedDict([('instance', <django.forms.fields.ChoiceField object at 0x7fba5a6de9d0>), ('device', <django.forms.fields.CharField object at 0x7fba5a6deb50>)])
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 0x7fba5a555210>), ('description', <django.forms.fields.CharField object at 0x7fba5a6de110>), ('volume_source_type', <django.forms.fields.ChoiceField object at 0x7fba5a6de210>), ('snapshot_source', <django.forms.fields.ChoiceField object at 0x7fba5a6de2d0>), ('image_source', <django.forms.fields.ChoiceField object at 0x7fba5a6de390>), ('volume_source', <django.forms.fields.ChoiceField object at 0x7fba5a6de450>), ('type', <django.forms.fields.ChoiceField object at 0x7fba5a6de590>), ('size', <django.forms.fields.IntegerField object at 0x7fba5a6de610>), ('availability_zone', <django.forms.fields.ChoiceField object at 0x7fba5a6de7d0>)])
clean()[source]
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7fba5a555210>), ('description', <django.forms.fields.CharField object at 0x7fba5a6de110>), ('volume_source_type', <django.forms.fields.ChoiceField object at 0x7fba5a6de210>), ('snapshot_source', <django.forms.fields.ChoiceField object at 0x7fba5a6de2d0>), ('image_source', <django.forms.fields.ChoiceField object at 0x7fba5a6de390>), ('volume_source', <django.forms.fields.ChoiceField object at 0x7fba5a6de450>), ('type', <django.forms.fields.ChoiceField object at 0x7fba5a6de590>), ('size', <django.forms.fields.IntegerField object at 0x7fba5a6de610>), ('availability_zone', <django.forms.fields.ChoiceField object at 0x7fba5a6de7d0>)])
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 0x7fba5a6ded10>), ('description', <django.forms.fields.CharField object at 0x7fba5a6dee50>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7fba5a6ded10>), ('description', <django.forms.fields.CharField object at 0x7fba5a6dee50>)])
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 0x7fba5a6ec0d0>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7fba5a6ec0d0>)])
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 0x7fba5a6f6410>), ('orig_size', <django.forms.fields.IntegerField object at 0x7fba5a6f64d0>), ('new_size', <django.forms.fields.IntegerField object at 0x7fba5a6f6550>)])
clean()[source]
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7fba5a6f6410>), ('orig_size', <django.forms.fields.IntegerField object at 0x7fba5a6f64d0>), ('new_size', <django.forms.fields.IntegerField object at 0x7fba5a6f6550>)])
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 0x7fba5a6f68d0>), ('on-demand', <django.utils.functional.__proxy__ object at 0x7fba5a6f6910>)]
base_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7fba5a6f6790>), ('volume_type', <django.forms.fields.ChoiceField object at 0x7fba5a6f6810>), ('migration_policy', <django.forms.fields.ChoiceField object at 0x7fba5a6f6a10>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7fba5a6f6790>), ('volume_type', <django.forms.fields.ChoiceField object at 0x7fba5a6f6810>), ('migration_policy', <django.forms.fields.ChoiceField object at 0x7fba5a6f6a10>)])
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 0x7fba5a6ec690>), ('id', <django.forms.fields.CharField object at 0x7fba5a6ec750>), ('auth_key', <django.forms.fields.CharField object at 0x7fba5a6ec810>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7fba5a6ec690>), ('id', <django.forms.fields.CharField object at 0x7fba5a6ec750>), ('auth_key', <django.forms.fields.CharField object at 0x7fba5a6ec810>)])
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 0x7fba5a6ec9d0>), ('description', <django.forms.fields.CharField object at 0x7fba5a6ecb10>), ('bootable', <django.forms.fields.BooleanField object at 0x7fba5a6ecc90>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7fba5a6ec9d0>), ('description', <django.forms.fields.CharField object at 0x7fba5a6ecb10>), ('bootable', <django.forms.fields.BooleanField object at 0x7fba5a6ecc90>)])
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 0x7fba5a6ecf10>), ('image_name', <django.forms.fields.CharField object at 0x7fba5a6ecf90>), ('disk_format', <django.forms.fields.ChoiceField object at 0x7fba5a6f6150>), ('force', <django.forms.fields.BooleanField object at 0x7fba5a6f6250>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7fba5a6ecf10>), ('image_name', <django.forms.fields.CharField object at 0x7fba5a6ecf90>), ('disk_format', <django.forms.fields.ChoiceField object at 0x7fba5a6f6150>), ('force', <django.forms.fields.BooleanField object at 0x7fba5a6f6250>)])
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.views Module

Next topic

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

Project Source

This Page