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 = []
AddDatabasesAction.base_fields = {'databases': <django.forms.fields.CharField object at 0x8924e10>, 'user': <django.forms.fields.CharField object at 0x8924a90>, 'password': <django.forms.fields.CharField object at 0x89244d0>, 'host': <django.forms.fields.CharField object at 0x89245d0>}
AddDatabasesAction.clean()[source]
AddDatabasesAction.help_text = ''
AddDatabasesAction.help_text_template = 'project/databases/_launch_initialize_help.html'
AddDatabasesAction.media
AddDatabasesAction.name = <django.utils.functional.__proxy__ object at 0x8924c10>
AddDatabasesAction.permissions = []
AddDatabasesAction.progress_message = <django.utils.functional.__proxy__ object at 0x8924ad0>
AddDatabasesAction.slug = u'adddatabasesaction'
class openstack_dashboard.dashboards.project.databases.workflows.create_instance.InitializeDatabase(workflow)[source]

Bases: horizon.workflows.base.Step

InitializeDatabase.action_class

alias of AddDatabasesAction

InitializeDatabase.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

LaunchInstance.default_steps = (<class 'openstack_dashboard.dashboards.project.databases.workflows.create_instance.SetInstanceDetails'>, <class 'openstack_dashboard.dashboards.project.databases.workflows.create_instance.InitializeDatabase'>, <class 'openstack_dashboard.dashboards.project.databases.workflows.create_instance.RestoreBackup'>)
LaunchInstance.failure_message = <django.utils.functional.__proxy__ object at 0x8924b10>
LaunchInstance.finalize_button_name = <django.utils.functional.__proxy__ object at 0x89243d0>
LaunchInstance.format_status_message(message)[source]
LaunchInstance.handle(request, context)[source]
LaunchInstance.name = <django.utils.functional.__proxy__ object at 0x89240d0>
LaunchInstance.slug = 'launch_database'
LaunchInstance.success_message = <django.utils.functional.__proxy__ object at 0x8924550>
LaunchInstance.success_url = 'horizon:project:databases:index'
class openstack_dashboard.dashboards.project.databases.workflows.create_instance.RestoreAction(request, context, *args, **kwargs)[source]

Bases: horizon.workflows.base.Action

RestoreAction.base_fields = {'backup': <django.forms.fields.ChoiceField object at 0x8924dd0>}
RestoreAction.clean_backup()[source]
RestoreAction.help_text = ''
RestoreAction.help_text_template = 'project/databases/_launch_restore_help.html'
RestoreAction.media
RestoreAction.name = <django.utils.functional.__proxy__ object at 0x8924350>
RestoreAction.permissions = ('openstack.services.object-store',)
RestoreAction.populate_backup_choices(request, context)[source]
RestoreAction.progress_message = <django.utils.functional.__proxy__ object at 0x8924510>
RestoreAction.slug = u'restoreaction'
class openstack_dashboard.dashboards.project.databases.workflows.create_instance.RestoreBackup(workflow)[source]

Bases: horizon.workflows.base.Step

RestoreBackup.action_class

alias of RestoreAction

RestoreBackup.contributes = ['backup']
class openstack_dashboard.dashboards.project.databases.workflows.create_instance.SetInstanceDetails(workflow)[source]

Bases: horizon.workflows.base.Step

SetInstanceDetails.action_class

alias of SetInstanceDetailsAction

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

Bases: horizon.workflows.base.Action

SetInstanceDetailsAction.base_fields = {'name': <django.forms.fields.CharField object at 0x8945090>, 'flavor': <django.forms.fields.ChoiceField object at 0x8945490>, 'volume': <django.forms.fields.IntegerField object at 0x8945650>}
SetInstanceDetailsAction.flavors(*args, **kwargs)[source]
SetInstanceDetailsAction.help_text = ''
SetInstanceDetailsAction.help_text_template = 'project/databases/_launch_details_help.html'
SetInstanceDetailsAction.media
SetInstanceDetailsAction.name = <django.utils.functional.__proxy__ object at 0x8924490>
SetInstanceDetailsAction.permissions = ()
SetInstanceDetailsAction.populate_flavor_choices(request, context)[source]
SetInstanceDetailsAction.progress_message = <django.utils.functional.__proxy__ object at 0x89248d0>
SetInstanceDetailsAction.slug = u'setinstancedetailsaction'

Previous topic

The openstack_dashboard.dashboards.project.databases Module

Next topic

The openstack_dashboard.dashboards.project.databases.workflows Module

This Page