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 0x2add2584b5d0>), ('id_type', <django.forms.fields.ChoiceField object at 0x2add2584b710>), ('host', <django.forms.fields.CharField object at 0x2add2584b810>), ('name', <django.forms.fields.CharField object at 0x2add2584b950>), ('description', <django.forms.fields.CharField object at 0x2add2584ba90>), ('metadata', <django.forms.fields.CharField object at 0x2add2584bbd0>), ('volume_type', <django.forms.fields.ChoiceField object at 0x2add2584bcd0>), ('availability_zone', <django.forms.fields.ChoiceField object at 0x2add2584be10>), ('bootable', <django.forms.fields.BooleanField object at 0x2add2584bf50>)])
-
declared_fields
= OrderedDict([('identifier', <django.forms.fields.CharField object at 0x2add2584b5d0>), ('id_type', <django.forms.fields.ChoiceField object at 0x2add2584b710>), ('host', <django.forms.fields.CharField object at 0x2add2584b810>), ('name', <django.forms.fields.CharField object at 0x2add2584b950>), ('description', <django.forms.fields.CharField object at 0x2add2584ba90>), ('metadata', <django.forms.fields.CharField object at 0x2add2584bbd0>), ('volume_type', <django.forms.fields.ChoiceField object at 0x2add2584bcd0>), ('availability_zone', <django.forms.fields.ChoiceField object at 0x2add2584be10>), ('bootable', <django.forms.fields.BooleanField object at 0x2add2584bf50>)])
-
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 0x2add25852590>), ('current_host', <django.forms.fields.CharField object at 0x2add25852650>), ('host', <django.forms.fields.ChoiceField object at 0x2add25852710>), ('force_host_copy', <django.forms.fields.BooleanField object at 0x2add25852850>)])
-
declared_fields
= OrderedDict([('name', <django.forms.fields.CharField object at 0x2add25852590>), ('current_host', <django.forms.fields.CharField object at 0x2add25852650>), ('host', <django.forms.fields.ChoiceField object at 0x2add25852710>), ('force_host_copy', <django.forms.fields.BooleanField object at 0x2add25852850>)])
-
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 0x2add25852210>), ('host', <django.forms.fields.CharField object at 0x2add258522d0>), ('volume_id', <django.forms.fields.CharField object at 0x2add25852390>)])
-
declared_fields
= OrderedDict([('name', <django.forms.fields.CharField object at 0x2add25852210>), ('host', <django.forms.fields.CharField object at 0x2add258522d0>), ('volume_id', <django.forms.fields.CharField object at 0x2add25852390>)])
-
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 0x2add25852a50>)])
-
declared_fields
= OrderedDict([('status', <django.forms.fields.ChoiceField object at 0x2add25852a50>)])
-
handle
(request, data)[source]
-
media
-