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

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

Bases: horizon.workflows.base.Step

action_class

alias of SetFlavorChoiceAction

contributes = ('old_flavor_id', 'old_flavor_name', 'flavors', 'flavor')
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

base_fields = OrderedDict([('old_flavor_id', <django.forms.fields.CharField object at 0x7f9f3f27b690>), ('old_flavor_name', <django.forms.fields.CharField object at 0x7f9f3f0741d0>), ('flavor', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3f074290>)])
declared_fields = OrderedDict([('old_flavor_id', <django.forms.fields.CharField object at 0x7f9f3f27b690>), ('old_flavor_name', <django.forms.fields.CharField object at 0x7f9f3f0741d0>), ('flavor', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3f074290>)])
get_help_text(extra_context=None)[source]
help_text = ''
help_text_template = 'project/instances/_flavors_and_quotas.html'
media
name = <django.utils.functional.__proxy__ object at 0x7f9f3f074310>
permissions = ()
policy_rules = ()
populate_flavor_choices(request, context)[source]
progress_message = <django.utils.functional.__proxy__ object at 0x7f9f3f074390>
slug = 'flavor_choice'

Previous topic

The openstack_dashboard.dashboards.project.instances.urls Module

Next topic

The openstack_dashboard.dashboards.project.instances.workflows Module

Project Source

This Page