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 0x7f4246938390>
-
submit_label = <django.utils.functional.__proxy__ object at 0x7f4246938910>
-
success_url = <django.utils.functional.__proxy__ object at 0x7f4246938990>
-
template_name = 'project/instances/attach_interface.html'
-
class openstack_dashboard.dashboards.project.instances.views.AttachVolumeView(*args, **kwargs)[source]
Bases: horizon.forms.views.ModalFormView
-
form_class
alias of AttachVolume
-
get_context_data(**kwargs)[source]
-
get_initial()[source]
-
get_object(*args, **kwargs)[source]
-
modal_header = <django.utils.functional.__proxy__ object at 0x7f42469383d0>
-
modal_id = 'attach_volume_modal'
-
submit_label = <django.utils.functional.__proxy__ object at 0x7f4246938cd0>
-
success_url = <django.utils.functional.__proxy__ object at 0x7f4246938350>
-
template_name = 'project/instances/attach_volume.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 0x7f4245563150>
-
success_url = <django.utils.functional.__proxy__ object at 0x7f4245563dd0>
-
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 0x7f4246938e90>
-
submit_label = <django.utils.functional.__proxy__ object at 0x7f4246938a10>
-
success_url = <django.utils.functional.__proxy__ object at 0x7f4246938f10>
-
template_name = 'project/instances/detach_interface.html'
-
class openstack_dashboard.dashboards.project.instances.views.DetachVolumeView(*args, **kwargs)[source]
Bases: horizon.forms.views.ModalFormView
-
form_class
alias of DetachVolume
-
get_context_data(**kwargs)[source]
-
get_initial()[source]
-
get_object(*args, **kwargs)[source]
-
modal_header = <django.utils.functional.__proxy__ object at 0x7f4246938d50>
-
modal_id = 'detach_volume_modal'
-
submit_label = <django.utils.functional.__proxy__ object at 0x7f4246938110>
-
success_url = <django.utils.functional.__proxy__ object at 0x7f4246938f50>
-
template_name = 'project/instances/detach_volume.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]
-
has_more_data(table)[source]
-
page_title = <django.utils.functional.__proxy__ object at 0x7f4245563610>
-
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 0x7f4245563d90>
-
submit_label = <django.utils.functional.__proxy__ object at 0x7f4245563d90>
-
success_url = <django.utils.functional.__proxy__ object at 0x7f4245563710>
-
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 0x7f4246938a90>
-
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 0x7f4245563ed0>
-
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]