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 0x99f9790>), ('id_type', <django.forms.fields.ChoiceField object at 0x99f9250>), ('host', <django.forms.fields.CharField object at 0x99f9750>), ('name', <django.forms.fields.CharField object at 0x99f9cd0>), ('description', <django.forms.fields.CharField object at 0x9a0f5d0>), ('metadata', <django.forms.fields.CharField object at 0x9a0f090>), ('volume_type', <django.forms.fields.ChoiceField object at 0x9a06ad0>), ('availability_zone', <django.forms.fields.ChoiceField object at 0x9a06690>), ('bootable', <django.forms.fields.BooleanField object at 0x9a06c90>)])
declared_fields = OrderedDict([('identifier', <django.forms.fields.CharField object at 0x99f9790>), ('id_type', <django.forms.fields.ChoiceField object at 0x99f9250>), ('host', <django.forms.fields.CharField object at 0x99f9750>), ('name', <django.forms.fields.CharField object at 0x99f9cd0>), ('description', <django.forms.fields.CharField object at 0x9a0f5d0>), ('metadata', <django.forms.fields.CharField object at 0x9a0f090>), ('volume_type', <django.forms.fields.ChoiceField object at 0x9a06ad0>), ('availability_zone', <django.forms.fields.ChoiceField object at 0x9a06690>), ('bootable', <django.forms.fields.BooleanField object at 0x9a06c90>)])
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 0x9a06b10>), ('current_host', <django.forms.fields.CharField object at 0x9a06a10>), ('host', <django.forms.fields.ChoiceField object at 0x9a066d0>), ('force_host_copy', <django.forms.fields.BooleanField object at 0x9a06110>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x9a06b10>), ('current_host', <django.forms.fields.CharField object at 0x9a06a10>), ('host', <django.forms.fields.ChoiceField object at 0x9a066d0>), ('force_host_copy', <django.forms.fields.BooleanField object at 0x9a06110>)])
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 0x9a06310>), ('host', <django.forms.fields.CharField object at 0x9a06990>), ('volume_id', <django.forms.fields.CharField object at 0x9a06fd0>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x9a06310>), ('host', <django.forms.fields.CharField object at 0x9a06990>), ('volume_id', <django.forms.fields.CharField object at 0x9a06fd0>)])
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', <django.forms.fields.ChoiceField object at 0x9a06290>)])
declared_fields = OrderedDict([('status', <django.forms.fields.ChoiceField object at 0x9a06290>)])
handle(request, data)[source]
media

Previous topic

The openstack_dashboard.dashboards.admin.volumes.volumes Module

Next topic

The openstack_dashboard.dashboards.admin.volumes.volumes.tables Module

This Page