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

class openstack_dashboard.dashboards.project.volumes.volumes.tables.AttachedInstanceColumn(transform, verbose_name=None, sortable=True, link=None, allowed_data_types=[], hidden=False, attrs=None, status=False, status_choices=None, display_choices=None, empty_value=None, filters=None, classes=None, summation=None, auto=None, truncate=None, link_classes=None, wrap_list=False, form_field=None, form_field_attributes=None, update_action=None)[source]

Bases: horizon.tables.base.Column

Customized column class that does complex processing on the attachments for a volume instance.

AttachedInstanceColumn.get_raw_data(attachment)[source]
class openstack_dashboard.dashboards.project.volumes.volumes.tables.AttachmentColumn(transform, verbose_name=None, sortable=True, link=None, allowed_data_types=[], hidden=False, attrs=None, status=False, status_choices=None, display_choices=None, empty_value=None, filters=None, classes=None, summation=None, auto=None, truncate=None, link_classes=None, wrap_list=False, form_field=None, form_field_attributes=None, update_action=None)[source]

Bases: horizon.tables.base.Column

Customized column class.

So it that does complex processing on the attachments for a volume instance.

AttachmentColumn.get_raw_data(volume)[source]
class openstack_dashboard.dashboards.project.volumes.volumes.tables.AttachmentsTable(request, data=None, needs_form_wrapper=None, **kwargs)[source]

Bases: horizon.tables.base.DataTable

class AttachmentsTable.Meta[source]
AttachmentsTable.get_object_by_id(obj_id)[source]
AttachmentsTable.get_object_display(attachment)[source]
AttachmentsTable.get_object_id(obj)[source]
class openstack_dashboard.dashboards.project.volumes.volumes.tables.CreateSnapshot(attrs=None, **kwargs)[source]

Bases: horizon.tables.actions.LinkAction

CreateSnapshot.allowed(request, volume=None)[source]
CreateSnapshot.get_policy_target(request, datum=None)[source]
class openstack_dashboard.dashboards.project.volumes.volumes.tables.CreateVolume(attrs=None, **kwargs)[source]

Bases: horizon.tables.actions.LinkAction

CreateVolume.allowed(request, volume=None)[source]
class openstack_dashboard.dashboards.project.volumes.volumes.tables.DeleteVolume(**kwargs)[source]

Bases: horizon.tables.actions.DeleteAction

DeleteVolume.allowed(request, volume=None)[source]
DeleteVolume.delete(request, obj_id)[source]
DeleteVolume.get_policy_target(request, datum=None)[source]
class openstack_dashboard.dashboards.project.volumes.volumes.tables.DetachVolume(**kwargs)[source]

Bases: horizon.tables.actions.BatchAction

DetachVolume.action(request, obj_id)[source]
DetachVolume.get_success_url(request)[source]
class openstack_dashboard.dashboards.project.volumes.volumes.tables.EditAttachments(attrs=None, **kwargs)[source]

Bases: horizon.tables.actions.LinkAction

EditAttachments.allowed(request, volume=None)[source]
class openstack_dashboard.dashboards.project.volumes.volumes.tables.EditVolume(attrs=None, **kwargs)[source]

Bases: horizon.tables.actions.LinkAction

EditVolume.allowed(request, volume=None)[source]
EditVolume.get_policy_target(request, datum=None)[source]
class openstack_dashboard.dashboards.project.volumes.volumes.tables.ExtendVolume(attrs=None, **kwargs)[source]

Bases: horizon.tables.actions.LinkAction

ExtendVolume.allowed(request, volume=None)[source]
ExtendVolume.get_policy_target(request, datum=None)[source]
class openstack_dashboard.dashboards.project.volumes.volumes.tables.UpdateRow(table, datum=None)[source]

Bases: horizon.tables.base.Row

UpdateRow.get_data(request, volume_id)[source]
class openstack_dashboard.dashboards.project.volumes.volumes.tables.VolumesFilterAction(**kwargs)[source]

Bases: horizon.tables.actions.FilterAction

VolumesFilterAction.filter(table, volumes, filter_string)[source]

Naive case-insensitive search.

class openstack_dashboard.dashboards.project.volumes.volumes.tables.VolumesTable(request, data=None, needs_form_wrapper=None, **kwargs)[source]

Bases: openstack_dashboard.dashboards.project.volumes.volumes.tables.VolumesTableBase

class VolumesTable.Meta[source]
VolumesTable.Meta.row_class

alias of UpdateRow

class openstack_dashboard.dashboards.project.volumes.volumes.tables.VolumesTableBase(request, data=None, needs_form_wrapper=None, **kwargs)[source]

Bases: horizon.tables.base.DataTable

VolumesTableBase.get_object_display(obj)[source]
openstack_dashboard.dashboards.project.volumes.volumes.tables.get_attachment_name(request, attachment)[source]
openstack_dashboard.dashboards.project.volumes.volumes.tables.get_size(volume)[source]
openstack_dashboard.dashboards.project.volumes.volumes.tables.get_volume_type(volume)[source]

Previous topic

The openstack_dashboard.dashboards.project.volumes.test Module

Next topic

The openstack_dashboard.dashboards.project.volumes.volumes.tests Module

This Page