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 0x7f424630f550>
finalize_button_name = <django.utils.functional.__proxy__ object at 0x7f42458c8850>
format_status_message(message)[source]
handle(request, data)[source]
name = <django.utils.functional.__proxy__ object at 0x7f42458c8810>
slug = 'create_flavor'
success_message = <django.utils.functional.__proxy__ object at 0x7f424630f390>
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 0x7f42457ef310>), ('flavor_id', <django.forms.fields.RegexField object at 0x7f42457efb10>), ('vcpus', <django.forms.fields.IntegerField object at 0x7f42457efe10>), ('memory_mb', <django.forms.fields.IntegerField object at 0x7f42457ef550>), ('disk_gb', <django.forms.fields.IntegerField object at 0x7f4247173550>), ('eph_gb', <django.forms.fields.IntegerField object at 0x7f42471731d0>), ('swap_mb', <django.forms.fields.IntegerField object at 0x7f4247173810>), ('rxtx_factor', <django.forms.fields.FloatField object at 0x7f424680df10>)])
clean()[source]
clean_name()[source]
declared_fields = OrderedDict([('name', <django.forms.fields.RegexField object at 0x7f42457ef310>), ('flavor_id', <django.forms.fields.RegexField object at 0x7f42457efb10>), ('vcpus', <django.forms.fields.IntegerField object at 0x7f42457efe10>), ('memory_mb', <django.forms.fields.IntegerField object at 0x7f42457ef550>), ('disk_gb', <django.forms.fields.IntegerField object at 0x7f4247173550>), ('eph_gb', <django.forms.fields.IntegerField object at 0x7f42471731d0>), ('swap_mb', <django.forms.fields.IntegerField object at 0x7f4247173810>), ('rxtx_factor', <django.forms.fields.FloatField object at 0x7f424680df10>)])
help_text = <django.utils.functional.__proxy__ object at 0x7f42464d99d0>
help_text_template = None
media
name = <django.utils.functional.__proxy__ object at 0x7f42464d9550>
permissions = ()
policy_rules = ()
progress_message = <django.utils.functional.__proxy__ object at 0x7f4246920a10>
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 0x7f4245bdc1d0>
finalize_button_name = <django.utils.functional.__proxy__ object at 0x7f42464d9e50>
format_status_message(message)[source]
handle(request, data)[source]
name = <django.utils.functional.__proxy__ object at 0x7f4245bdc2d0>
slug = 'update_flavor'
success_message = <django.utils.functional.__proxy__ object at 0x7f4245bdc790>
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 0x7f42469209d0>
contribute(data, context)[source]
contributes = ('flavor_access',)
depends_on = ('flavor_id',)
help_text = <django.utils.functional.__proxy__ object at 0x7f4246920150>
members_list_title = <django.utils.functional.__proxy__ object at 0x7f42458c8310>
no_available_text = <django.utils.functional.__proxy__ object at 0x7f42458c8050>
no_members_text = <django.utils.functional.__proxy__ object at 0x7f42458c8790>
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 0x7f4246920410>
permissions = ()
policy_rules = ()
progress_message = <django.utils.functional.__proxy__ object at 0x7f42469200d0>
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 0x7f42457ef310>), ('flavor_id', <django.forms.fields.CharField object at 0x7f424630ff10>), ('vcpus', <django.forms.fields.IntegerField object at 0x7f42457efe10>), ('memory_mb', <django.forms.fields.IntegerField object at 0x7f42457ef550>), ('disk_gb', <django.forms.fields.IntegerField object at 0x7f4247173550>), ('eph_gb', <django.forms.fields.IntegerField object at 0x7f42471731d0>), ('swap_mb', <django.forms.fields.IntegerField object at 0x7f4247173810>), ('rxtx_factor', <django.forms.fields.FloatField object at 0x7f424680df10>)])
clean()[source]
declared_fields = OrderedDict([('name', <django.forms.fields.RegexField object at 0x7f42457ef310>), ('flavor_id', <django.forms.fields.CharField object at 0x7f424630ff10>), ('vcpus', <django.forms.fields.IntegerField object at 0x7f42457efe10>), ('memory_mb', <django.forms.fields.IntegerField object at 0x7f42457ef550>), ('disk_gb', <django.forms.fields.IntegerField object at 0x7f4247173550>), ('eph_gb', <django.forms.fields.IntegerField object at 0x7f42471731d0>), ('swap_mb', <django.forms.fields.IntegerField object at 0x7f4247173810>), ('rxtx_factor', <django.forms.fields.FloatField object at 0x7f424680df10>)])
help_text = <django.utils.functional.__proxy__ object at 0x7f424630f0d0>
help_text_template = None
media
name = <django.utils.functional.__proxy__ object at 0x7f424630f650>
permissions = ()
policy_rules = ()
progress_message = <django.utils.functional.__proxy__ object at 0x7f4245bdce50>
slug = 'update_info'

Previous topic

The openstack_dashboard.dashboards.admin.flavors.tables Module

Next topic

The openstack_dashboard.dashboards.admin.metadata_defs.urls Module

Project Source

This Page