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 0x7f9f3f65ef50>), ('reason', <django.forms.fields.CharField object at 0x7f9f3f65efd0>)])
declared_fields = OrderedDict([('host', <django.forms.fields.CharField object at 0x7f9f3f65ef50>), ('reason', <django.forms.fields.CharField object at 0x7f9f3f65efd0>)])
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 0x7f9f3f65ebd0>), ('target_host', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3f65ec90>), ('on_shared_storage', <django.forms.fields.BooleanField object at 0x7f9f3f65ed50>)])
declared_fields = OrderedDict([('current_host', <django.forms.fields.CharField object at 0x7f9f3f65ebd0>), ('target_host', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3f65ec90>), ('on_shared_storage', <django.forms.fields.BooleanField object at 0x7f9f3f65ed50>)])
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 0x7f9f3f60b250>), ('migrate_type', <django.forms.fields.ChoiceField object at 0x7f9f3f60b390>), ('disk_over_commit', <django.forms.fields.BooleanField object at 0x7f9f3f60b4d0>), ('block_migration', <django.forms.fields.BooleanField object at 0x7f9f3f60b610>)])
declared_fields = OrderedDict([('current_host', <django.forms.fields.CharField object at 0x7f9f3f60b250>), ('migrate_type', <django.forms.fields.ChoiceField object at 0x7f9f3f60b390>), ('disk_over_commit', <django.forms.fields.BooleanField object at 0x7f9f3f60b4d0>), ('block_migration', <django.forms.fields.BooleanField object at 0x7f9f3f60b610>)])
handle(request, data)[source]
media

Previous topic

The openstack_dashboard.dashboards.admin.hypervisors.compute Module

Next topic

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

Project Source

This Page