The openstack_dashboard.dashboards.project.instances.workflows.resize_instance ModuleΒΆ

class openstack_dashboard.dashboards.project.instances.workflows.resize_instance.ResizeInstance(request=None, context_seed=None, entry_point=None, *args, **kwargs)[source]

Bases: horizon.workflows.base.Workflow

ResizeInstance.default_steps = (<class 'openstack_dashboard.dashboards.project.instances.workflows.resize_instance.SetFlavorChoice'>, <class 'openstack_dashboard.dashboards.project.instances.workflows.create_instance.SetAdvanced'>)
ResizeInstance.failure_message = <django.utils.functional.__proxy__ object at 0x9754d10>
ResizeInstance.finalize_button_name = <django.utils.functional.__proxy__ object at 0x9754c50>
ResizeInstance.format_status_message(message)[source]
ResizeInstance.handle(*func_args, **func_kwargs)[source]
ResizeInstance.name = <django.utils.functional.__proxy__ object at 0x9754c10>
ResizeInstance.slug = 'resize_instance'
ResizeInstance.success_message = <django.utils.functional.__proxy__ object at 0x9754c90>
ResizeInstance.success_url = 'horizon:project:instances:index'
class openstack_dashboard.dashboards.project.instances.workflows.resize_instance.SetFlavorChoice(workflow)[source]

Bases: horizon.workflows.base.Step

SetFlavorChoice.action_class

alias of SetFlavorChoiceAction

SetFlavorChoice.contributes = ('old_flavor_id', 'old_flavor_name', 'flavors', 'flavor')
SetFlavorChoice.depends_on = ('instance_id', 'name')
class openstack_dashboard.dashboards.project.instances.workflows.resize_instance.SetFlavorChoiceAction(request, context, *args, **kwargs)[source]

Bases: horizon.workflows.base.Action

SetFlavorChoiceAction.base_fields = {'old_flavor_id': <django.forms.fields.CharField object at 0x97b8e90>, 'old_flavor_name': <django.forms.fields.CharField object at 0x97549d0>, 'flavor': <django.forms.fields.ChoiceField object at 0x9754a90>}
SetFlavorChoiceAction.clean()[source]
SetFlavorChoiceAction.get_help_text()[source]
SetFlavorChoiceAction.help_text = ''
SetFlavorChoiceAction.help_text_template = 'project/instances/_flavors_and_quotas.html'
SetFlavorChoiceAction.media
SetFlavorChoiceAction.name = <django.utils.functional.__proxy__ object at 0x9754b10>
SetFlavorChoiceAction.permissions = ()
SetFlavorChoiceAction.populate_flavor_choices(request, context)[source]
SetFlavorChoiceAction.progress_message = <django.utils.functional.__proxy__ object at 0x9754b90>
SetFlavorChoiceAction.slug = 'flavor_choice'

Previous topic

The openstack_dashboard.dashboards.project.instances.workflows.update_instance Module

Next topic

The openstack_dashboard.dashboards.project.instances.workflows Module

This Page