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

class openstack_dashboard.dashboards.project.instances.workflows.create_instance.CustomizeAction(*args)[source]

Bases: horizon.workflows.base.Action

attributes = {'data-slug': 'scriptsource', 'class': 'switchable'}
base_fields = {'script_source': <django.forms.fields.ChoiceField object at 0x2afcc8e5dd10>, 'script_upload': <django.forms.fields.FileField object at 0x2afcc8e5ded0>, 'script_data': <django.forms.fields.CharField object at 0x2afcc8e3a0d0>}
clean()[source]
clean_uploaded_files(prefix, files)[source]
help_text = ''
help_text_template = 'project/instances/_launch_customize_help.html'
media
name = <django.utils.functional.__proxy__ object at 0x2afcc733e050>
permissions = ()
progress_message = <django.utils.functional.__proxy__ object at 0x2afcc8e3a150>
script_help = <django.utils.functional.__proxy__ object at 0x2afcc8e5dd90>
slug = u'customizeaction'
source_choices = [('', <django.utils.functional.__proxy__ object at 0x2afcc8e5dad0>), ('raw', <django.utils.functional.__proxy__ object at 0x2afcc8e5db10>), ('file', <django.utils.functional.__proxy__ object at 0x2afcc8e5db90>)]
class openstack_dashboard.dashboards.project.instances.workflows.create_instance.LaunchInstance(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.create_instance.SelectProjectUser'>, <class 'openstack_dashboard.dashboards.project.instances.workflows.create_instance.SetInstanceDetails'>, <class 'openstack_dashboard.dashboards.project.instances.workflows.create_instance.SetAccessControls'>, <class 'openstack_dashboard.dashboards.project.instances.workflows.create_instance.SetNetwork'>, <class 'openstack_dashboard.dashboards.project.instances.workflows.create_instance.PostCreationStep'>, <class 'openstack_dashboard.dashboards.project.instances.workflows.create_instance.SetAdvanced'>)
failure_message = <django.utils.functional.__proxy__ object at 0x2afcc8e3aed0>
finalize_button_name = <django.utils.functional.__proxy__ object at 0x2afcc8e3ae50>
format_status_message(message)[source]
handle(*func_args, **func_kwargs)[source]
multipart = True
name = <django.utils.functional.__proxy__ object at 0x2afcc8e3ae10>
set_network_port_profiles(request, net_ids, profile_id)[source]
slug = 'launch_instance'
success_message = <django.utils.functional.__proxy__ object at 0x2afcc8e3ae90>
success_url = 'horizon:project:instances:index'
class openstack_dashboard.dashboards.project.instances.workflows.create_instance.PostCreationStep(workflow)[source]

Bases: horizon.workflows.base.Step

action_class

alias of CustomizeAction

contributes = ('script_data',)
class openstack_dashboard.dashboards.project.instances.workflows.create_instance.SelectProjectUser(workflow)[source]

Bases: horizon.workflows.base.Step

action_class

alias of SelectProjectUserAction

contributes = ('project_id', 'user_id')
class openstack_dashboard.dashboards.project.instances.workflows.create_instance.SelectProjectUserAction(request, *args, **kwargs)[source]

Bases: horizon.workflows.base.Action

base_fields = {'project_id': <django.forms.fields.ChoiceField object at 0x2afcc8521410>, 'user_id': <django.forms.fields.ChoiceField object at 0x2afcc8521250>}
help_text = ''
help_text_template = None
media
name = <django.utils.functional.__proxy__ object at 0x2afcc8521390>
permissions = ('!',)
progress_message = <django.utils.functional.__proxy__ object at 0x2afcc8574790>
slug = u'selectprojectuseraction'
class openstack_dashboard.dashboards.project.instances.workflows.create_instance.SetAccessControls(workflow)[source]

Bases: horizon.workflows.base.Step

action_class

alias of SetAccessControlsAction

contribute(data, context)[source]
contributes = ('keypair_id', 'security_group_ids', 'admin_pass', 'confirm_admin_pass')
depends_on = ('project_id', 'user_id')
class openstack_dashboard.dashboards.project.instances.workflows.create_instance.SetAccessControlsAction(request, *args, **kwargs)[source]

Bases: horizon.workflows.base.Action

base_fields = {'keypair': <horizon.forms.fields.DynamicChoiceField object at 0x2afcc8e5d390>, 'admin_pass': <django.forms.fields.RegexField object at 0x2afcc8e5d550>, 'confirm_admin_pass': <django.forms.fields.CharField object at 0x2afcc8e5d650>, 'groups': <django.forms.fields.MultipleChoiceField object at 0x2afcc8e5d790>}
clean()[source]

Check to make sure password fields match.

help_text = <django.utils.functional.__proxy__ object at 0x2afcc8e5d850>
help_text_template = None
media
name = <django.utils.functional.__proxy__ object at 0x2afcc8e5d810>
permissions = ()
populate_groups_choices(request, context)[source]
populate_keypair_choices(request, context)[source]
progress_message = <django.utils.functional.__proxy__ object at 0x2afcc8e5da90>
slug = u'setaccesscontrolsaction'
class openstack_dashboard.dashboards.project.instances.workflows.create_instance.SetAdvanced(workflow)[source]

Bases: horizon.workflows.base.Step

action_class

alias of SetAdvancedAction

contributes = ('disk_config', 'config_drive')
prepare_action_context(request, context)[source]
class openstack_dashboard.dashboards.project.instances.workflows.create_instance.SetAdvancedAction(request, context, *args, **kwargs)[source]

Bases: horizon.workflows.base.Action

base_fields = {'disk_config': <django.forms.fields.ChoiceField object at 0x2afcc8e3a990>, 'config_drive': <django.forms.fields.BooleanField object at 0x2afcc8e3ab10>}
help_text = ''
help_text_template = 'project/instances/_launch_advanced_help.html'
media
name = <django.utils.functional.__proxy__ object at 0x2afcc8e3ab90>
permissions = ()
progress_message = <django.utils.functional.__proxy__ object at 0x2afcc8e3add0>
slug = u'setadvancedaction'
class openstack_dashboard.dashboards.project.instances.workflows.create_instance.SetInstanceDetails(workflow)[source]

Bases: horizon.workflows.base.Step

action_class

alias of SetInstanceDetailsAction

contribute(data, context)[source]
contributes = ('source_type', 'source_id', 'availability_zone', 'name', 'count', 'flavor', 'device_name', 'delete_on_terminate')
depends_on = ('project_id', 'user_id')
prepare_action_context(request, context)[source]
class openstack_dashboard.dashboards.project.instances.workflows.create_instance.SetInstanceDetailsAction(request, context, *args, **kwargs)[source]

Bases: horizon.workflows.base.Action

base_fields = {'availability_zone': <django.forms.fields.ChoiceField object at 0x2afcc8574890>, 'name': <django.forms.fields.CharField object at 0x2afcc8574390>, 'flavor': <django.forms.fields.ChoiceField object at 0x2afcc8574f90>, 'count': <django.forms.fields.IntegerField object at 0x2afcc8574550>, 'source_type': <django.forms.fields.ChoiceField object at 0x2afcc8574650>, 'instance_snapshot_id': <django.forms.fields.ChoiceField object at 0x2afcc8574850>, 'volume_id': <django.forms.fields.ChoiceField object at 0x2afcc8574a50>, 'volume_snapshot_id': <django.forms.fields.ChoiceField object at 0x2afcc8574f10>, 'image_id': <django.forms.fields.ChoiceField object at 0x2afcc8574c50>, 'volume_size': <django.forms.fields.IntegerField object at 0x2afcc8574b90>, 'device_name': <django.forms.fields.CharField object at 0x2afcc85741d0>, 'delete_on_terminate': <django.forms.fields.BooleanField object at 0x2afcc8574f50>}
clean()[source]
get_help_text(extra_context=None)[source]
help_text = ''
help_text_template = 'project/instances/_launch_details_help.html'
media
name = <django.utils.functional.__proxy__ object at 0x2afcc8e5d0d0>
permissions = ()
populate_availability_zone_choices(request, context)[source]
populate_flavor_choices(request, context)[source]
populate_image_id_choices(request, context)[source]
populate_instance_snapshot_id_choices(request, context)[source]
populate_volume_id_choices(request, context)[source]
populate_volume_snapshot_id_choices(request, context)[source]
progress_message = <django.utils.functional.__proxy__ object at 0x2afcc8e5d2d0>
slug = u'setinstancedetailsaction'
class openstack_dashboard.dashboards.project.instances.workflows.create_instance.SetNetwork(workflow)[source]

Bases: horizon.workflows.base.Step

action_class

alias of SetNetworkAction

contribute(data, context)[source]
contributes = ('network_id',)
template_name = 'project/instances/_update_networks.html'
class openstack_dashboard.dashboards.project.instances.workflows.create_instance.SetNetworkAction(request, *args, **kwargs)[source]

Bases: horizon.workflows.base.Action

base_fields = {'network': <django.forms.fields.MultipleChoiceField object at 0x2afcc8e3a410>, 'profile': <django.forms.fields.ChoiceField object at 0x2afcc8e3a590>}
get_policy_profile_choices(request)[source]
help_text = <django.utils.functional.__proxy__ object at 0x2afcc8e3a690>
help_text_template = None
media
name = <django.utils.functional.__proxy__ object at 0x2afcc8e3a650>
permissions = ('openstack.services.network',)
populate_network_choices(request, context)[source]
progress_message = <django.utils.functional.__proxy__ object at 0x2afcc8e3a8d0>
slug = u'setnetworkaction'
widget = <django.forms.widgets.HiddenInput object at 0x2afcc8e3a4d0>

Previous topic

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

Next topic

The openstack_dashboard.dashboards.project.overview.views Module

This Page