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

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

Bases: horizon.workflows.base.Action

Initialize the database with users/databases. This tab will honor the settings which should be a list of permissions required:

  • TROVE_ADD_USER_PERMS = []
  • TROVE_ADD_DATABASE_PERMS = []
base_fields = OrderedDict([('databases', <django.forms.fields.CharField object at 0x7fd5cc522c50>), ('user', <django.forms.fields.CharField object at 0x7fd5cc522d50>), ('password', <django.forms.fields.CharField object at 0x7fd5cc522e50>), ('host', <django.forms.fields.CharField object at 0x7fd5cc522f10>)])
clean()[source]
declared_fields = OrderedDict([('databases', <django.forms.fields.CharField object at 0x7fd5cc522c50>), ('user', <django.forms.fields.CharField object at 0x7fd5cc522d50>), ('password', <django.forms.fields.CharField object at 0x7fd5cc522e50>), ('host', <django.forms.fields.CharField object at 0x7fd5cc522f10>)])
help_text = ''
help_text_template = 'project/databases/_launch_initialize_help.html'
media
name = <django.utils.functional.__proxy__ object at 0x7fd5cc522f90>
permissions = []
progress_message = <django.utils.functional.__proxy__ object at 0x7fd5cc522fd0>
slug = u'adddatabasesaction'
class openstack_dashboard.dashboards.project.databases.workflows.create_instance.Advanced(workflow)[source]

Bases: horizon.workflows.base.Step

action_class

alias of AdvancedAction

contributes = ['backup', 'master']
class openstack_dashboard.dashboards.project.databases.workflows.create_instance.AdvancedAction(request, context, *args, **kwargs)[source]

Bases: horizon.workflows.base.Action

base_fields = OrderedDict([('initial_state', <django.forms.fields.ChoiceField object at 0x7fd5cc4891d0>), ('backup', <django.forms.fields.ChoiceField object at 0x7fd5cc489310>), ('master', <django.forms.fields.ChoiceField object at 0x7fd5cc489450>)])
clean()[source]
declared_fields = OrderedDict([('initial_state', <django.forms.fields.ChoiceField object at 0x7fd5cc4891d0>), ('backup', <django.forms.fields.ChoiceField object at 0x7fd5cc489310>), ('master', <django.forms.fields.ChoiceField object at 0x7fd5cc489450>)])
help_text = ''
help_text_template = 'project/databases/_launch_advanced_help.html'
media
name = <django.utils.functional.__proxy__ object at 0x7fd5cc489490>
permissions = ()
populate_backup_choices(request, context)[source]
populate_master_choices(request, context)[source]
progress_message = <django.utils.functional.__proxy__ object at 0x7fd5cc4894d0>
slug = u'advancedaction'
class openstack_dashboard.dashboards.project.databases.workflows.create_instance.InitializeDatabase(workflow)[source]

Bases: horizon.workflows.base.Step

action_class

alias of AddDatabasesAction

contributes = ['databases', 'user', 'password', 'host']
class openstack_dashboard.dashboards.project.databases.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.databases.workflows.create_instance.SetInstanceDetails'>, <class 'openstack_dashboard.dashboards.project.databases.workflows.create_instance.SetNetwork'>, <class 'openstack_dashboard.dashboards.project.databases.workflows.create_instance.InitializeDatabase'>, <class 'openstack_dashboard.dashboards.project.databases.workflows.create_instance.Advanced'>)
failure_message = <django.utils.functional.__proxy__ object at 0x7fd5cc489610>
finalize_button_name = <django.utils.functional.__proxy__ object at 0x7fd5cc489590>
format_status_message(message)[source]
handle(request, context)[source]
name = <django.utils.functional.__proxy__ object at 0x7fd5cc489550>
slug = 'launch_instance'
success_message = <django.utils.functional.__proxy__ object at 0x7fd5cc4895d0>
success_url = 'horizon:project:databases:index'
class openstack_dashboard.dashboards.project.databases.workflows.create_instance.SetInstanceDetails(workflow)[source]

Bases: horizon.workflows.base.Step

action_class

alias of SetInstanceDetailsAction

contributes = ('name', 'volume', 'flavor', 'datastore')
class openstack_dashboard.dashboards.project.databases.workflows.create_instance.SetInstanceDetailsAction(request, context, *args, **kwargs)[source]

Bases: horizon.workflows.base.Action

base_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7fd5cc522590>), ('flavor', <django.forms.fields.ChoiceField object at 0x7fd5cc522450>), ('volume', <django.forms.fields.IntegerField object at 0x7fd5cc522310>), ('datastore', <django.forms.fields.ChoiceField object at 0x7fd5cc5220d0>)])
clean()[source]
datastore_versions(*args, **kwargs)[source]
datastores(*args, **kwargs)[source]
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7fd5cc522590>), ('flavor', <django.forms.fields.ChoiceField object at 0x7fd5cc522450>), ('volume', <django.forms.fields.IntegerField object at 0x7fd5cc522310>), ('datastore', <django.forms.fields.ChoiceField object at 0x7fd5cc5220d0>)])
flavors(*args, **kwargs)[source]
help_text = ''
help_text_template = 'project/databases/_launch_details_help.html'
media
name = <django.utils.functional.__proxy__ object at 0x7fd5cc522110>
permissions = ()
populate_datastore_choices(request, context)[source]
populate_flavor_choices(request, context)[source]
progress_message = <django.utils.functional.__proxy__ object at 0x7fd5cc522210>
slug = u'setinstancedetailsaction'
class openstack_dashboard.dashboards.project.databases.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/databases/_launch_networks.html'
class openstack_dashboard.dashboards.project.databases.workflows.create_instance.SetNetworkAction(request, *args, **kwargs)[source]

Bases: horizon.workflows.base.Action

base_fields = OrderedDict([('network', <django.forms.fields.MultipleChoiceField object at 0x7fd5cc522ad0>)])
declared_fields = OrderedDict([('network', <django.forms.fields.MultipleChoiceField object at 0x7fd5cc522ad0>)])
help_text = <django.utils.functional.__proxy__ object at 0x7fd5cc522b50>
help_text_template = None
media
name = <django.utils.functional.__proxy__ object at 0x7fd5cc522b10>
permissions = ('openstack.services.network',)
populate_network_choices(request, context)[source]
progress_message = <django.utils.functional.__proxy__ object at 0x7fd5cc522bd0>
slug = u'setnetworkaction'

Previous topic

The openstack_dashboard.dashboards.project.databases.panel Module

Next topic

The openstack_dashboard.dashboards.project.databases.workflows Module

This Page