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

Views for managing volumes.

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

Bases: horizon.forms.base.SelfHandlingForm

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

Bases: horizon.forms.base.SelfHandlingForm

CreateForm.base_fields = {'name': <django.forms.fields.CharField object at 0x65c5990>, 'description': <django.forms.fields.CharField object at 0x65d2690>, 'type': <django.forms.fields.ChoiceField object at 0x65d2750>, 'size': <django.forms.fields.IntegerField object at 0x65d2810>, 'volume_source_type': <django.forms.fields.ChoiceField object at 0x65d2910>, 'snapshot_source': <django.forms.fields.ChoiceField object at 0x65d2a10>, 'image_source': <django.forms.fields.ChoiceField object at 0x65d2ad0>}
CreateForm.get_image = <functools.partial object at 0xdb7cd60>[source]
CreateForm.get_snapshot = <functools.partial object at 0xdb7cdb8>[source]
CreateForm.handle(request, data)[source]
CreateForm.media
class openstack_dashboard.dashboards.project.volumes.forms.CreateSnapshotForm(request, *args, **kwargs)[source]

Bases: horizon.forms.base.SelfHandlingForm

CreateSnapshotForm.base_fields = {'name': <django.forms.fields.CharField object at 0x65d2d90>, 'description': <django.forms.fields.CharField object at 0x65d2e90>}
CreateSnapshotForm.handle(request, data)[source]
CreateSnapshotForm.media

Previous topic

The openstack_dashboard.dashboards.project.volumes Module

Next topic

The openstack_dashboard.dashboards.project.images_and_snapshots.views Module

This Page