The openstack_dashboard.dashboards.admin.hypervisors.compute.forms ModuleΒΆ

class openstack_dashboard.dashboards.admin.hypervisors.compute.forms.DisableServiceForm(request, *args, **kwargs)[source]

Bases: horizon.forms.base.SelfHandlingForm

base_fields = OrderedDict([('host', <django.forms.fields.CharField object at 0x7fba5bcb4cd0>), ('reason', <django.forms.fields.CharField object at 0x7fba5bcb4b50>)])
declared_fields = OrderedDict([('host', <django.forms.fields.CharField object at 0x7fba5bcb4cd0>), ('reason', <django.forms.fields.CharField object at 0x7fba5bcb4b50>)])
handle(request, data)[source]
media
class openstack_dashboard.dashboards.admin.hypervisors.compute.forms.EvacuateHostForm(request, *args, **kwargs)[source]

Bases: horizon.forms.base.SelfHandlingForm

base_fields = OrderedDict([('current_host', <django.forms.fields.CharField object at 0x7fba5c00a610>), ('target_host', <django.forms.fields.ChoiceField object at 0x7fba5bcb4490>), ('on_shared_storage', <django.forms.fields.BooleanField object at 0x7fba5bcb4bd0>)])
declared_fields = OrderedDict([('current_host', <django.forms.fields.CharField object at 0x7fba5c00a610>), ('target_host', <django.forms.fields.ChoiceField object at 0x7fba5bcb4490>), ('on_shared_storage', <django.forms.fields.BooleanField object at 0x7fba5bcb4bd0>)])
handle(request, data)[source]
media
populate_host_choices(request, initial)[source]
class openstack_dashboard.dashboards.admin.hypervisors.compute.forms.MigrateHostForm(request, *args, **kwargs)[source]

Bases: horizon.forms.base.SelfHandlingForm

base_fields = OrderedDict([('current_host', <django.forms.fields.CharField object at 0x7fba5bcb45d0>), ('migrate_type', <django.forms.fields.ChoiceField object at 0x7fba5bc58c50>), ('disk_over_commit', <django.forms.fields.BooleanField object at 0x7fba5bc58310>), ('block_migration', <django.forms.fields.BooleanField object at 0x7fba5bc58750>)])
declared_fields = OrderedDict([('current_host', <django.forms.fields.CharField object at 0x7fba5bcb45d0>), ('migrate_type', <django.forms.fields.ChoiceField object at 0x7fba5bc58c50>), ('disk_over_commit', <django.forms.fields.BooleanField object at 0x7fba5bc58310>), ('block_migration', <django.forms.fields.BooleanField object at 0x7fba5bc58750>)])
handle(request, data)[source]
media

Previous topic

The openstack_dashboard.dashboards.admin.hypervisors.compute.views Module

Next topic

The openstack_dashboard.dashboards.admin.hypervisors.compute.urls Module

Project Source

This Page