horizon  20.1.2
About: OpenStack Horizon (Optional Service: Dashboard) provides a web-based self-service portal to interact with underlying OpenStack services, such as launching an instance, assigning IP addresses and configuring access controls.
The "Xena" series (latest release).
  Fossies Dox: horizon-20.1.2.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

openstack_dashboard.dashboards.project.instances.workflows.resize_instance.ResizeInstance Class Reference
Inheritance diagram for openstack_dashboard.dashboards.project.instances.workflows.resize_instance.ResizeInstance:
[legend]
Collaboration diagram for openstack_dashboard.dashboards.project.instances.workflows.resize_instance.ResizeInstance:
[legend]

Public Member Functions

def format_status_message (self, message)
 
def handle (self, request, context)
 

Static Public Attributes

string slug = "resize_instance"
 
 name = _("Resize Instance")
 
 finalize_button_name = _("Resize")
 
 success_message
 
 failure_message = _('Unable to resize instance "%s".')
 
string success_url = "horizon:project:instances:index"
 
tuple default_steps = (SetFlavorChoice, create_instance.SetAdvanced)
 

Detailed Description

Definition at line 90 of file resize_instance.py.

Member Function Documentation

◆ format_status_message()

def openstack_dashboard.dashboards.project.instances.workflows.resize_instance.ResizeInstance.format_status_message (   self,
  message 
)

◆ handle()

def openstack_dashboard.dashboards.project.instances.workflows.resize_instance.ResizeInstance.handle (   self,
  request,
  context 
)

Definition at line 106 of file resize_instance.py.

References horizon.workflows.base.Workflow.failure_message, openstack_dashboard.dashboards.admin.aggregates.workflows.CreateAggregateWorkflow.failure_message, openstack_dashboard.dashboards.admin.aggregates.workflows.ManageAggregateHostsWorkflow.failure_message, openstack_dashboard.dashboards.admin.defaults.workflows.UpdateDefaultQuotas.failure_message, openstack_dashboard.dashboards.admin.flavors.workflows.CreateFlavor.failure_message, openstack_dashboard.dashboards.admin.flavors.workflows.UpdateFlavor.failure_message, openstack_dashboard.dashboards.identity.domains.workflows.CreateDomain.failure_message, openstack_dashboard.dashboards.identity.domains.workflows.UpdateDomain.failure_message, openstack_dashboard.dashboards.identity.projects.workflows.UpdateQuota.failure_message, openstack_dashboard.dashboards.identity.projects.workflows.CreateProject.failure_message, openstack_dashboard.dashboards.identity.projects.workflows.UpdateProject.failure_message, openstack_dashboard.dashboards.project.floating_ips.workflows.IPAssociationWorkflow.failure_message, openstack_dashboard.dashboards.project.instances.workflows.create_instance.LaunchInstance.failure_message, openstack_dashboard.dashboards.project.instances.workflows.resize_instance.ResizeInstance.failure_message, openstack_dashboard.dashboards.project.instances.workflows.update_instance.UpdateInstance.failure_message, openstack_dashboard.dashboards.project.networks.ports.workflows.CreatePort.failure_message, openstack_dashboard.dashboards.project.networks.ports.workflows.UpdatePort.failure_message, openstack_dashboard.dashboards.project.networks.subnets.workflows.CreateSubnet.failure_message, openstack_dashboard.dashboards.project.networks.subnets.workflows.UpdateSubnet.failure_message, openstack_dashboard.dashboards.project.networks.workflows.CreateNetwork.failure_message, openstack_dashboard.dashboards.project.volume_groups.workflows.CreateGroupWorkflow.failure_message, and openstack_dashboard.dashboards.project.volume_groups.workflows.UpdateGroupWorkflow.failure_message.

Referenced by horizon.workflows.base.Workflow.finalize().

Member Data Documentation

◆ default_steps

tuple openstack_dashboard.dashboards.project.instances.workflows.resize_instance.ResizeInstance.default_steps = (SetFlavorChoice, create_instance.SetAdvanced)
static

◆ failure_message

openstack_dashboard.dashboards.project.instances.workflows.resize_instance.ResizeInstance.failure_message = _('Unable to resize instance "%s".')
static

◆ finalize_button_name

openstack_dashboard.dashboards.project.instances.workflows.resize_instance.ResizeInstance.finalize_button_name = _("Resize")
static

Definition at line 93 of file resize_instance.py.

◆ name

◆ slug

◆ success_message

openstack_dashboard.dashboards.project.instances.workflows.resize_instance.ResizeInstance.success_message
static
Initial value:
= _('Request for resizing of instance "%s" '
'has been submitted.')

Definition at line 94 of file resize_instance.py.

Referenced by openstack_dashboard.dashboards.project.security_groups.forms.GroupBase.handle().

◆ success_url

string openstack_dashboard.dashboards.project.instances.workflows.resize_instance.ResizeInstance.success_url = "horizon:project:instances:index"
static

Definition at line 97 of file resize_instance.py.

Referenced by openstack_dashboard.dashboards.admin.metadata_defs.views.UpdateView._get_object(), openstack_dashboard.dashboards.admin.rbac_policies.views.UpdateView._get_object(), openstack_dashboard.dashboards.project.networks.views.UpdateView._get_object(), openstack_dashboard.dashboards.project.routers.views.UpdateView._get_object(), openstack_auth.views.PasswordView.form_valid(), horizon.forms.views.ModalFormView.get_cancel_url(), openstack_dashboard.dashboards.admin.backups.views.UpdateStatusView.get_data(), openstack_dashboard.dashboards.admin.group_types.views.EditGroupTypeView.get_data(), openstack_dashboard.dashboards.admin.volume_types.views.EditVolumeTypeView.get_data(), openstack_dashboard.dashboards.admin.volumes.views.UnmanageVolumeView.get_data(), openstack_dashboard.dashboards.admin.volumes.views.MigrateVolumeView.get_data(), openstack_dashboard.dashboards.admin.volumes.views.UpdateStatusView.get_data(), openstack_dashboard.dashboards.project.volumes.views.UploadToImageView.get_data(), openstack_dashboard.dashboards.project.volumes.views.RetypeView.get_data(), openstack_dashboard.dashboards.admin.volumes.views.MigrateVolumeView.get_hosts(), horizon.workflows.base.Workflow.get_success_url(), openstack_dashboard.dashboards.admin.group_types.specs.views.CreateView.get_success_url(), openstack_dashboard.dashboards.admin.group_types.specs.views.EditView.get_success_url(), openstack_dashboard.dashboards.admin.networks.agents.views.AddView.get_success_url(), openstack_dashboard.dashboards.admin.volume_types.extras.views.CreateView.get_success_url(), openstack_dashboard.dashboards.admin.volume_types.extras.views.EditView.get_success_url(), openstack_dashboard.dashboards.identity.identity_providers.protocols.views.AddProtocolView.get_success_url(), openstack_dashboard.dashboards.project.networks.ports.extensions.allowed_address_pairs.views.AddAllowedAddressPair.get_success_url(), openstack_dashboard.dashboards.project.networks.subnets.workflows.UpdateSubnet.get_success_url(), openstack_dashboard.dashboards.project.routers.extensions.extraroutes.views.AddRouterRouteView.get_success_url(), openstack_dashboard.dashboards.project.routers.ports.views.AddInterfaceView.get_success_url(), openstack_dashboard.dashboards.project.routers.ports.views.SetGatewayView.get_success_url(), horizon.tables.actions.BatchAction.get_success_url(), and openstack_dashboard.dashboards.identity.groups.tables.AddMembers.get_success_url().


The documentation for this class was generated from the following file: