The openstack_dashboard.dashboards.project.images_and_snapshots.images.tables ModuleΒΆ

class openstack_dashboard.dashboards.project.images_and_snapshots.images.tables.CreateImage(verbose_name=None, allowed_data_types=[], url=None, attrs=None)[source]

Bases: horizon.tables.actions.LinkAction

CreateImage.classes = ('ajax-modal', 'btn-create')
CreateImage.name = 'create'
CreateImage.url = 'horizon:project:images_and_snapshots:images:create'
CreateImage.verbose_name = <django.utils.functional.__proxy__ object at 0x7cf0a90>
class openstack_dashboard.dashboards.project.images_and_snapshots.images.tables.DeleteImage[source]

Bases: horizon.tables.actions.DeleteAction

DeleteImage.allowed(request, image=None)[source]
DeleteImage.data_type_plural = <django.utils.functional.__proxy__ object at 0x7cf0990>
DeleteImage.data_type_singular = <django.utils.functional.__proxy__ object at 0x7cf0910>
DeleteImage.delete(request, obj_id)[source]
class openstack_dashboard.dashboards.project.images_and_snapshots.images.tables.EditImage(verbose_name=None, allowed_data_types=[], url=None, attrs=None)[source]

Bases: horizon.tables.actions.LinkAction

EditImage.allowed(request, image=None)[source]
EditImage.classes = ('ajax-modal', 'btn-edit')
EditImage.name = 'edit'
EditImage.url = 'horizon:project:images_and_snapshots:images:update'
EditImage.verbose_name = <django.utils.functional.__proxy__ object at 0x7cf0b50>
class openstack_dashboard.dashboards.project.images_and_snapshots.images.tables.ImagesTable(request, data=None, needs_form_wrapper=None, **kwargs)[source]

Bases: horizon.tables.base.DataTable

class ImagesTable.Meta[source]
ImagesTable.Meta.columns = ['name', 'status', 'public', 'disk_format']
ImagesTable.Meta.name = 'images'
ImagesTable.Meta.pagination_param = 'image_marker'
ImagesTable.Meta.row_actions = (<class 'openstack_dashboard.dashboards.project.images_and_snapshots.images.tables.LaunchImage'>, <class 'openstack_dashboard.dashboards.project.images_and_snapshots.images.tables.EditImage'>, <class 'openstack_dashboard.dashboards.project.images_and_snapshots.images.tables.DeleteImage'>)
ImagesTable.Meta.row_class

alias of UpdateRow

ImagesTable.Meta.status_columns = ['status']
ImagesTable.Meta.table_actions = (<class 'openstack_dashboard.dashboards.project.images_and_snapshots.images.tables.OwnerFilter'>, <class 'openstack_dashboard.dashboards.project.images_and_snapshots.images.tables.CreateImage'>, <class 'openstack_dashboard.dashboards.project.images_and_snapshots.images.tables.DeleteImage'>)
ImagesTable.Meta.verbose_name = <django.utils.functional.__proxy__ object at 0x7d37210>
ImagesTable.STATUS_CHOICES = (('active', True), ('saving', None), ('queued', None), ('pending_delete', None), ('killed', False), ('deleted', False))
ImagesTable.base_actions = {'create': <CreateImage: create>, 'delete': <DeleteImage: delete>, 'edit': <EditImage: edit>, 'filter': <OwnerFilter: filter>, 'launch_image': <LaunchImage: launch_image>}
ImagesTable.base_columns = {'name': <Column: name>, 'image_type': <Column: image_type>, 'status': <Column: status>, 'public': <Column: public>, 'disk_format': <Column: disk_format>}
class openstack_dashboard.dashboards.project.images_and_snapshots.images.tables.LaunchImage(verbose_name=None, allowed_data_types=[], url=None, attrs=None)[source]

Bases: horizon.tables.actions.LinkAction

LaunchImage.classes = ('btn-launch', 'ajax-modal')
LaunchImage.get_link_url(datum)[source]
LaunchImage.name = 'launch_image'
LaunchImage.url = 'horizon:project:instances:launch'
LaunchImage.verbose_name = <django.utils.functional.__proxy__ object at 0x7cf0890>
class openstack_dashboard.dashboards.project.images_and_snapshots.images.tables.OwnerFilter(*args, **kwargs)[source]

Bases: horizon.tables.actions.FixedFilterAction

OwnerFilter.categorize(table, images)[source]
OwnerFilter.get_fixed_buttons()[source]
class openstack_dashboard.dashboards.project.images_and_snapshots.images.tables.UpdateRow(table, datum=None)[source]

Bases: horizon.tables.base.Row

UpdateRow.ajax = True
UpdateRow.get_data(request, image_id)[source]
UpdateRow.load_cells(image=None)[source]
openstack_dashboard.dashboards.project.images_and_snapshots.images.tables.filter_tenants()[source]
openstack_dashboard.dashboards.project.images_and_snapshots.images.tables.get_format(image)[source]
openstack_dashboard.dashboards.project.images_and_snapshots.images.tables.get_image_categories(im, user_tenant_id)[source]
openstack_dashboard.dashboards.project.images_and_snapshots.images.tables.get_image_type(image)[source]