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

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

Bases: horizon.workflows.base.Action

CustomizeAction.base_fields = {'customization_script': <django.forms.fields.CharField object at 0x974ad10>}
CustomizeAction.help_text = ''
CustomizeAction.help_text_template = 'project/instances/_launch_customize_help.html'
CustomizeAction.media
CustomizeAction.name = <django.utils.functional.__proxy__ object at 0x974ae10>
CustomizeAction.permissions = ()
CustomizeAction.progress_message = <django.utils.functional.__proxy__ object at 0x974ae50>
CustomizeAction.slug = u'customizeaction'
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

LaunchInstance.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'>)
LaunchInstance.failure_message = <django.utils.functional.__proxy__ object at 0x9754850>
LaunchInstance.finalize_button_name = <django.utils.functional.__proxy__ object at 0x9754790>
LaunchInstance.format_status_message(message)[source]
LaunchInstance.handle(*func_args, **func_kwargs)[source]
LaunchInstance.name = <django.utils.functional.__proxy__ object at 0x9754750>
LaunchInstance.slug = 'launch_instance'
LaunchInstance.success_message = <django.utils.functional.__proxy__ object at 0x97547d0>
LaunchInstance.success_url = 'horizon:project:instances:index'
class openstack_dashboard.dashboards.project.instances.workflows.create_instance.PostCreationStep(workflow)[source]

Bases: horizon.workflows.base.Step

PostCreationStep.action_class

alias of CustomizeAction

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

Bases: horizon.workflows.base.Step

SelectProjectUser.action_class

alias of SelectProjectUserAction

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

Bases: horizon.workflows.base.Action

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

Bases: horizon.workflows.base.Step

SetAccessControls.action_class

alias of SetAccessControlsAction

SetAccessControls.contribute(data, context)[source]
SetAccessControls.contributes = ('keypair_id', 'security_group_ids', 'admin_pass', 'confirm_admin_pass')
SetAccessControls.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

SetAccessControlsAction.base_fields = {'keypair': <horizon.forms.fields.DynamicChoiceField object at 0x974a590>, 'admin_pass': <django.forms.fields.RegexField object at 0x974a790>, 'confirm_admin_pass': <django.forms.fields.CharField object at 0x974a890>, 'groups': <django.forms.fields.MultipleChoiceField object at 0x974a9d0>}
SetAccessControlsAction.clean()[source]

Check to make sure password fields match.

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

Bases: horizon.workflows.base.Step

SetAdvanced.action_class

alias of SetAdvancedAction

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

Bases: horizon.workflows.base.Action

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

Bases: horizon.workflows.base.Step

SetInstanceDetails.action_class

alias of SetInstanceDetailsAction

SetInstanceDetails.contribute(data, context)[source]
SetInstanceDetails.contributes = ('source_type', 'source_id', 'availability_zone', 'name', 'count', 'flavor', 'device_name', 'delete_on_terminate')
SetInstanceDetails.depends_on = ('project_id', 'user_id')
SetInstanceDetails.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

SetInstanceDetailsAction.base_fields = {'availability_zone': <django.forms.fields.ChoiceField object at 0x974e3d0>, 'name': <django.forms.fields.CharField object at 0x974e510>, 'flavor': <django.forms.fields.ChoiceField object at 0x974e650>, 'count': <django.forms.fields.IntegerField object at 0x974e810>, 'source_type': <django.forms.fields.ChoiceField object at 0x974e990>, 'instance_snapshot_id': <django.forms.fields.ChoiceField object at 0x974eb10>, 'volume_id': <django.forms.fields.ChoiceField object at 0x974ec10>, 'volume_snapshot_id': <django.forms.fields.ChoiceField object at 0x974ed10>, 'image_id': <django.forms.fields.ChoiceField object at 0x974ee50>, 'volume_size': <django.forms.fields.IntegerField object at 0x974ef10>, 'device_name': <django.forms.fields.CharField object at 0x974a0d0>, 'delete_on_terminate': <django.forms.fields.BooleanField object at 0x974a250>}
SetInstanceDetailsAction.clean()[source]
SetInstanceDetailsAction.get_help_text()[source]
SetInstanceDetailsAction.help_text = ''
SetInstanceDetailsAction.help_text_template = 'project/instances/_launch_details_help.html'
SetInstanceDetailsAction.media
SetInstanceDetailsAction.name = <django.utils.functional.__proxy__ object at 0x974a310>
SetInstanceDetailsAction.permissions = ()
SetInstanceDetailsAction.populate_availability_zone_choices(request, context)[source]
SetInstanceDetailsAction.populate_flavor_choices(request, context)[source]
SetInstanceDetailsAction.populate_image_id_choices(request, context)[source]
SetInstanceDetailsAction.populate_instance_snapshot_id_choices(request, context)[source]
SetInstanceDetailsAction.populate_volume_id_choices(request, context)[source]
SetInstanceDetailsAction.populate_volume_snapshot_id_choices(request, context)[source]
SetInstanceDetailsAction.progress_message = <django.utils.functional.__proxy__ object at 0x974a490>
SetInstanceDetailsAction.slug = u'setinstancedetailsaction'
class openstack_dashboard.dashboards.project.instances.workflows.create_instance.SetNetwork(workflow)[source]

Bases: horizon.workflows.base.Step

SetNetwork.action_class

alias of SetNetworkAction

SetNetwork.contribute(data, context)[source]
SetNetwork.contributes = ('network_id',)
SetNetwork.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

SetNetworkAction.base_fields = {'network': <django.forms.fields.MultipleChoiceField object at 0x9754190>}
SetNetworkAction.help_text = <django.utils.functional.__proxy__ object at 0x9754290>
SetNetworkAction.help_text_template = None
SetNetworkAction.media
SetNetworkAction.name = <django.utils.functional.__proxy__ object at 0x9754250>
SetNetworkAction.permissions = ('openstack.services.network',)
SetNetworkAction.populate_network_choices(request, context)[source]
SetNetworkAction.populate_profile_choices(request, context)[source]
SetNetworkAction.progress_message = <django.utils.functional.__proxy__ object at 0x9754450>
SetNetworkAction.slug = u'setnetworkaction'

Previous topic

The openstack_dashboard.dashboards.project.instances Module

Next topic

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

This Page