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 0x3c47990>
class openstack_dashboard.dashboards.project.images_and_snapshots.images.tables.CreateVolumeFromImage(verbose_name=None, allowed_data_types=[], url=None, attrs=None)[source]

Bases: horizon.tables.actions.LinkAction

CreateVolumeFromImage.allowed(request, image=None)[source]
CreateVolumeFromImage.classes = ('ajax-modal', 'btn-camera')
CreateVolumeFromImage.get_link_url(datum)[source]
CreateVolumeFromImage.name = 'create_volume_from_image'
CreateVolumeFromImage.url = 'horizon:project:volumes:create'
CreateVolumeFromImage.verbose_name = <django.utils.functional.__proxy__ object at 0x3c47b30>
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 0x3c47870>
DeleteImage.data_type_singular = <django.utils.functional.__proxy__ object at 0x3c477f0>
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 0x3c47a90>
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.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.CreateVolumeFromImage'>, <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 0x3c2a370>
ImagesTable.STATUS_CHOICES = (('active', True), ('saving', None), ('queued', None), ('pending_delete', None), ('killed', False), ('deleted', False))
ImagesTable.base_actions = {'create': <CreateImage: create>, 'create_volume_from_image': <CreateVolumeFromImage: create_volume_from_image>, '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>, 'protected': <Column: protected>, '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.allowed(request, image=None)[source]
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 0x3c47730>
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_name(image)[source]
openstack_dashboard.dashboards.project.images_and_snapshots.images.tables.get_image_type(image)[source]

Previous topic

The openstack_dashboard.dashboards.project.images_and_snapshots.volume_snapshots.tabs Module

Next topic

The openstack_dashboard.dashboards.project.images_and_snapshots.images.views Module

This Page