The openstack_dashboard.contrib.sahara.content.data_processing.cluster_templates.workflows.create ModuleΒΆ

class openstack_dashboard.contrib.sahara.content.data_processing.cluster_templates.workflows.create.ConfigureClusterTemplate(request, context_seed, entry_point, *args, **kwargs)[source]

Bases: openstack_dashboard.contrib.sahara.content.data_processing.utils.workflow_helpers.ServiceParametersWorkflow, openstack_dashboard.contrib.sahara.content.data_processing.utils.workflow_helpers.StatusFormatMixin

default_steps = (<class 'openstack_dashboard.contrib.sahara.content.data_processing.cluster_templates.workflows.create.GeneralConfig'>, <class 'openstack_dashboard.contrib.sahara.content.data_processing.cluster_templates.workflows.create.ConfigureNodegroups'>)
finalize_button_name = <django.utils.functional.__proxy__ object at 0x6dceb50>
handle(request, context)[source]
is_valid()[source]
name = <django.utils.functional.__proxy__ object at 0x6dcead0>
name_property = 'general_cluster_template_name'
slug = 'configure_cluster_template'
success_message = <django.utils.functional.__proxy__ object at 0x6dce810>
success_url = 'horizon:project:data_processing.cluster_templates:index'
class openstack_dashboard.contrib.sahara.content.data_processing.cluster_templates.workflows.create.ConfigureNodegroups(workflow)[source]

Bases: horizon.workflows.base.Step

action_class

alias of ConfigureNodegroupsAction

contribute(data, context)[source]
contributes = ('hidden_nodegroups_field',)
template_name = 'project/data_processing.cluster_templates/cluster_node_groups_template.html'
class openstack_dashboard.contrib.sahara.content.data_processing.cluster_templates.workflows.create.ConfigureNodegroupsAction(request, *args, **kwargs)[source]

Bases: horizon.workflows.base.Action

base_fields = OrderedDict([('hidden_nodegroups_field', <django.forms.fields.CharField object at 0x7b46ad0>), ('forms_ids', <django.forms.fields.CharField object at 0x7b46610>)])
clean()[source]
declared_fields = OrderedDict([('hidden_nodegroups_field', <django.forms.fields.CharField object at 0x7b46ad0>), ('forms_ids', <django.forms.fields.CharField object at 0x7b46610>)])
help_text = ''
help_text_template = None
media
name = <django.utils.functional.__proxy__ object at 0x7b46c50>
permissions = ()
progress_message = <django.utils.functional.__proxy__ object at 0x6dce750>
slug = u'configurenodegroupsaction'
class openstack_dashboard.contrib.sahara.content.data_processing.cluster_templates.workflows.create.CreateClusterTemplate(request=None, context_seed=None, entry_point=None, *args, **kwargs)[source]

Bases: horizon.workflows.base.Workflow

default_steps = (<class 'openstack_dashboard.contrib.sahara.content.data_processing.cluster_templates.workflows.create.SelectPlugin'>,)
failure_message = <django.utils.functional.__proxy__ object at 0x7b460d0>
finalize_button_name = <django.utils.functional.__proxy__ object at 0x7b46510>
name = <django.utils.functional.__proxy__ object at 0x7b46fd0>
slug = 'create_cluster_template'
success_message = <django.utils.functional.__proxy__ object at 0x7b46590>
success_url = 'horizon:project:data_processing.cluster_templates:index'
class openstack_dashboard.contrib.sahara.content.data_processing.cluster_templates.workflows.create.GeneralConfig(workflow)[source]

Bases: horizon.workflows.base.Step

action_class

alias of GeneralConfigAction

contribute(data, context)[source]
contributes = ('hidden_configure_field',)
class openstack_dashboard.contrib.sahara.content.data_processing.cluster_templates.workflows.create.GeneralConfigAction(request, *args, **kwargs)[source]

Bases: horizon.workflows.base.Action

base_fields = OrderedDict([('hidden_configure_field', <django.forms.fields.CharField object at 0x7b46810>), ('hidden_to_delete_field', <django.forms.fields.CharField object at 0x7b46f90>), ('cluster_template_name', <django.forms.fields.CharField object at 0x7b46850>), ('description', <django.forms.fields.CharField object at 0x7b46110>), ('use_autoconfig', <django.forms.fields.BooleanField object at 0x7b46190>), ('anti_affinity', <django.forms.fields.MultipleChoiceField object at 0x7b46490>)])
clean()[source]
declared_fields = OrderedDict([('hidden_configure_field', <django.forms.fields.CharField object at 0x7b46810>), ('hidden_to_delete_field', <django.forms.fields.CharField object at 0x7b46f90>), ('cluster_template_name', <django.forms.fields.CharField object at 0x7b46850>), ('description', <django.forms.fields.CharField object at 0x7b46110>), ('use_autoconfig', <django.forms.fields.BooleanField object at 0x7b46190>), ('anti_affinity', <django.forms.fields.MultipleChoiceField object at 0x7b46490>)])
get_help_text()[source]
help_text = ''
help_text_template = 'project/data_processing.cluster_templates/_configure_general_help.html'
media
name = <django.utils.functional.__proxy__ object at 0x7b46050>
permissions = ()
populate_anti_affinity_choices(request, context)
progress_message = <django.utils.functional.__proxy__ object at 0x7b46b90>
slug = u'generalconfigaction'
class openstack_dashboard.contrib.sahara.content.data_processing.cluster_templates.workflows.create.SelectPlugin(workflow)[source]

Bases: horizon.workflows.base.Step

action_class

alias of SelectPluginAction

class openstack_dashboard.contrib.sahara.content.data_processing.cluster_templates.workflows.create.SelectPluginAction(request, *args, **kwargs)[source]

Bases: horizon.workflows.base.Action

base_fields = OrderedDict([('hidden_create_field', <django.forms.fields.CharField object at 0x7b46890>)])
declared_fields = OrderedDict([('hidden_create_field', <django.forms.fields.CharField object at 0x7b46890>)])
help_text = ''
help_text_template = 'project/data_processing.cluster_templates/_create_general_help.html'
media
name = <django.utils.functional.__proxy__ object at 0x7b469d0>
permissions = ()
progress_message = <django.utils.functional.__proxy__ object at 0x7b46f10>
slug = u'selectpluginaction'