The openstack_dashboard.dashboards.admin.flavors.workflows ModuleΒΆ

class openstack_dashboard.dashboards.admin.flavors.workflows.CreateFlavor(request=None, context_seed=None, entry_point=None, *args, **kwargs)[source]

Bases: horizon.workflows.base.Workflow

default_steps = (<class 'openstack_dashboard.dashboards.admin.flavors.workflows.CreateFlavorInfo'>, <class 'openstack_dashboard.dashboards.admin.flavors.workflows.UpdateFlavorAccess'>)
failure_message = <django.utils.functional.__proxy__ object at 0x5cd3b90>
finalize_button_name = <django.utils.functional.__proxy__ object at 0x7118110>
format_status_message(message)[source]
handle(request, data)[source]
name = <django.utils.functional.__proxy__ object at 0x8839bd0>
slug = 'create_flavor'
success_message = <django.utils.functional.__proxy__ object at 0x5cd3f90>
success_url = 'horizon:admin:flavors:index'
class openstack_dashboard.dashboards.admin.flavors.workflows.CreateFlavorInfo(workflow)[source]

Bases: horizon.workflows.base.Step

action_class

alias of CreateFlavorInfoAction

contributes = ('flavor_id', 'name', 'vcpus', 'memory_mb', 'disk_gb', 'eph_gb', 'swap_mb', 'rxtx_factor')
class openstack_dashboard.dashboards.admin.flavors.workflows.CreateFlavorInfoAction(request, context, *args, **kwargs)[source]

Bases: horizon.workflows.base.Action

base_fields = OrderedDict([('name', <django.forms.fields.RegexField object at 0x7940c90>), ('flavor_id', <django.forms.fields.RegexField object at 0x8c3e7d0>), ('vcpus', <django.forms.fields.IntegerField object at 0x8c3edd0>), ('memory_mb', <django.forms.fields.IntegerField object at 0x8c3e790>), ('disk_gb', <django.forms.fields.IntegerField object at 0x8c3e750>), ('eph_gb', <django.forms.fields.IntegerField object at 0x8c3ed10>), ('swap_mb', <django.forms.fields.IntegerField object at 0x8c3e0d0>), ('rxtx_factor', <django.forms.fields.FloatField object at 0x8ae0550>)])
clean()[source]
declared_fields = OrderedDict([('name', <django.forms.fields.RegexField object at 0x7940c90>), ('flavor_id', <django.forms.fields.RegexField object at 0x8c3e7d0>), ('vcpus', <django.forms.fields.IntegerField object at 0x8c3edd0>), ('memory_mb', <django.forms.fields.IntegerField object at 0x8c3e790>), ('disk_gb', <django.forms.fields.IntegerField object at 0x8c3e750>), ('eph_gb', <django.forms.fields.IntegerField object at 0x8c3ed10>), ('swap_mb', <django.forms.fields.IntegerField object at 0x8c3e0d0>), ('rxtx_factor', <django.forms.fields.FloatField object at 0x8ae0550>)])
help_text = <django.utils.functional.__proxy__ object at 0x8ae0f10>
help_text_template = None
media
name = <django.utils.functional.__proxy__ object at 0x8ae05d0>
permissions = ()
progress_message = <django.utils.functional.__proxy__ object at 0x83fd990>
slug = u'createflavorinfoaction'
class openstack_dashboard.dashboards.admin.flavors.workflows.UpdateFlavor(request=None, context_seed=None, entry_point=None, *args, **kwargs)[source]

Bases: horizon.workflows.base.Workflow

default_steps = (<class 'openstack_dashboard.dashboards.admin.flavors.workflows.UpdateFlavorInfo'>, <class 'openstack_dashboard.dashboards.admin.flavors.workflows.UpdateFlavorAccess'>)
failure_message = <django.utils.functional.__proxy__ object at 0x6a55490>
finalize_button_name = <django.utils.functional.__proxy__ object at 0x6a55e90>
format_status_message(message)[source]
handle(request, data)[source]
name = <django.utils.functional.__proxy__ object at 0x794c110>
slug = 'update_flavor'
success_message = <django.utils.functional.__proxy__ object at 0x6a555d0>
success_url = 'horizon:admin:flavors:index'
class openstack_dashboard.dashboards.admin.flavors.workflows.UpdateFlavorAccess(workflow)[source]

