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 0x7fdfb521dbd0>), ('script_upload', <django.forms.fields.FileField object at 0x7fdfb521d2d0>), ('script_data', <django.forms.fields.CharField object at 0x7fdfb56ec490>)])
clean()[source]
clean_uploaded_files(prefix, files)[source]
declared_fields = OrderedDict([('script_source', <django.forms.fields.ChoiceField object at 0x7fdfb521dbd0>), ('script_upload', <django.forms.fields.FileField object at 0x7fdfb521d2d0>), ('script_data', <django.forms.fields.CharField object at 0x7fdfb56ec490>)])
help_text = ''
help_text_template = 'project/instances/_launch_customize_help.html'
media
name = <django.utils.functional.__proxy__ object at 0x7fdfb521d950>
permissions = ()
progress_message = <django.utils.functional.__proxy__ object at 0x7fdfb56ecd50>
script_help = <django.utils.functional.__proxy__ object at 0x7fdfb521d450>
slug = u'customizeaction'
source_choices = [('', <django.utils.functional.__proxy__ object at 0x7fdfb521de90>), ('raw', <django.utils.functional.__proxy__ object at 0x7fdfb521d390>), ('file', <django.utils.functional.__proxy__ object at 0x7fdfb521d5d0>)]
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 0x7fdfb3853990>
finalize_button_name = <django.utils.functional.__proxy__ object at 0x7fdfb3853290>
format_status_message(message)[source]
handle(*func_args, **func_kwargs)[source]
multipart = True
name = <django.utils.functional.__proxy__ object at 0x7fdfb3853750>
set_network_port_profiles(request, net_ids, profile_id)[source]
slug = 'launch_instance'
success_message = <django.utils.functional.__proxy__ object at 0x7fdfb3853110>
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 0x7fdfb56c4910>), ('user_id', <django.forms.fields.ChoiceField object at 0x7fdfb56c43d0>)])
declared_fields = OrderedDict([('project_id', <django.forms.fields.ChoiceField object at 0x7fdfb56c4910>), ('user_id', <django.forms.fields.ChoiceField object at 0x7fdfb56c43d0>)])
help_text = ''
help_text_template = None
media
name = <django.utils.functional.__proxy__ object at 0x7fdfb49c41d0>
permissions = ('!',)
progress_message = <django.utils.functional.__proxy__ object at 0x7fdfb49c4a50>
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 0x7fdfb3f9c510>), ('admin_pass', <django.forms.fields.RegexField object at 0x7fdfb3f9cd10>), ('confirm_admin_pass', <django.forms.fields.CharField object at 0x7fdfb3f9cf50>), ('groups', <django.forms.fields.MultipleChoiceField object at 0x7fdfb521d550>)])
clean()[source]

Check to make sure password fields match.

declared_fields = OrderedDict([('keypair', <horizon.forms.fields.DynamicChoiceField object at 0x7fdfb3f9c510>), ('admin_pass', <django.forms.fields.RegexField object at 0x7fdfb3f9cd10>), ('confirm_admin_pass', <django.forms.fields.CharField object at 0x7fdfb3f9cf50>), ('groups', <django.forms.fields.MultipleChoiceField object at 0x7fdfb521d550>)])
help_text = <django.utils.functional.__proxy__ object at 0x7fdfb521d3d0>
help_text_template = None
media
name = <django.utils.functional.__proxy__ object at 0x7fdfb521d510>
permissions = ()
populate_groups_choices(request, context)[source]
populate_keypair_choices(request, context)[source]
progress_message = <django.utils.functional.__proxy__ object at 0x7fdfb521d8d0>
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 0x7fdfb56ec550>), ('config_drive', <django.forms.fields.BooleanField object at 0x7fdfb3853c90>)])
declared_fields = OrderedDict([('disk_config', <django.forms.fields.ChoiceField object at 0x7fdfb56ec550>), ('config_drive', <django.forms.fields.BooleanField object at 0x7fdfb3853c90>)])
help_text = ''
help_text_template = 'project/instances/_launch_advanced_help.html'
media
name = <django.utils.functional.__proxy__ object at 0x7fdfb3853c50>
permissions = ()
progress_message = <django.utils.functional.__proxy__ object at 0x7fdfb3853c10>
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 = OrderedDict([('availability_zone', <django.forms.fields.ChoiceField object at 0x7fdfb49c4750>), ('name', <django.forms.fields.CharField object at 0x7fdfb49c4e90>), ('flavor', <django.forms.fields.ChoiceField object at 0x7fdfb49c4810>), ('count', <django.forms.fields.IntegerField object at 0x7fdfb49c4290>), ('source_type', <django.forms.fields.ChoiceField object at 0x7fdfb49c4710>), ('instance_snapshot_id', <django.forms.fields.ChoiceField object at 0x7fdfb5d3c110>), ('volume_id', <django.forms.fields.ChoiceField object at 0x7fdfb3f9c550>), ('volume_snapshot_id', <django.forms.fields.ChoiceField object at 0x7fdfb3f9c890>), ('image_id', <django.forms.fields.ChoiceField object at 0x7fdfb3f9c1d0>), ('volume_size', <django.forms.fields.IntegerField object at 0x7fdfb3f9cad0>), ('device_name', <django.forms.fields.CharField object at 0x7fdfb3f9c190>), ('delete_on_terminate', <django.forms.fields.BooleanField object at 0x7fdfb3f9c810>)])
clean()[source]
declared_fields = OrderedDict([('availability_zone', <django.forms.fields.ChoiceField object at 0x7fdfb49c4750>), ('name', <django.forms.fields.CharField object at 0x7fdfb49c4e90>), ('flavor', <django.forms.fields.ChoiceField object at 0x7fdfb49c4810>), ('count', <django.forms.fields.IntegerField object at 0x7fdfb49c4290>), ('source_type', <django.forms.fields.ChoiceField object at 0x7fdfb49c4710>), ('instance_snapshot_id', <django.forms.fields.ChoiceField object at 0x7fdfb5d3c110>), ('volume_id', <django.forms.fields.ChoiceField object at 0x7fdfb3f9c550>), ('volume_snapshot_id', <django.forms.fields.ChoiceField object at 0x7fdfb3f9c890>), ('image_id', <django.forms.fields.ChoiceField object at 0x7fdfb3f9c1d0>), ('volume_size', <django.forms.fields.IntegerField object at 0x7fdfb3f9cad0>), ('device_name', <django.forms.fields.CharField object at 0x7fdfb3f9c190>), ('delete_on_terminate', <django.forms.fields.BooleanField object at 0x7fdfb3f9c810>)])
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 0x7fdfb3f9c3d0>
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 0x7fdfb3f9c050>
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 0x7fdfb56eca90>), ('profile', <django.forms.fields.ChoiceField object at 0x7fdfb56ec810>)])
declared_fields = OrderedDict([('network', <django.forms.fields.MultipleChoiceField object at 0x7fdfb56eca90>), ('profile', <django.forms.fields.ChoiceField object at 0x7fdfb56ec810>)])
get_policy_profile_choices(request)[source]
help_text = <django.utils.functional.__proxy__ object at 0x7fdfb56ec5d0>
help_text_template = None
media
name = <django.utils.functional.__proxy__ object at 0x7fdfb56ecbd0>
permissions = ('openstack.services.network',)
populate_network_choices(request, context)[source]
progress_message = <django.utils.functional.__proxy__ object at 0x7fdfb56ec950>
slug = u'setnetworkaction'
widget = <django.forms.widgets.HiddenInput object at 0x7fdfb56ec110>

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