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

class openstack_dashboard.dashboards.project.instances.tables.AssociateIP(verbose_name=None, allowed_data_types=[], url=None, attrs=None)[source]

Bases: horizon.tables.actions.LinkAction

AssociateIP.allowed(request, instance)[source]
AssociateIP.classes = ('ajax-modal', 'btn-associate')
AssociateIP.get_link_url(datum)[source]
AssociateIP.name = 'associate'
AssociateIP.url = 'horizon:project:access_and_security:floating_ips:associate'
AssociateIP.verbose_name = <django.utils.functional.__proxy__ object at 0x7a1b550>
class openstack_dashboard.dashboards.project.instances.tables.ConfirmResize(verbose_name=None, verbose_name_plural=None, single_func=None, multiple_func=None, handle_func=None, handles_multiple=False, attrs=None, requires_input=True, allowed_data_types=[], datum=None)[source]

Bases: horizon.tables.actions.Action

ConfirmResize.allowed(request, instance)[source]
ConfirmResize.classes = ('btn-confirm', 'btn-action-required')
ConfirmResize.name = 'confirm'
ConfirmResize.single(table, request, instance)[source]
ConfirmResize.verbose_name = <django.utils.functional.__proxy__ object at 0x7a1b210>
class openstack_dashboard.dashboards.project.instances.tables.ConsoleLink(verbose_name=None, allowed_data_types=[], url=None, attrs=None)[source]

Bases: horizon.tables.actions.LinkAction

ConsoleLink.allowed(request, instance=None)[source]
ConsoleLink.classes = ('btn-console',)
ConsoleLink.get_link_url(datum)[source]
ConsoleLink.name = 'console'
ConsoleLink.url = 'horizon:project:instances:detail'
ConsoleLink.verbose_name = <django.utils.functional.__proxy__ object at 0x7a1b710>
class openstack_dashboard.dashboards.project.instances.tables.CreateSnapshot(verbose_name=None, allowed_data_types=[], url=None, attrs=None)[source]

Bases: horizon.tables.actions.LinkAction

CreateSnapshot.allowed(request, instance=None)[source]
CreateSnapshot.classes = ('ajax-modal', 'btn-camera')
CreateSnapshot.name = 'snapshot'
CreateSnapshot.url = 'horizon:project:images_and_snapshots:snapshots:create'
CreateSnapshot.verbose_name = <django.utils.functional.__proxy__ object at 0x7a1b990>
class openstack_dashboard.dashboards.project.instances.tables.EditInstance(verbose_name=None, allowed_data_types=[], url=None, attrs=None)[source]

Bases: horizon.tables.actions.LinkAction

EditInstance.allowed(request, instance)[source]
EditInstance.classes = ('ajax-modal', 'btn-edit')
EditInstance.get_link_url(project)[source]
EditInstance.name = 'edit'
EditInstance.url = 'horizon:project:instances:update'
EditInstance.verbose_name = <django.utils.functional.__proxy__ object at 0x7a1bc10>
class openstack_dashboard.dashboards.project.instances.tables.EditInstanceSecurityGroups(verbose_name=None, allowed_data_types=[], url=None, attrs=None)[source]

Bases: openstack_dashboard.dashboards.project.instances.tables.EditInstance

EditInstanceSecurityGroups.allowed(request, instance=None)[source]
EditInstanceSecurityGroups.get_link_url(project)[source]
EditInstanceSecurityGroups.name = 'edit_secgroups'
EditInstanceSecurityGroups.verbose_name = <django.utils.functional.__proxy__ object at 0x7a1bd10>
class openstack_dashboard.dashboards.project.instances.tables.InstancesTable(request, data=None, needs_form_wrapper=None, **kwargs)[source]

Bases: horizon.tables.base.DataTable

class InstancesTable.Meta[source]
InstancesTable.Meta.name = 'instances'
InstancesTable.Meta.row_actions = (<class 'openstack_dashboard.dashboards.project.instances.tables.ConfirmResize'>, <class 'openstack_dashboard.dashboards.project.instances.tables.RevertResize'>, <class 'openstack_dashboard.dashboards.project.instances.tables.CreateSnapshot'>, <class 'openstack_dashboard.dashboards.project.instances.tables.SimpleAssociateIP'>, <class 'openstack_dashboard.dashboards.project.instances.tables.AssociateIP'>, <class 'openstack_dashboard.dashboards.project.instances.tables.SimpleDisassociateIP'>, <class 'openstack_dashboard.dashboards.project.instances.tables.EditInstance'>, <class 'openstack_dashboard.dashboards.project.instances.tables.EditInstanceSecurityGroups'>, <class 'openstack_dashboard.dashboards.project.instances.tables.ConsoleLink'>, <class 'openstack_dashboard.dashboards.project.instances.tables.LogLink'>, <class 'openstack_dashboard.dashboards.project.instances.tables.TogglePause'>, <class 'openstack_dashboard.dashboards.project.instances.tables.ToggleSuspend'>, <class 'openstack_dashboard.dashboards.project.instances.tables.SoftRebootInstance'>, <class 'openstack_dashboard.dashboards.project.instances.tables.RebootInstance'>, <class 'openstack_dashboard.dashboards.project.instances.tables.TerminateInstance'>)
InstancesTable.Meta.row_class

