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 = OrderedDict([('script_source', <django.forms.fields.ChoiceField object at 0x7fba5c038450>), ('script_upload', <django.forms.fields.FileField object at 0x7fba5c038f50>), ('script_data', <django.forms.fields.CharField object at 0x7fba5c038990>)])
clean()[source]
clean_uploaded_files(prefix, files)[source]
declared_fields = OrderedDict([('script_source', <django.forms.fields.ChoiceField object at 0x7fba5c038450>), ('script_upload', <django.forms.fields.FileField object at 0x7fba5c038f50>), ('script_data', <django.forms.fields.CharField object at 0x7fba5c038990>)])
help_text = ''
help_text_template = 'project/instances/_launch_customize_help.html'
media
name = <django.utils.functional.__proxy__ object at 0x7fba5c038e90>
permissions = ()
progress_message = <django.utils.functional.__proxy__ object at 0x7fba5c0388d0>
script_help = <django.utils.functional.__proxy__ object at 0x7fba5c0387d0>
slug = u'customizeaction'
source_choices = [('', <django.utils.functional.__proxy__ object at 0x7fba5c038e10>), ('raw', <django.utils.functional.__proxy__ object at 0x7fba5c038810>), ('file', <django.utils.functional.__proxy__ object at 0x7fba5c038ad0>)]
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.SetNetworkPorts'>, <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 0x7fba5cbda6d0>
finalize_button_name = <django.utils.functional.__proxy__ object at 0x7fba5c80c810>
format_status_message(message)[source]
handle(*func_args, **func_kwargs)[source]
multipart = True
name = <django.utils.functional.__proxy__ object at 0x7fba5c80c750>
set_network_port_profiles(request, net_ids, profile_id)[source]
slug = 'launch_instance'
success_message = <django.utils.functional.__proxy__ object at 0x7fba5c80c610>
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 = OrderedDict([('project_id', <django.forms.fields.ChoiceField object at 0x7fba5c1213d0>), ('user_id', <django.forms.fields.ChoiceField object at 0x7fba5c121a90>)])
declared_fields = OrderedDict([('project_id', <django.forms.fields.ChoiceField object at 0x7fba5c1213d0>), ('user_id', <django.forms.fields.ChoiceField object at 0x7fba5c121a90>)])
help_text = ''
help_text_template = None
media
name = <django.utils.functional.__proxy__ object at 0x7fba5c121590>
permissions = ('!',)
progress_message = <django.utils.functional.__proxy__ object at 0x7fba5c121b90>
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 = OrderedDict([('keypair', <horizon.forms.fields.DynamicChoiceField object at 0x7fba5bfc0890>), ('admin_pass', <django.forms.fields.RegexField object at 0x7fba5fbdbad0>), ('confirm_admin_pass', <django.forms.fields.CharField object at 0x7fba5c038550>), ('groups', <django.forms.fields.MultipleChoiceField object at 0x7fba5c038650>)])
clean()[source]

Check to make sure password fields match.

