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 0x7fdfb3860f50>), ('auth_key', <django.forms.fields.CharField object at 0x7fdfb3860910>)])
declared_fields = OrderedDict([('transfer_id', <django.forms.fields.CharField object at 0x7fdfb3860f50>), ('auth_key', <django.forms.fields.CharField object at 0x7fdfb3860910>)])
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 0x7fdfb60bf8d0>), ('device', <django.forms.fields.CharField object at 0x7fdfb386fdd0>)])
declared_fields = OrderedDict([('instance', <django.forms.fields.ChoiceField object at 0x7fdfb60bf8d0>), ('device', <django.forms.fields.CharField object at 0x7fdfb386fdd0>)])
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 0x7fdfb1ef4190>), ('description', <django.forms.fields.CharField object at 0x7fdfb1e36d50>), ('volume_source_type', <django.forms.fields.ChoiceField object at 0x7fdfb1e36190>), ('snapshot_source', <django.forms.fields.ChoiceField object at 0x7fdfb1e36f50>), ('image_source', <django.forms.fields.ChoiceField object at 0x7fdfb1e36e90>), ('volume_source', <django.forms.fields.ChoiceField object at 0x7fdfb1e36c50>), ('type', <django.forms.fields.ChoiceField object at 0x7fdfb34103d0>), ('size', <django.forms.fields.IntegerField object at 0x7fdfb3410a90>), ('availability_zone', <django.forms.fields.ChoiceField object at 0x7fdfb313fe10>)])
clean()[source]
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7fdfb1ef4190>), ('description', <django.forms.fields.CharField object at 0x7fdfb1e36d50>), ('volume_source_type', <django.forms.fields.ChoiceField object at 0x7fdfb1e36190>), ('snapshot_source', <django.forms.fields.ChoiceField object at 0x7fdfb1e36f50>), ('image_source', <django.forms.fields.ChoiceField object at 0x7fdfb1e36e90>), ('volume_source', <django.forms.fields.ChoiceField object at 0x7fdfb1e36c50>), ('type', <django.forms.fields.ChoiceField object at 0x7fdfb34103d0>), ('size', <django.forms.fields.IntegerField object at 0x7fdfb3410a90>), ('availability_zone', <django.forms.fields.ChoiceField object at 0x7fdfb313fe10>)])
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 0x7fdfb386fcd0>), ('description', <django.forms.fields.CharField object at 0x7fdfb38f9310>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7fdfb386fcd0>), ('description', <django.forms.fields.CharField object at 0x7fdfb38f9310>)])
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 0x7fdfb38602d0>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7fdfb38602d0>)])
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 0x7fdfb3ffba90>), ('orig_size', <django.forms.fields.IntegerField object at 0x7fdfb3ffbb50>), ('new_size', <django.forms.fields.IntegerField object at 0x7fdfb3ffbe10>)])
clean()[source]
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7fdfb3ffba90>), ('orig_size', <django.forms.fields.IntegerField object at 0x7fdfb3ffbb50>), ('new_size', <django.forms.fields.IntegerField object at 0x7fdfb3ffbe10>)])
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 0x7fdfb3564990>), ('on-demand', <django.utils.functional.__proxy__ object at 0x7fdfb3564290>)]
base_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7fdfb3564710>), ('volume_type', <django.forms.fields.ChoiceField object at 0x7fdfb3564f90>), ('migration_policy', <django.forms.fields.ChoiceField object at 0x7fdfb3564c90>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7fdfb3564710>), ('volume_type', <django.forms.fields.ChoiceField object at 0x7fdfb3564f90>), ('migration_policy', <django.forms.fields.ChoiceField object at 0x7fdfb3564c90>)])
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 0x7fdfb3acd250>), ('id', <django.forms.fields.CharField object at 0x7fdfb3acde50>), ('auth_key', <django.forms.fields.CharField object at 0x7fdfb3acd350>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7fdfb3acd250>), ('id', <django.forms.fields.CharField object at 0x7fdfb3acde50>), ('auth_key', <django.forms.fields.CharField object at 0x7fdfb3acd350>)])
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 0x7fdfb3acd0d0>), ('description', <django.forms.fields.CharField object at 0x7fdfb3acd190>), ('bootable', <django.forms.fields.BooleanField object at 0x7fdfb3acdd10>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7fdfb3acd0d0>), ('description', <django.forms.fields.CharField object at 0x7fdfb3acd190>), ('bootable', <django.forms.fields.BooleanField object at 0x7fdfb3acdd10>)])
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 0x7fdfb3acd110>), ('image_name', <django.forms.fields.CharField object at 0x7fdfb3acd7d0>), ('disk_format', <django.forms.fields.ChoiceField object at 0x7fdfb3acd990>), ('force', <django.forms.fields.BooleanField object at 0x7fdfb3ffbd50>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7fdfb3acd110>), ('image_name', <django.forms.fields.CharField object at 0x7fdfb3acd7d0>), ('disk_format', <django.forms.fields.ChoiceField object at 0x7fdfb3acd990>), ('force', <django.forms.fields.BooleanField object at 0x7fdfb3ffbd50>)])
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.tabs Module

Next topic

The openstack_dashboard.dashboards.project.volumes.volumes Module

Project Source

This Page