Bases: horizon.workflows.base.UpdateMembersStep

action_class

alias of UpdateFlavorAccessAction

available_list_title = <django.utils.functional.__proxy__ object at 0x83fdc50>
contribute(data, context)[source]
contributes = ('flavor_access',)
depends_on = ('flavor_id',)
help_text = <django.utils.functional.__proxy__ object at 0x83fd4d0>
members_list_title = <django.utils.functional.__proxy__ object at 0x83fdd10>
no_available_text = <django.utils.functional.__proxy__ object at 0x8839f90>
no_members_text = <django.utils.functional.__proxy__ object at 0x8839c90>
show_roles = False
class openstack_dashboard.dashboards.admin.flavors.workflows.UpdateFlavorAccessAction(request, *args, **kwargs)[source]

Bases: horizon.workflows.base.MembershipAction

base_fields = OrderedDict()
declared_fields = OrderedDict()
help_text = ''
help_text_template = None
media
name = <django.utils.functional.__proxy__ object at 0x83fd510>
permissions = ()
progress_message = <django.utils.functional.__proxy__ object at 0x83fd090>
slug = 'update_flavor_access'
class openstack_dashboard.dashboards.admin.flavors.workflows.UpdateFlavorInfo(workflow)[source]

Bases: horizon.workflows.base.Step

action_class

alias of UpdateFlavorInfoAction

contributes = ('name', 'vcpus', 'memory_mb', 'disk_gb', 'eph_gb', 'swap_mb', 'rxtx_factor')
depends_on = ('flavor_id',)
class openstack_dashboard.dashboards.admin.flavors.workflows.UpdateFlavorInfoAction(request, context, *args, **kwargs)[source]

Bases: openstack_dashboard.dashboards.admin.flavors.workflows.CreateFlavorInfoAction

base_fields = OrderedDict([('name', <django.forms.fields.RegexField object at 0x7940c90>), ('flavor_id', <django.forms.fields.CharField object at 0x5cd3bd0>), ('vcpus', <django.forms.fields.IntegerField object at 0x8c3edd0>), ('memory_mb', <django.forms.fields.IntegerField object at 0x8c3e790>), ('disk_gb', <django.forms.fields.IntegerField object at 0x8c3e750>), ('eph_gb', <django.forms.fields.IntegerField object at 0x8c3ed10>), ('swap_mb', <django.forms.fields.IntegerField object at 0x8c3e0d0>), ('rxtx_factor', <django.forms.fields.FloatField object at 0x8ae0550>)])
clean()[source]
declared_fields = OrderedDict([('name', <django.forms.fields.RegexField object at 0x7940c90>), ('flavor_id', <django.forms.fields.CharField object at 0x5cd3bd0>), ('vcpus', <django.forms.fields.IntegerField object at 0x8c3edd0>), ('memory_mb', <django.forms.fields.IntegerField object at 0x8c3e790>), ('disk_gb', <django.forms.fields.IntegerField object at 0x8c3e750>), ('eph_gb', <django.forms.fields.IntegerField object at 0x8c3ed10>), ('swap_mb', <django.forms.fields.IntegerField object at 0x8c3e0d0>), ('rxtx_factor', <django.forms.fields.FloatField object at 0x8ae0550>)])
help_text = <django.utils.functional.__proxy__ object at 0x762eed0>
help_text_template = None
media
name = <django.utils.functional.__proxy__ object at 0x762e5d0>
permissions = ()
progress_message = <django.utils.functional.__proxy__ object at 0x794ce10>
slug = 'update_info'

Previous topic

The openstack_dashboard.dashboards.admin.flavors.views Module

Next topic

The openstack_dashboard.dashboards.admin.hypervisors Module

This Page