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 0x7d5f890>
handle(request, context)[source]
is_valid()[source]
name = <django.utils.functional.__proxy__ object at 0x7d5fe10>
name_property = 'general_cluster_template_name'
slug = 'configure_cluster_template'
success_message = <django.utils.functional.__proxy__ object at 0x7d5f790>
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 0x7d5ff10>), ('forms_ids', <django.forms.fields.CharField object at 0x7d5f250>)])
clean()[source]
declared_fields = OrderedDict([('hidden_nodegroups_field', <django.forms.fields.CharField object at 0x7d5ff10>), ('forms_ids', <django.forms.fields.CharField object at 0x7d5f250>)])
help_text = ''
help_text_template = None
media
name = <django.utils.functional.__proxy__ object at 0x7d5f650>
permissions = ()
progress_message = <django.utils.functional.__proxy__ object at 0x7d5f090>
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 0x7d60b10>
finalize_button_name = <django.utils.functional.__proxy__ object at 0x7d60e10>
name = <django.utils.functional.__proxy__ object at 0x7d60c10>
slug = 'create_cluster_template'
success_message = <django.utils.functional.__proxy__ object at 0x7d60190>
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 0x7d60a10>), ('hidden_to_delete_field', <django.forms.fields.CharField object at 0x7d60bd0>), ('cluster_template_name', <django.forms.fields.CharField object at 0x7d606d0>), ('description', <django.forms.fields.CharField object at 0x7d60610>), ('use_autoconfig', <django.forms.fields.BooleanField object at 0x7d602d0>), ('anti_affinity', <django.forms.fields.MultipleChoiceField object at 0x7d5fdd0>)])
clean()[source]
declared_fields = OrderedDict([('hidden_configure_field', <django.forms.fields.CharField object at 0x7d60a10>), ('hidden_to_delete_field', <django.forms.fields.CharField object at 0x7d60bd0>), ('cluster_template_name', <django.forms.fields.CharField object at 0x7d606d0>), ('description', <django.forms.fields.CharField object at 0x7d60610>), ('use_autoconfig', <django.forms.fields.BooleanField object at 0x7d602d0>), ('anti_affinity', <django.forms.fields.MultipleChoiceField object at 0x7d5fdd0>)])
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 0x7d5f910>
permissions = ()
populate_anti_affinity_choices(request, context)
progress_message = <django.utils.functional.__proxy__ object at 0x7d5f310>
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 0x7b03150>)])
declared_fields = OrderedDict([('hidden_create_field', <django.forms.fields.CharField object at 0x7b03150>)])
help_text = ''
help_text_template = 'project/data_processing.cluster_templates/_create_general_help.html'
media
name = <django.utils.functional.__proxy__ object at 0x7b03d90>
permissions = ()
progress_message = <django.utils.functional.__proxy__ object at 0x7d60b90>
slug = u'selectpluginaction'