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.SetFlavorChoiceAction Class Reference
Inheritance diagram for openstack_dashboard.dashboards.project.instances.workflows.resize_instance.SetFlavorChoiceAction:
[legend]
Collaboration diagram for openstack_dashboard.dashboards.project.instances.workflows.resize_instance.SetFlavorChoiceAction:
[legend]

Classes

class  Meta
 

Public Member Functions

def populate_flavor_choices (self, request, context)
 
def get_help_text (self, extra_context=None)
 

Static Public Attributes

 old_flavor_id = forms.CharField(required=False, widget=forms.HiddenInput())
 
 old_flavor_name
 
 flavor
 

Detailed Description

Definition at line 32 of file resize_instance.py.

Member Function Documentation

◆ get_help_text()

◆ populate_flavor_choices()

def openstack_dashboard.dashboards.project.instances.workflows.resize_instance.SetFlavorChoiceAction.populate_flavor_choices (   self,
  request,
  context 
)

Definition at line 49 of file resize_instance.py.

Member Data Documentation

◆ flavor

openstack_dashboard.dashboards.project.instances.workflows.resize_instance.SetFlavorChoiceAction.flavor
static
Initial value:
= forms.ThemableChoiceField(
label=_("New Flavor"),
help_text=_("Choose the flavor to launch."))

Definition at line 39 of file resize_instance.py.

◆ old_flavor_id

openstack_dashboard.dashboards.project.instances.workflows.resize_instance.SetFlavorChoiceAction.old_flavor_id = forms.CharField(required=False, widget=forms.HiddenInput())
static

Definition at line 33 of file resize_instance.py.

◆ old_flavor_name

openstack_dashboard.dashboards.project.instances.workflows.resize_instance.SetFlavorChoiceAction.old_flavor_name
static
Initial value:
= forms.CharField(
label=_("Old Flavor"),
widget=forms.TextInput(attrs={'readonly': 'readonly'}),
required=False,
)

Definition at line 34 of file resize_instance.py.


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