The openstack_dashboard.dashboards.project.instances.views Module
Views for managing instances.
-
class openstack_dashboard.dashboards.project.instances.views.AttachInterfaceView(*args, **kwargs)[source]
Bases: horizon.forms.views.ModalFormView
-
form_class
alias of AttachInterface
-
form_id = 'attach_interface_form'
-
get_context_data(**kwargs)[source]
-
get_initial()[source]
-
modal_header = <django.utils.functional.__proxy__ object at 0x7faf86c283d0>
-
submit_label = <django.utils.functional.__proxy__ object at 0x7faf86c28a10>
-
success_url = <django.utils.functional.__proxy__ object at 0x7faf86c28150>
-
template_name = 'project/instances/attach_interface.html'
-
class openstack_dashboard.dashboards.project.instances.views.DecryptPasswordView(*args, **kwargs)[source]
Bases: horizon.forms.views.ModalFormView
-
form_class
alias of DecryptPasswordInstanceForm
-
get_context_data(**kwargs)[source]
-
get_initial()[source]
-
page_title = <django.utils.functional.__proxy__ object at 0x7faf86c28f10>
-
success_url = <django.utils.functional.__proxy__ object at 0x7faf86c281d0>
-
template_name = 'project/instances/decryptpassword.html'
-
class openstack_dashboard.dashboards.project.instances.views.DetachInterfaceView(*args, **kwargs)[source]
Bases: horizon.forms.views.ModalFormView
-
form_class
alias of DetachInterface
-
form_id = 'detach_interface_form'
-
get_context_data(**kwargs)[source]
-
get_initial()[source]
-
modal_header = <django.utils.functional.__proxy__ object at 0x7faf86c28750>
-
submit_label = <django.utils.functional.__proxy__ object at 0x7faf86c28290>
-
success_url = <django.utils.functional.__proxy__ object at 0x7faf86c28690>
-
template_name = 'project/instances/detach_interface.html'
-
class openstack_dashboard.dashboards.project.instances.views.DetailView[source]
Bases: horizon.tabs.views.TabView
-
get_context_data(**kwargs)[source]
-
get_data(*args, **kwargs)[source]
-
get_tabs(request, *args, **kwargs)[source]
-
image_url = 'horizon:project:images:images:detail'
-
page_title = '{{ instance.name|default:instance.id }}'
-
redirect_url = 'horizon:project:instances:index'
-
tab_group_class
alias of InstanceDetailTabs
-
template_name = 'horizon/common/_detail.html'
-
volume_url = 'horizon:project:volumes:volumes:detail'
-
class openstack_dashboard.dashboards.project.instances.views.IndexView(*args, **kwargs)[source]
Bases: horizon.tables.views.DataTableView
-
get_data()[source]
-
get_filters(filters)[source]
-
has_more_data(table)[source]
-
page_title = <django.utils.functional.__proxy__ object at 0x7faf86c28c10>
-
table_class
alias of InstancesTable
-
template_name = 'project/instances/index.html'
-
class openstack_dashboard.dashboards.project.instances.views.LaunchInstanceView[source]
Bases: horizon.workflows.views.WorkflowView
-
get_initial()[source]
-
workflow_class
alias of LaunchInstance
-
class openstack_dashboard.dashboards.project.instances.views.RebuildView(*args, **kwargs)[source]
Bases: horizon.forms.views.ModalFormView
-
form_class
alias of RebuildInstanceForm
-
get_context_data(**kwargs)[source]
-
get_initial()[source]
-
page_title = <django.utils.functional.__proxy__ object at 0x7faf86c28950>
-
submit_label = <django.utils.functional.__proxy__ object at 0x7faf86c28950>
-
success_url = <django.utils.functional.__proxy__ object at 0x7faf86c28090>
-
template_name = 'project/instances/rebuild.html'
-
class openstack_dashboard.dashboards.project.instances.views.ResizeView[source]
Bases: horizon.workflows.views.WorkflowView
-
get_context_data(**kwargs)[source]
-
get_flavors(*args, **kwargs)[source]
-
get_initial()[source]
-
get_object(*args, **kwargs)[source]
-
success_url = <django.utils.functional.__proxy__ object at 0x7faf86c28cd0>
-
workflow_class
alias of ResizeInstance
-
class openstack_dashboard.dashboards.project.instances.views.SerialConsoleView(**kwargs)[source]
Bases: django.views.generic.base.TemplateView
-
get_context_data(**kwargs)[source]
-
template_name = 'project/instances/serial_console.html'
-
class openstack_dashboard.dashboards.project.instances.views.UpdateView[source]
Bases: horizon.workflows.views.WorkflowView
-
get_context_data(**kwargs)[source]
-
get_initial()[source]
-
get_object(*args, **kwargs)[source]
-
success_url = <django.utils.functional.__proxy__ object at 0x7faf86c289d0>
-
workflow_class
alias of UpdateInstance
-
openstack_dashboard.dashboards.project.instances.views.console(request, instance_id)[source]
-
openstack_dashboard.dashboards.project.instances.views.rdp(request, instance_id)[source]
-
openstack_dashboard.dashboards.project.instances.views.spice(request, instance_id)[source]
-
openstack_dashboard.dashboards.project.instances.views.vnc(request, instance_id)[source]