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 0x7f9f3f274950>), ('script_upload', <django.forms.fields.FileField object at 0x7f9f3f274b10>), ('script_data', <django.forms.fields.CharField object at 0x7f9f3f274d10>)])
clean()[source]
clean_uploaded_files(prefix, files)[source]
declared_fields = OrderedDict([('script_source', <django.forms.fields.ChoiceField object at 0x7f9f3f274950>), ('script_upload', <django.forms.fields.FileField object at 0x7f9f3f274b10>), ('script_data', <django.forms.fields.CharField object at 0x7f9f3f274d10>)])
help_text = ''
help_text_template = 'project/instances/_launch_customize_help.html'
media
name = <django.utils.functional.__proxy__ object at 0x7f9f3f3de090>
permissions = ()
policy_rules = ()
progress_message = <django.utils.functional.__proxy__ object at 0x7f9f3f274e90>
script_help = <django.utils.functional.__proxy__ object at 0x7f9f3f274a10>
slug = u'customizeaction'
source_choices = [('', <django.utils.functional.__proxy__ object at 0x7f9f3f274750>), ('raw', <django.utils.functional.__proxy__ object at 0x7f9f3f274790>), ('file', <django.utils.functional.__proxy__ object at 0x7f9f3f3de050>)]
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 0x7f9f3f06afd0>
finalize_button_name = <django.utils.functional.__proxy__ object at 0x7f9f3f06af50>
format_status_message(message)[source]
handle(*func_args, **func_kwargs)[source]
multipart = True
name = <django.utils.functional.__proxy__ object at 0x7f9f3f06af10>
set_network_port_profiles(request, net_ids, profile_id)[source]
slug = 'launch_instance'
success_message = <django.utils.functional.__proxy__ object at 0x7f9f3f06af90>
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', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3f27b9d0>), ('user_id', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3f27bad0>)])
declared_fields = OrderedDict([('project_id', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3f27b9d0>), ('user_id', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3f27bad0>)])
help_text = ''
help_text_template = None
media
name = <django.utils.functional.__proxy__ object at 0x7f9f3f27bb90>
permissions = ('!',)
policy_rules = ()
progress_message = <django.utils.functional.__proxy__ object at 0x7f9f3f27bd10>
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.ThemableDynamicChoiceField object at 0x7f9f3f26cfd0>), ('admin_pass', <django.forms.fields.RegexField object at 0x7f9f3f274210>), ('confirm_admin_pass', <django.forms.fields.CharField object at 0x7f9f3f274310>), ('groups', <django.forms.fields.MultipleChoiceField object at 0x7f9f3f274450>)])
clean()[source]

Check to make sure password fields match.

declared_fields = OrderedDict([('keypair', <horizon.forms.fields.ThemableDynamicChoiceField object at 0x7f9f3f26cfd0>), ('admin_pass', <django.forms.fields.RegexField object at 0x7f9f3f274210>), ('confirm_admin_pass', <django.forms.fields.CharField object at 0x7f9f3f274310>), ('groups', <django.forms.fields.MultipleChoiceField object at 0x7f9f3f274450>)])
help_text = <django.utils.functional.__proxy__ object at 0x7f9f3f274510>
help_text_template = None
media
name = <django.utils.functional.__proxy__ object at 0x7f9f3f2744d0>
permissions = ()
policy_rules = ()
populate_groups_choices(request, context)[source]
populate_keypair_choices(request, context)[source]
progress_message = <django.utils.functional.__proxy__ object at 0x7f9f3f274710>
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', 'server_group')
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', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3f06a910>), ('config_drive', <django.forms.fields.BooleanField object at 0x7f9f3f06aad0>), ('server_group', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3f06abd0>)])
declared_fields = OrderedDict([('disk_config', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3f06a910>), ('config_drive', <django.forms.fields.BooleanField object at 0x7f9f3f06aad0>), ('server_group', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3f06abd0>)])
help_text = ''
help_text_template = 'project/instances/_launch_advanced_help.html'
media
name = <django.utils.functional.__proxy__ object at 0x7f9f3f06ad50>
permissions = ()
policy_rules = ()
progress_message = <django.utils.functional.__proxy__ object at 0x7f9f3f06aed0>
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', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3f27bd90>), ('name', <django.forms.fields.CharField object at 0x7f9f3f27bed0>), ('flavor', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3f26c090>), ('count', <django.forms.fields.IntegerField object at 0x7f9f3f26c210>), ('source_type', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3f26c390>), ('instance_snapshot_id', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3f26c510>), ('volume_id', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3f26c610>), ('volume_snapshot_id', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3f26c710>), ('image_id', <django.forms.fields.ChoiceField object at 0x7f9f3f26c850>), ('volume_size', <django.forms.fields.IntegerField object at 0x7f9f3f26c910>), ('device_name', <django.forms.fields.CharField object at 0x7f9f3f26cb10>), ('vol_delete_on_instance_delete', <django.forms.fields.BooleanField object at 0x7f9f3f26cc90>)])
clean()[source]
declared_fields = OrderedDict([('availability_zone', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3f27bd90>), ('name', <django.forms.fields.CharField object at 0x7f9f3f27bed0>), ('flavor', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3f26c090>), ('count', <django.forms.fields.IntegerField object at 0x7f9f3f26c210>), ('source_type', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3f26c390>), ('instance_snapshot_id', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3f26c510>), ('volume_id', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3f26c610>), ('volume_snapshot_id', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3f26c710>), ('image_id', <django.forms.fields.ChoiceField object at 0x7f9f3f26c850>), ('volume_size', <django.forms.fields.IntegerField object at 0x7f9f3f26c910>), ('device_name', <django.forms.fields.CharField object at 0x7f9f3f26cb10>), ('vol_delete_on_instance_delete', <django.forms.fields.BooleanField object at 0x7f9f3f26cc90>)])
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 0x7f9f3f26cd10>
permissions = ()
policy_rules = ()
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 0x7f9f3f26cf10>
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 0x7f9f3f06a050>), ('profile', <django.forms.fields.ChoiceField object at 0x7f9f3f06a1d0>)])
declared_fields = OrderedDict([('network', <django.forms.fields.MultipleChoiceField object at 0x7f9f3f06a050>), ('profile', <django.forms.fields.ChoiceField object at 0x7f9f3f06a1d0>)])
get_policy_profile_choices(request)[source]
help_text = <django.utils.functional.__proxy__ object at 0x7f9f3f06a2d0>
help_text_template = None
media
name = <django.utils.functional.__proxy__ object at 0x7f9f3f06a290>
permissions = ('openstack.services.network',)
policy_rules = ()
populate_network_choices(request, context)[source]
progress_message = <django.utils.functional.__proxy__ object at 0x7f9f3f06a4d0>
slug = u'setnetworkaction'
widget = <django.forms.widgets.HiddenInput object at 0x7f9f3f06a110>
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 0x7f9f3f06a610>)])
declared_fields = OrderedDict([('ports', <django.forms.fields.MultipleChoiceField object at 0x7f9f3f06a610>)])
help_text = ''
help_text_template = 'project/instances/_launch_network_ports_help.html'
media
name = <django.utils.functional.__proxy__ object at 0x7f9f3f06a690>
permissions = ('openstack.services.network',)
policy_rules = ()
populate_ports_choices(request, context)[source]
progress_message = <django.utils.functional.__proxy__ object at 0x7f9f3f06a850>
slug = u'setnetworkportsaction'

Previous topic

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

Next topic

The openstack_dashboard.dashboards.project.containers.views Module

Project Source

This Page