The openstack_dashboard.dashboards.project.volumes.volumes.views Module
Views for managing volumes.
-
class openstack_dashboard.dashboards.project.volumes.volumes.views.AcceptTransferView(*args, **kwargs)[source]
Bases: horizon.forms.views.ModalFormView
-
form_class
alias of AcceptTransferForm
-
modal_header = <django.utils.functional.__proxy__ object at 0x7f9f40e9f990>
-
modal_id = 'accept_volume_transfer_modal'
-
page_title = <django.utils.functional.__proxy__ object at 0x7f9f40e9f4d0>
-
submit_label = <django.utils.functional.__proxy__ object at 0x7f9f40e9f9d0>
-
submit_url = <django.utils.functional.__proxy__ object at 0x7f9f40e9fd50>
-
success_url = <django.utils.functional.__proxy__ object at 0x7f9f40e9fc90>
-
template_name = 'project/volumes/volumes/accept_transfer.html'
-
class openstack_dashboard.dashboards.project.volumes.volumes.views.CreateSnapshotView(*args, **kwargs)[source]
Bases: horizon.forms.views.ModalFormView
-
form_class
alias of CreateSnapshotForm
-
get_context_data(**kwargs)[source]
-
get_initial()[source]
-
modal_header = <django.utils.functional.__proxy__ object at 0x7f9f40cd0210>
-
page_title = <django.utils.functional.__proxy__ object at 0x7f9f40cd0750>
-
submit_url = 'horizon:project:volumes:volumes:create_snapshot'
-
success_url = <django.utils.functional.__proxy__ object at 0x7f9f40cd0650>
-
template_name = 'project/volumes/volumes/create_snapshot.html'
-
class openstack_dashboard.dashboards.project.volumes.volumes.views.CreateTransferView(*args, **kwargs)[source]
Bases: horizon.forms.views.ModalFormView
-
form_class
alias of CreateTransferForm
-
get_context_data(*args, **kwargs)[source]
-
get_initial()[source]
-
modal_header = <django.utils.functional.__proxy__ object at 0x7f9f40e9fa10>
-
modal_id = 'create_volume_transfer_modal'
-
page_title = <django.utils.functional.__proxy__ object at 0x7f9f40e9f6d0>
-
submit_label = <django.utils.functional.__proxy__ object at 0x7f9f40e9fdd0>
-
submit_url = 'horizon:project:volumes:volumes:create_transfer'
-
success_url = <django.utils.functional.__proxy__ object at 0x7f9f40e9f110>
-
template_name = 'project/volumes/volumes/create_transfer.html'
-
class openstack_dashboard.dashboards.project.volumes.volumes.views.CreateView(*args, **kwargs)[source]
Bases: horizon.forms.views.ModalFormView
-
form_class
alias of CreateForm
-
get_context_data(**kwargs)[source]
-
get_initial()[source]
-
modal_header = <django.utils.functional.__proxy__ object at 0x7f9f40bdd250>
-
page_title = <django.utils.functional.__proxy__ object at 0x7f9f40be5490>
-
submit_label = <django.utils.functional.__proxy__ object at 0x7f9f40bddd10>
-
submit_url = <django.utils.functional.__proxy__ object at 0x7f9f40bddd50>
-
success_url = <django.utils.functional.__proxy__ object at 0x7f9f40be5650>
-
template_name = 'project/volumes/volumes/create.html'
-
class openstack_dashboard.dashboards.project.volumes.volumes.views.DetailView[source]
Bases: horizon.tabs.views.TabView
-
get_context_data(**kwargs)[source]
-
get_data(*args, **kwargs)[source]
-
get_redirect_url()[source]
-
get_tabs(request, *args, **kwargs)[source]
-
page_title = '{{ volume.name|default:volume.id }}'
-
tab_group_class
alias of VolumeDetailTabs
-
template_name = 'horizon/common/_detail.html'
-
class openstack_dashboard.dashboards.project.volumes.volumes.views.DownloadTransferCreds(**kwargs)[source]
Bases: django.views.generic.base.View
-
get(*args, **kwargs)[source]
-
class openstack_dashboard.dashboards.project.volumes.volumes.views.EditAttachmentsView(*args, **kwargs)[source]
Bases: horizon.tables.views.DataTableView, horizon.forms.views.ModalFormView
-
form_class
alias of AttachForm
-
form_id = 'attach_volume_form'
-
get(request, *args, **kwargs)[source]
-
get_context_data(**kwargs)[source]
-
get_data()[source]
-
get_form(*args, **kwargs)[source]
-
get_initial()[source]
-
get_object(*args, **kwargs)[source]
-
modal_header = <django.utils.functional.__proxy__ object at 0x7f9f40b3ae50>
-
modal_id = 'attach_volume_modal'
-
page_title = <django.utils.functional.__proxy__ object at 0x7f9f40b3aa10>
-
post(request, *args, **kwargs)[source]
-
submit_url = 'horizon:project:volumes:volumes:attach'
-
success_url = <django.utils.functional.__proxy__ object at 0x7f9f40b3a910>
-
table_class
alias of AttachmentsTable
-
template_name = 'project/volumes/volumes/attach.html'
-
class openstack_dashboard.dashboards.project.volumes.volumes.views.EncryptionDetailView(**kwargs)[source]
Bases: django.views.generic.base.TemplateView
-
get_context_data(**kwargs)[source]
-
get_encryption_data(*args, **kwargs)[source]
-
get_redirect_url()[source]
-
get_volume_data(*args, **kwargs)[source]
-
page_title = <django.utils.functional.__proxy__ object at 0x7f9f40b3a2d0>
-
template_name = 'project/volumes/volumes/encryption_detail.html'
-
class openstack_dashboard.dashboards.project.volumes.volumes.views.ExtendView(*args, **kwargs)[source]
Bases: horizon.forms.views.ModalFormView
-
form_class
alias of ExtendForm
-
get_context_data(**kwargs)[source]
-
get_initial()[source]
-
get_object()[source]
-
modal_header = <django.utils.functional.__proxy__ object at 0x7f9f40be5550>
-
page_title = <django.utils.functional.__proxy__ object at 0x7f9f40cd0ad0>
-
submit_label = <django.utils.functional.__proxy__ object at 0x7f9f40be5e10>
-
submit_url = 'horizon:project:volumes:volumes:extend'
-
success_url = <django.utils.functional.__proxy__ object at 0x7f9f40be5b10>
-
template_name = 'project/volumes/volumes/extend.html'
-
class openstack_dashboard.dashboards.project.volumes.volumes.views.RetypeView(*args, **kwargs)[source]
Bases: horizon.forms.views.ModalFormView
-
form_class
alias of RetypeForm
-
get_context_data(**kwargs)[source]
-
get_data(*args, **kwargs)[source]
-
get_initial()[source]
-
modal_header = <django.utils.functional.__proxy__ object at 0x7f9f40b3a8d0>
-
modal_id = 'retype_volume_modal'
-
page_title = <django.utils.functional.__proxy__ object at 0x7f9f40b3afd0>
-
submit_label = <django.utils.functional.__proxy__ object at 0x7f9f40b3a650>
-
submit_url = 'horizon:project:volumes:volumes:retype'
-
success_url = <django.utils.functional.__proxy__ object at 0x7f9f40b3a610>
-
template_name = 'project/volumes/volumes/retype.html'
-
class openstack_dashboard.dashboards.project.volumes.volumes.views.ShowTransferView(*args, **kwargs)[source]
Bases: horizon.forms.views.ModalFormView
-
cancel_label = <django.utils.functional.__proxy__ object at 0x7f9f40e9fc50>
-
download_label = <django.utils.functional.__proxy__ object at 0x7f9f40e9f450>
-
form_class
alias of ShowTransferForm
-
get_context_data(**kwargs)[source]
-
get_initial()[source]
-
get_object()[source]
-
modal_header = <django.utils.functional.__proxy__ object at 0x7f9f40e9fe10>
-
modal_id = 'show_volume_transfer_modal'
-
page_title = <django.utils.functional.__proxy__ object at 0x7f9f40e9f8d0>
-
submit_url = 'horizon:project:volumes:volumes:show_transfer'
-
success_url = <django.utils.functional.__proxy__ object at 0x7f9f40e9fa90>
-
template_name = 'project/volumes/volumes/show_transfer.html'
-
class openstack_dashboard.dashboards.project.volumes.volumes.views.UpdateView(*args, **kwargs)[source]
Bases: horizon.forms.views.ModalFormView
-
form_class
alias of UpdateForm
-
get_context_data(**kwargs)[source]
-
get_initial()[source]
-
get_object()[source]
-
modal_header = <django.utils.functional.__proxy__ object at 0x7f9f40e9fa50>
-
modal_id = 'update_volume_modal'
-
page_title = <django.utils.functional.__proxy__ object at 0x7f9f40b3a0d0>
-
submit_url = 'horizon:project:volumes:volumes:update'
-
success_url = <django.utils.functional.__proxy__ object at 0x7f9f40e9ff50>
-
template_name = 'project/volumes/volumes/update.html'
-
class openstack_dashboard.dashboards.project.volumes.volumes.views.UploadToImageView(*args, **kwargs)[source]
Bases: horizon.forms.views.ModalFormView
-
form_class
alias of UploadToImageForm
-
get_context_data(**kwargs)[source]
-
get_data(*args, **kwargs)[source]
-
get_initial()[source]
-
modal_header = <django.utils.functional.__proxy__ object at 0x7f9f40cd0a10>
-
page_title = <django.utils.functional.__proxy__ object at 0x7f9f40e9f590>
-
submit_label = <django.utils.functional.__proxy__ object at 0x7f9f40e9fe50>
-
submit_url = 'horizon:project:volumes:volumes:upload_to_image'
-
success_url = <django.utils.functional.__proxy__ object at 0x7f9f40e9ff10>
-
template_name = 'project/volumes/volumes/upload_to_image.html'