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 = {'transfer_id': <django.forms.fields.CharField object at 0x2b77f6e6fc90>, 'auth_key': <django.forms.fields.CharField object at 0x2b77f81ea610>}
handle(request, data)[source]
media
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 0x2b77f70af590>, 'device': <django.forms.fields.CharField object at 0x2b77f4b605d0>}
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 = {'name': <django.forms.fields.CharField object at 0x2b77f98130d0>, 'description': <django.forms.fields.CharField object at 0x2b77f95804d0>, 'volume_source_type': <django.forms.fields.ChoiceField object at 0x2b77f9580490>, 'snapshot_source': <django.forms.fields.ChoiceField object at 0x2b77f9580390>, 'image_source': <django.forms.fields.ChoiceField object at 0x2b77f9580990>, 'volume_source': <django.forms.fields.ChoiceField object at 0x2b77f97b4990>, 'type': <django.forms.fields.ChoiceField object at 0x2b77f97b4ad0>, 'size': <django.forms.fields.IntegerField object at 0x2b77f5196f90>, 'availability_zone': <django.forms.fields.ChoiceField object at 0x2b77f70afd10>}
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
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 = {'name': <django.forms.fields.CharField object at 0x2b77f6e6f450>, 'description': <django.forms.fields.CharField object at 0x2b77f6e6fed0>}
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 = {'name': <django.forms.fields.CharField object at 0x2b77f6e6fb90>}
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 0x2b77f7660d50>, 'orig_size': <django.forms.fields.IntegerField object at 0x2b77f7660a90>, 'new_size': <django.forms.fields.IntegerField object at 0x2b77f7660290>}
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 0x2b77f8d2aa10>), ('on-demand', <django.utils.functional.__proxy__ object at 0x2b77f8d2a410>)]
base_fields = {'name': <django.forms.fields.CharField object at 0x2b77f7660e50>, 'volume_type': <django.forms.fields.ChoiceField object at 0x2b77f6f7a410>, 'migration_policy': <django.forms.fields.ChoiceField object at 0x2b77f8d2a290>}
clean_volume_type()[source]
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 = {'name': <django.forms.fields.CharField object at 0x2b77f76055d0>, 'id': <django.forms.fields.CharField object at 0x2b77f3402090>, 'auth_key': <django.forms.fields.CharField object at 0x2b77f3402450>}
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 0x2b77f4ffe990>, 'description': <django.forms.fields.CharField object at 0x2b77f79e7a90>, 'bootable': <django.forms.fields.BooleanField object at 0x2b77f79e7250>}
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 0x2b77f79e7ed0>, 'image_name': <django.forms.fields.CharField object at 0x2b77f79e7f50>, 'disk_format': <django.forms.fields.ChoiceField object at 0x2b77f7660cd0>, 'force': <django.forms.fields.BooleanField object at 0x2b77f7660d90>}
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.openstack Module

This Page