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 0x7f446ffedc90>), ('auth_key', <django.forms.fields.CharField object at 0x7f446ffed190>)])
declared_fields = OrderedDict([('transfer_id', <django.forms.fields.CharField object at 0x7f446ffedc90>), ('auth_key', <django.forms.fields.CharField object at 0x7f446ffed190>)])
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 0x7f446ebb7d50>), ('device', <django.forms.fields.CharField object at 0x7f446ebb7790>)])
declared_fields = OrderedDict([('instance', <django.forms.fields.ChoiceField object at 0x7f446ebb7d50>), ('device', <django.forms.fields.CharField object at 0x7f446ebb7790>)])
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 0x7f4473722b50>), ('description', <django.forms.fields.CharField object at 0x7f4471563a10>), ('volume_source_type', <django.forms.fields.ChoiceField object at 0x7f4471563d50>), ('snapshot_source', <django.forms.fields.ChoiceField object at 0x7f4470750510>), ('image_source', <django.forms.fields.ChoiceField object at 0x7f4470a84f90>), ('volume_source', <django.forms.fields.ChoiceField object at 0x7f4470a84090>), ('type', <django.forms.fields.ChoiceField object at 0x7f446ebb7d90>), ('size', <django.forms.fields.IntegerField object at 0x7f446ebb74d0>), ('availability_zone', <django.forms.fields.ChoiceField object at 0x7f446ebb7890>)])
clean()[source]
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f4473722b50>), ('description', <django.forms.fields.CharField object at 0x7f4471563a10>), ('volume_source_type', <django.forms.fields.ChoiceField object at 0x7f4471563d50>), ('snapshot_source', <django.forms.fields.ChoiceField object at 0x7f4470750510>), ('image_source', <django.forms.fields.ChoiceField object at 0x7f4470a84f90>), ('volume_source', <django.forms.fields.ChoiceField object at 0x7f4470a84090>), ('type', <django.forms.fields.ChoiceField object at 0x7f446ebb7d90>), ('size', <django.forms.fields.IntegerField object at 0x7f446ebb74d0>), ('availability_zone', <django.forms.fields.ChoiceField object at 0x7f446ebb7890>)])
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 0x7f446ebb7f10>), ('description', <django.forms.fields.CharField object at 0x7f446ffedb90>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f446ebb7f10>), ('description', <django.forms.fields.CharField object at 0x7f446ffedb90>)])
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 0x7f446ffeda10>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f446ffeda10>)])
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 0x7f447007ee10>), ('orig_size', <django.forms.fields.IntegerField object at 0x7f447007ee90>), ('new_size', <django.forms.fields.IntegerField object at 0x7f447007ea90>)])
clean()[source]
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f447007ee10>), ('orig_size', <django.forms.fields.IntegerField object at 0x7f447007ee90>), ('new_size', <django.forms.fields.IntegerField object at 0x7f447007ea90>)])
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 0x7f447007e850>), ('on-demand', <django.utils.functional.__proxy__ object at 0x7f447007ed50>)]
base_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f447007e8d0>), ('volume_type', <django.forms.fields.ChoiceField object at 0x7f447007ec90>), ('migration_policy', <django.forms.fields.ChoiceField object at 0x7f447007e1d0>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f447007e8d0>), ('volume_type', <django.forms.fields.ChoiceField object at 0x7f447007ec90>), ('migration_policy', <django.forms.fields.ChoiceField object at 0x7f447007e1d0>)])
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 0x7f446ffed4d0>), ('id', <django.forms.fields.CharField object at 0x7f4470b01b90>), ('auth_key', <django.forms.fields.CharField object at 0x7f4470b01d90>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f446ffed4d0>), ('id', <django.forms.fields.CharField object at 0x7f4470b01b90>), ('auth_key', <django.forms.fields.CharField object at 0x7f4470b01d90>)])
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 0x7f446f459350>), ('description', <django.forms.fields.CharField object at 0x7f446f459110>), ('bootable', <django.forms.fields.BooleanField object at 0x7f446fe364d0>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f446f459350>), ('description', <django.forms.fields.CharField object at 0x7f446f459110>), ('bootable', <django.forms.fields.BooleanField object at 0x7f446fe364d0>)])
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 0x7f4471147f50>), ('image_name', <django.forms.fields.CharField object at 0x7f447007ef50>), ('disk_format', <django.forms.fields.ChoiceField object at 0x7f447007e610>), ('force', <django.forms.fields.BooleanField object at 0x7f447007ea10>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f4471147f50>), ('image_name', <django.forms.fields.CharField object at 0x7f447007ef50>), ('disk_format', <django.forms.fields.ChoiceField object at 0x7f447007e610>), ('force', <django.forms.fields.BooleanField object at 0x7f447007ea10>)])
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