The openstack_dashboard.dashboards.project.volumes.volumes.forms ModuleΒΆ

Views for managing volumes.

class openstack_dashboard.dashboards.project.volumes.volumes.forms.AttachForm(*args, **kwargs)[source]

Bases: horizon.forms.base.SelfHandlingForm

base_fields = {'instance': <django.forms.fields.ChoiceField object at 0x5d91050>, 'device': <django.forms.fields.CharField object at 0x5d91290>}
handle(request, data)[source]
media
class openstack_dashboard.dashboards.project.volumes.volumes.forms.CreateForm(request, *args, **kwargs)[source]

Bases: horizon.forms.base.SelfHandlingForm

availability_zones(request)[source]
base_fields = {'name': <django.forms.fields.CharField object at 0x59a86d0>, 'description': <django.forms.fields.CharField object at 0x59a8990>, 'volume_source_type': <django.forms.fields.ChoiceField object at 0x59a8c90>, 'snapshot_source': <django.forms.fields.ChoiceField object at 0x5f9e7d0>, 'image_source': <django.forms.fields.ChoiceField object at 0x5f9e8d0>, 'volume_source': <django.forms.fields.ChoiceField object at 0x5f9e9d0>, 'type': <django.forms.fields.ChoiceField object at 0x5f9eb90>, 'size': <django.forms.fields.IntegerField object at 0x5f9ec90>, 'availability_zone': <django.forms.fields.ChoiceField object at 0x5f9eed0>}
cinder_az_supported(request)[source]
clean()[source]
get_image(*args, **kwargs)[source]
get_snapshot(*args, **kwargs)[source]
get_volume(*args, **kwargs)[source]
get_volumes(request)[source]
handle(request, data)[source]
media
class openstack_dashboard.dashboards.project.volumes.volumes.forms.CreateSnapshotForm(request, *args, **kwargs)[source]

Bases: horizon.forms.base.SelfHandlingForm

base_fields = {'name': <django.forms.fields.CharField object at 0x5d91390>, 'description': <django.forms.fields.CharField object at 0x5d91550>}
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 = {'name': <django.forms.fields.CharField object at 0x5d91e50>, 'orig_size': <django.forms.fields.IntegerField object at 0x5d91fd0>, 'new_size': <django.forms.fields.IntegerField object at 0x5d900d0>}
clean()[source]
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 0x5d90410>), ('on-demand', <django.utils.functional.__proxy__ object at 0x5d90450>)]
base_fields = {'name': <django.forms.fields.CharField object at 0x5d90210>, 'volume_type': <django.forms.fields.ChoiceField object at 0x5d90350>, 'migration_policy': <django.forms.fields.ChoiceField object at 0x5d90550>}
clean_volume_type()[source]
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 = {'name': <django.forms.fields.CharField object at 0x5d91690>, 'description': <django.forms.fields.CharField object at 0x5d91850>}
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 = {'name': <django.forms.fields.CharField object at 0x5d919d0>, 'image_name': <django.forms.fields.CharField object at 0x5d91b10>, 'disk_format': <django.forms.fields.ChoiceField object at 0x5d91c90>, 'force': <django.forms.fields.BooleanField object at 0x5d91d90>}
handle(request, data)[source]
media

Previous topic

The openstack_dashboard.dashboards.project.volumes.volumes.views Module

Next topic

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

This Page