alias of UpdateRow

InstancesTable.Meta.status_columns = ['status', 'task']
InstancesTable.Meta.table_actions = (<class 'openstack_dashboard.dashboards.project.instances.tables.LaunchLink'>, <class 'openstack_dashboard.dashboards.project.instances.tables.TerminateInstance'>)
InstancesTable.Meta.verbose_name = <django.utils.functional.__proxy__ object at 0x7a14ad0>
InstancesTable.STATUS_CHOICES = (('active', True), ('shutoff', True), ('suspended', True), ('paused', True), ('error', False))
InstancesTable.TASK_STATUS_CHOICES = ((None, True), ('none', True))
InstancesTable.base_actions = {'associate': <AssociateIP: associate>, 'associate-simple': <SimpleAssociateIP: associate-simple>, 'confirm': <ConfirmResize: confirm>, 'console': <ConsoleLink: console>, 'disassociate': <SimpleDisassociateIP: disassociate>, 'edit': <EditInstance: edit>, 'edit_secgroups': <EditInstanceSecurityGroups: edit_secgroups>, 'launch': <LaunchLink: launch>, 'log': <LogLink: log>, 'pause': <TogglePause: pause>, 'reboot': <RebootInstance: reboot>, 'revert': <RevertResize: revert>, 'snapshot': <CreateSnapshot: snapshot>, 'soft_reboot': <SoftRebootInstance: soft_reboot>, 'suspend': <ToggleSuspend: suspend>, 'terminate': <TerminateInstance: terminate>}
InstancesTable.base_columns = {'name': <Column: name>, 'ip': <Column: ip>, 'size': <Column: size>, 'keypair': <Column: keypair>, 'status': <Column: status>, 'task': <Column: task>, 'state': <Column: state>}
class openstack_dashboard.dashboards.project.instances.tables.LaunchLink(verbose_name=None, allowed_data_types=[], url=None, attrs=None)[source]

Bases: horizon.tables.actions.LinkAction

LaunchLink.allowed(request, datum)[source]
LaunchLink.classes = ('btn-launch', 'ajax-modal')
LaunchLink.name = 'launch'
LaunchLink.url = 'horizon:project:instances:launch'
LaunchLink.verbose_name = <django.utils.functional.__proxy__ object at 0x7a1bf10>
class openstack_dashboard.dashboards.project.instances.tables.LogLink(verbose_name=None, allowed_data_types=[], url=None, attrs=None)[source]

Bases: horizon.tables.actions.LinkAction

LogLink.allowed(request, instance=None)[source]
LogLink.classes = ('btn-log',)
LogLink.get_link_url(datum)[source]
LogLink.name = 'log'
LogLink.url = 'horizon:project:instances:detail'
LogLink.verbose_name = <django.utils.functional.__proxy__ object at 0x7a1b590>
class openstack_dashboard.dashboards.project.instances.tables.RebootInstance[source]

Bases: horizon.tables.actions.BatchAction

RebootInstance.action(request, obj_id)[source]
RebootInstance.action_past = <django.utils.functional.__proxy__ object at 0x7a26610>
RebootInstance.action_present = <django.utils.functional.__proxy__ object at 0x7a26dd0>
RebootInstance.allowed(request, instance=None)[source]
RebootInstance.classes = ('btn-danger', 'btn-reboot')
RebootInstance.data_type_plural = <django.utils.functional.__proxy__ object at 0x7a26d50>
RebootInstance.data_type_singular = <django.utils.functional.__proxy__ object at 0x7a26590>
RebootInstance.name = 'reboot'
class openstack_dashboard.dashboards.project.instances.tables.RevertResize(verbose_name=None, verbose_name_plural=None, single_func=None, multiple_func=None, handle_func=None, handles_multiple=False, attrs=None, requires_input=True, allowed_data_types=[], datum=None)[source]

Bases: horizon.tables.actions.Action

RevertResize.allowed(request, instance)[source]
RevertResize.classes = ('btn-revert', 'btn-action-required')
RevertResize.name = 'revert'
RevertResize.single(table, request, instance)[source]
RevertResize.verbose_name = <django.utils.functional.__proxy__ object at 0x7a1b2d0>
class openstack_dashboard.dashboards.project.instances.tables.SimpleAssociateIP(verbose_name=None, verbose_name_plural=None, single_func=None, multiple_func=None, handle_func=None, handles_multiple=False, attrs=None, requires_input=True, allowed_data_types=[], datum=None)[source]

Bases: horizon.tables.actions.Action