declared_fields = OrderedDict([('keypair', <horizon.forms.fields.DynamicChoiceField object at 0x7fba5bfc0890>), ('admin_pass', <django.forms.fields.RegexField object at 0x7fba5fbdbad0>), ('confirm_admin_pass', <django.forms.fields.CharField object at 0x7fba5c038550>), ('groups', <django.forms.fields.MultipleChoiceField object at 0x7fba5c038650>)])
help_text = <django.utils.functional.__proxy__ object at 0x7fba5c038690>
help_text_template = None
media
name = <django.utils.functional.__proxy__ object at 0x7fba5c038b90>
permissions = ()
populate_groups_choices(request, context)[source]
populate_keypair_choices(request, context)[source]
progress_message = <django.utils.functional.__proxy__ object at 0x7fba5c038a10>
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 = OrderedDict([('disk_config', <django.forms.fields.ChoiceField object at 0x7fba5bd3c390>), ('config_drive', <django.forms.fields.BooleanField object at 0x7fba5c2ccf90>)])
declared_fields = OrderedDict([('disk_config', <django.forms.fields.ChoiceField object at 0x7fba5bd3c390>), ('config_drive', <django.forms.fields.BooleanField object at 0x7fba5c2ccf90>)])
help_text = ''
help_text_template = 'project/instances/_launch_advanced_help.html'
media
name = <django.utils.functional.__proxy__ object at 0x7fba5c2cc7d0>
permissions = ()
progress_message = <django.utils.functional.__proxy__ object at 0x7fba5c80cd50>
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', 'vol_delete_on_instance_delete')
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 = OrderedDict([('availability_zone', <django.forms.fields.ChoiceField object at 0x7fba5c1216d0>), ('name', <django.forms.fields.CharField object at 0x7fba5ebd0810>), ('flavor', <django.forms.fields.ChoiceField object at 0x7fba5ebd0b90>), ('count', <django.forms.fields.IntegerField object at 0x7fba5ebd0850>), ('source_type', <django.forms.fields.ChoiceField object at 0x7fba5d437e10>), ('instance_snapshot_id', <django.forms.fields.ChoiceField object at 0x7fba5bfc0c10>), ('volume_id', <django.forms.fields.ChoiceField object at 0x7fba5bfc0d90>), ('volume_snapshot_id', <django.forms.fields.ChoiceField object at 0x7fba5bfc0e90>), ('image_id', <django.forms.fields.ChoiceField object at 0x7fba5bfc0b90>), ('volume_size', <django.forms.fields.IntegerField object at 0x7fba5bfc0450>), ('device_name', <django.forms.fields.CharField object at 0x7fba5bfc0250>), ('vol_delete_on_instance_delete', <django.forms.fields.BooleanField object at 0x7fba5bfc0b10>)])
clean()[source]
declared_fields = OrderedDict([('availability_zone', <django.forms.fields.ChoiceField object at 0x7fba5c1216d0>), ('name', <django.forms.fields.CharField object at 0x7fba5ebd0810>), ('flavor', <django.forms.fields.ChoiceField object at 0x7fba5ebd0b90>), ('count', <django.forms.fields.IntegerField object at 0x7fba5ebd0850>), ('source_type', <django.forms.fields.ChoiceField object at 0x7fba5d437e10>), ('instance_snapshot_id', <django.forms.fields.ChoiceField object at 0x7fba5bfc0c10>), ('volume_id', <django.forms.fields.ChoiceField object at 0x7fba5bfc0d90>), ('volume_snapshot_id', <django.forms.fields.ChoiceField object at 0x7fba5bfc0e90>), ('image_id', <django.forms.fields.ChoiceField object at 0x7fba5bfc0b90>), ('volume_size', <django.forms.fields.IntegerField object at 0x7fba5bfc0450>), ('device_name', <django.forms.fields.CharField object at 0x7fba5bfc0250>), ('vol_delete_on_instance_delete', <django.forms.fields.BooleanField object at 0x7fba5bfc0b10>)])
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 0x7fba5bfc0110>
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 0x7fba5bfc0350>
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 = OrderedDict([('network', <django.forms.fields.MultipleChoiceField object at 0x7fba5bdfe650>), ('profile', <django.forms.fields.ChoiceField object at 0x7fba5bb4b150>)])
declared_fields = OrderedDict([('network', <django.forms.fields.MultipleChoiceField object at 0x7fba5bdfe650>), ('profile', <django.forms.fields.ChoiceField object at 0x7fba5bb4b150>)])
get_policy_profile_choices(request)[source]
help_text = <django.utils.functional.__proxy__ object at 0x7fba5bb4b7d0>
help_text_template = None
media
name = <django.utils.functional.__proxy__ object at 0x7fba5bb4bd50>
permissions = ('openstack.services.network',)
populate_network_choices(request, context)[source]
progress_message = <django.utils.functional.__proxy__ object at 0x7fba5bb4b450>
slug = u'setnetworkaction'
widget = <django.forms.widgets.HiddenInput object at 0x7fba5bb4b690>
class openstack_dashboard.dashboards.project.instances.workflows.create_instance.SetNetworkPorts(workflow)[source]

Bases: horizon.workflows.base.Step

action_class

alias of SetNetworkPortsAction

contribute(data, context)[source]
contributes = ('ports',)
class openstack_dashboard.dashboards.project.instances.workflows.create_instance.SetNetworkPortsAction(request, context, *args, **kwargs)[source]

Bases: horizon.workflows.base.Action

base_fields = OrderedDict([('ports', <django.forms.fields.MultipleChoiceField object at 0x7fba5bb4ba90>)])
declared_fields = OrderedDict([('ports', <django.forms.fields.MultipleChoiceField object at 0x7fba5bb4ba90>)])
help_text = ''
help_text_template = 'project/instances/_launch_network_ports_help.html'
media
name = <django.utils.functional.__proxy__ object at 0x7fba5bb4b750>
permissions = ('openstack.services.network',)
populate_ports_choices(request, context)[source]
progress_message = <django.utils.functional.__proxy__ object at 0x7fba5bd3c410>
slug = u'setnetworkportsaction'

Previous topic

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

Next topic

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

Project Source

This Page