The openstack_dashboard.dashboards.project.volumes.volumes.views ModuleΒΆ

Views for managing volumes.

class openstack_dashboard.dashboards.project.volumes.volumes.views.AcceptTransferView[source]

Bases: horizon.forms.views.ModalFormView

form_class

alias of AcceptTransferForm

modal_header = <django.utils.functional.__proxy__ object at 0xcfe1c6c>
modal_id = 'accept_volume_transfer_modal'
page_title = <django.utils.functional.__proxy__ object at 0xcfe1dec>
submit_label = <django.utils.functional.__proxy__ object at 0xcfe17ec>
submit_url = <django.utils.functional.__proxy__ object at 0xcfe1acc>
success_url = <django.utils.functional.__proxy__ object at 0xcfe18ac>
template_name = 'project/volumes/volumes/accept_transfer.html'
class openstack_dashboard.dashboards.project.volumes.volumes.views.CreateSnapshotView[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 0xd037ccc>
page_title = <django.utils.functional.__proxy__ object at 0xd037d8c>
submit_url = 'horizon:project:volumes:volumes:create_snapshot'
success_url = <django.utils.functional.__proxy__ object at 0xd0376ec>
template_name = 'project/volumes/volumes/create_snapshot.html'
class openstack_dashboard.dashboards.project.volumes.volumes.views.CreateTransferView[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 0xcfe1b8c>
modal_id = 'create_volume_transfer_modal'
page_title = <django.utils.functional.__proxy__ object at 0xcfe1d4c>
submit_label = <django.utils.functional.__proxy__ object at 0xcfe1d0c>
submit_url = 'horizon:project:volumes:volumes:create_transfer'
success_url = <django.utils.functional.__proxy__ object at 0xcfe1fcc>
template_name = 'project/volumes/volumes/create_transfer.html'
class openstack_dashboard.dashboards.project.volumes.volumes.views.CreateView[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 0xd0374cc>
page_title = <django.utils.functional.__proxy__ object at 0xd03764c>
submit_label = <django.utils.functional.__proxy__ object at 0xd037dac>
submit_url = <django.utils.functional.__proxy__ object at 0xd03768c>
success_url = <django.utils.functional.__proxy__ object at 0xd0372ec>
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.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 0xd04b48c>
modal_id = 'attach_volume_modal'
page_title = <django.utils.functional.__proxy__ object at 0xd04b04c>
post(request, *args, **kwargs)[source]
submit_url = 'horizon:project:volumes:volumes:attach'
success_url = <django.utils.functional.__proxy__ object at 0xd04b20c>
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 0xcf9bb2c>
template_name = 'project/volumes/volumes/encryption_detail.html'
class openstack_dashboard.dashboards.project.volumes.volumes.views.ExtendView[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 0xd03714c>
page_title = <django.utils.functional.__proxy__ object at 0xd03786c>
submit_label = <django.utils.functional.__proxy__ object at 0xd0377cc>
submit_url = 'horizon:project:volumes:volumes:extend'
success_url = <django.utils.functional.__proxy__ object at 0xd03744c>
template_name = 'project/volumes/volumes/extend.html'
class openstack_dashboard.dashboards.project.volumes.volumes.views.RetypeView[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 0xd04ba8c>
modal_id = 'retype_volume_modal'
page_title = <django.utils.functional.__proxy__ object at 0xcff106c>
submit_label = <django.utils.functional.__proxy__ object at 0xcff180c>
submit_url = 'horizon:project:volumes:volumes:retype'
success_url = <django.utils.functional.__proxy__ object at 0xcff148c>
template_name = 'project/volumes/volumes/retype.html'
class openstack_dashboard.dashboards.project.volumes.volumes.views.ShowTransferView[source]

Bases: horizon.forms.views.ModalFormView

cancel_label = <django.utils.functional.__proxy__ object at 0xd04b36c>
form_class

alias of ShowTransferForm

get_context_data(**kwargs)[source]
get_initial()[source]
get_object()[source]
modal_header = <django.utils.functional.__proxy__ object at 0xcf3264c>
modal_id = 'show_volume_transfer_modal'
page_title = <django.utils.functional.__proxy__ object at 0xd04b30c>
submit_url = 'horizon:project:volumes:volumes:show_transfer'
success_url = <django.utils.functional.__proxy__ object at 0xcfe12ec>
template_name = 'project/volumes/volumes/show_transfer.html'
class openstack_dashboard.dashboards.project.volumes.volumes.views.UpdateView[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 0xd04b84c>
modal_id = 'update_volume_modal'
page_title = <django.utils.functional.__proxy__ object at 0xd04b2ec>
submit_url = 'horizon:project:volumes:volumes:update'
success_url = <django.utils.functional.__proxy__ object at 0xd04b0cc>
template_name = 'project/volumes/volumes/update.html'
class openstack_dashboard.dashboards.project.volumes.volumes.views.UploadToImageView[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 0xd0374ec>
page_title = <django.utils.functional.__proxy__ object at 0xcfe146c>
submit_label = <django.utils.functional.__proxy__ object at 0xd0378cc>
submit_url = 'horizon:project:volumes:volumes:upload_to_image'
success_url = <django.utils.functional.__proxy__ object at 0xcfe102c>
template_name = 'project/volumes/volumes/upload_to_image.html'