SimpleAssociateIP.allowed(request, instance)[source]
SimpleAssociateIP.classes = ('btn-associate-simple',)
SimpleAssociateIP.name = 'associate-simple'
SimpleAssociateIP.single(table, request, instance)[source]
SimpleAssociateIP.verbose_name = <django.utils.functional.__proxy__ object at 0x7a1b490>
class openstack_dashboard.dashboards.project.instances.tables.SimpleDisassociateIP(verbose_name=None, verbose_name_plural=None, single_func=None, multiple_func=None, handle_func=None, handles_multiple=False, attrs=None, requires_input=True, allowed_data_types=[], datum=None)[source]

Bases: horizon.tables.actions.Action

SimpleDisassociateIP.allowed(request, instance)[source]
SimpleDisassociateIP.classes = ('btn-danger', 'btn-disassociate')
SimpleDisassociateIP.name = 'disassociate'
SimpleDisassociateIP.single(table, request, instance_id)[source]
SimpleDisassociateIP.verbose_name = <django.utils.functional.__proxy__ object at 0x7a1b3d0>
class openstack_dashboard.dashboards.project.instances.tables.SoftRebootInstance[source]

Bases: openstack_dashboard.dashboards.project.instances.tables.RebootInstance

SoftRebootInstance.action(request, obj_id)[source]
SoftRebootInstance.action_past = <django.utils.functional.__proxy__ object at 0x7a264d0>
SoftRebootInstance.action_present = <django.utils.functional.__proxy__ object at 0x7a267d0>
SoftRebootInstance.name = 'soft_reboot'
class openstack_dashboard.dashboards.project.instances.tables.TerminateInstance[source]

Bases: horizon.tables.actions.BatchAction

TerminateInstance.action(request, obj_id)[source]
TerminateInstance.action_past = <django.utils.functional.__proxy__ object at 0x7a26750>
TerminateInstance.action_present = <django.utils.functional.__proxy__ object at 0x7a26e10>
TerminateInstance.allowed(request, instance=None)[source]
TerminateInstance.classes = ('btn-danger', 'btn-terminate')
TerminateInstance.data_type_plural = <django.utils.functional.__proxy__ object at 0x7a26d90>
TerminateInstance.data_type_singular = <django.utils.functional.__proxy__ object at 0x7a261d0>
TerminateInstance.name = 'terminate'
class openstack_dashboard.dashboards.project.instances.tables.TogglePause[source]

Bases: horizon.tables.actions.BatchAction

TogglePause.action(request, obj_id)[source]
TogglePause.action_past = (<django.utils.functional.__proxy__ object at 0x7a26210>, <django.utils.functional.__proxy__ object at 0x7a26090>)
TogglePause.action_present = (<django.utils.functional.__proxy__ object at 0x7a26150>, <django.utils.functional.__proxy__ object at 0x7a26290>)
TogglePause.allowed(request, instance=None)[source]
TogglePause.classes = ('btn-pause',)
TogglePause.data_type_plural = <django.utils.functional.__proxy__ object at 0x7a26d10>
TogglePause.data_type_singular = <django.utils.functional.__proxy__ object at 0x7a26b90>
TogglePause.name = 'pause'
class openstack_dashboard.dashboards.project.instances.tables.ToggleSuspend[source]

Bases: horizon.tables.actions.BatchAction

ToggleSuspend.action(request, obj_id)[source]
ToggleSuspend.action_past = (<django.utils.functional.__proxy__ object at 0x7a1b750>, <django.utils.functional.__proxy__ object at 0x7a1b290>)
ToggleSuspend.action_present = (<django.utils.functional.__proxy__ object at 0x7a1bb10>, <django.utils.functional.__proxy__ object at 0x7a1b4d0>)
ToggleSuspend.allowed(request, instance=None)[source]
ToggleSuspend.classes = ('btn-suspend',)
ToggleSuspend.data_type_plural = <django.utils.functional.__proxy__ object at 0x7a1bf50>
ToggleSuspend.data_type_singular = <django.utils.functional.__proxy__ object at 0x7a1bfd0>
ToggleSuspend.name = 'suspend'
class openstack_dashboard.dashboards.project.instances.tables.UpdateRow(table, datum=None)[source]

Bases: horizon.tables.base.Row

UpdateRow.ajax = True
UpdateRow.get_data(request, instance_id)[source]
openstack_dashboard.dashboards.project.instances.tables.get_ips(instance)[source]
openstack_dashboard.dashboards.project.instances.tables.get_keyname(instance)[source]
openstack_dashboard.dashboards.project.instances.tables.get_power_state(instance)[source]
openstack_dashboard.dashboards.project.instances.tables.get_size(instance)[source]
openstack_dashboard.dashboards.project.instances.tables.is_deleting(instance)[source]

Previous topic

The openstack_dashboard.dashboards.project.instances.tests Module

Next topic

The openstack_dashboard.dashboards.project.instances.workflows.create_instance Module

This Page