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

class openstack_dashboard.dashboards.admin.volumes.volumes.forms.ManageVolume(request, *args, **kwargs)[source]

Bases: horizon.forms.base.SelfHandlingForm

base_fields = OrderedDict([('identifier', <django.forms.fields.CharField object at 0x7f1036026d10>), ('id_type', <horizon.forms.fields.ThemableChoiceField object at 0x7f1038aaf290>), ('host', <django.forms.fields.CharField object at 0x7f1038aaf550>), ('name', <django.forms.fields.CharField object at 0x7f1038aaf750>), ('description', <django.forms.fields.CharField object at 0x7f1038aafd90>), ('metadata', <django.forms.fields.CharField object at 0x7f1038aafe10>), ('volume_type', <horizon.forms.fields.ThemableChoiceField object at 0x7f1038aaf510>), ('availability_zone', <horizon.forms.fields.ThemableChoiceField object at 0x7f1038e668d0>), ('bootable', <django.forms.fields.BooleanField object at 0x7f1033542190>)])
declared_fields = OrderedDict([('identifier', <django.forms.fields.CharField object at 0x7f1036026d10>), ('id_type', <horizon.forms.fields.ThemableChoiceField object at 0x7f1038aaf290>), ('host', <django.forms.fields.CharField object at 0x7f1038aaf550>), ('name', <django.forms.fields.CharField object at 0x7f1038aaf750>), ('description', <django.forms.fields.CharField object at 0x7f1038aafd90>), ('metadata', <django.forms.fields.CharField object at 0x7f1038aafe10>), ('volume_type', <horizon.forms.fields.ThemableChoiceField object at 0x7f1038aaf510>), ('availability_zone', <horizon.forms.fields.ThemableChoiceField object at 0x7f1038e668d0>), ('bootable', <django.forms.fields.BooleanField object at 0x7f1033542190>)])
handle(request, data)[source]
media
class openstack_dashboard.dashboards.admin.volumes.volumes.forms.MigrateVolume(request, *args, **kwargs)[source]

Bases: horizon.forms.base.SelfHandlingForm

base_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f1033542050>), ('current_host', <django.forms.fields.CharField object at 0x7f10335424d0>), ('host', <horizon.forms.fields.ThemableChoiceField object at 0x7f1033542950>), ('force_host_copy', <django.forms.fields.BooleanField object at 0x7f1033542150>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f1033542050>), ('current_host', <django.forms.fields.CharField object at 0x7f10335424d0>), ('host', <horizon.forms.fields.ThemableChoiceField object at 0x7f1033542950>), ('force_host_copy', <django.forms.fields.BooleanField object at 0x7f1033542150>)])
handle(request, data)[source]
media
populate_host_choices(request, initial)[source]
class openstack_dashboard.dashboards.admin.volumes.volumes.forms.UnmanageVolume(request, *args, **kwargs)[source]

Bases: horizon.forms.base.SelfHandlingForm

base_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f1033542250>), ('host', <django.forms.fields.CharField object at 0x7f1033542450>), ('volume_id', <django.forms.fields.CharField object at 0x7f1033542810>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f1033542250>), ('host', <django.forms.fields.CharField object at 0x7f1033542450>), ('volume_id', <django.forms.fields.CharField object at 0x7f1033542810>)])
handle(request, data)[source]
media
class openstack_dashboard.dashboards.admin.volumes.volumes.forms.UpdateStatus(request, *args, **kwargs)[source]

Bases: horizon.forms.base.SelfHandlingForm

base_fields = OrderedDict([('status', <horizon.forms.fields.ThemableChoiceField object at 0x7f1033542e10>)])
declared_fields = OrderedDict([('status', <horizon.forms.fields.ThemableChoiceField object at 0x7f1033542e10>)])
handle(request, data)[source]
media

Previous topic

The openstack_dashboard.dashboards.admin.volumes.volumes Module

Next topic

The openstack_dashboard.dashboards.admin.instances.urls Module

Project Source

This Page