The horizon.dashboards.nova.access_and_security.security_groups.tables ModuleΒΆ

class horizon.dashboards.nova.access_and_security.security_groups.tables.CreateGroup(verbose_name=None, allowed_data_types=[], url=None, attrs=None)[source]

Bases: horizon.tables.actions.LinkAction

CreateGroup.classes = ('ajax-modal', 'btn-create')
CreateGroup.name = 'create'
CreateGroup.url = 'horizon:nova:access_and_security:security_groups:create'
CreateGroup.verbose_name = <django.utils.functional.__proxy__ object at 0xab85d0c>
class horizon.dashboards.nova.access_and_security.security_groups.tables.DeleteGroup[source]

Bases: horizon.tables.actions.DeleteAction

DeleteGroup.allowed(request, security_group=None)[source]
DeleteGroup.data_type_plural = <django.utils.functional.__proxy__ object at 0xa8560ec>
DeleteGroup.data_type_singular = <django.utils.functional.__proxy__ object at 0xa85610c>
DeleteGroup.delete(request, obj_id)[source]
class horizon.dashboards.nova.access_and_security.security_groups.tables.DeleteRule[source]

Bases: horizon.tables.actions.DeleteAction

DeleteRule.data_type_plural = <django.utils.functional.__proxy__ object at 0xab7ed8c>
DeleteRule.data_type_singular = <django.utils.functional.__proxy__ object at 0xa9f850c>
DeleteRule.delete(request, obj_id)[source]
DeleteRule.get_success_url(request)[source]
class horizon.dashboards.nova.access_and_security.security_groups.tables.EditRules(verbose_name=None, allowed_data_types=[], url=None, attrs=None)[source]

Bases: horizon.tables.actions.LinkAction

EditRules.classes = ('ajax-modal', 'btn-edit')
EditRules.name = 'edit_rules'
EditRules.url = 'horizon:nova:access_and_security:security_groups:edit_rules'
EditRules.verbose_name = <django.utils.functional.__proxy__ object at 0xa14dacc>
class horizon.dashboards.nova.access_and_security.security_groups.tables.RulesTable(request, data=None, needs_form_wrapper=None, **kwargs)[source]

Bases: horizon.tables.base.DataTable

class RulesTable.Meta[source]
RulesTable.Meta.name = 'rules'
RulesTable.Meta.row_actions = (<class 'horizon.dashboards.nova.access_and_security.security_groups.tables.DeleteRule'>,)
RulesTable.Meta.table_actions = (<class 'horizon.dashboards.nova.access_and_security.security_groups.tables.DeleteRule'>,)
RulesTable.Meta.verbose_name = <django.utils.functional.__proxy__ object at 0xa8c2f4c>
RulesTable.base_actions = {'delete': <DeleteRule: delete>}
RulesTable.base_columns = {'protocol': <Column: protocol>, 'from_port': <Column: from_port>, 'to_port': <Column: to_port>, 'source': <Column: source>}
RulesTable.get_object_display(rule)[source]
RulesTable.sanitize_id(obj_id)[source]
class horizon.dashboards.nova.access_and_security.security_groups.tables.SecurityGroupsTable(request, data=None, needs_form_wrapper=None, **kwargs)[source]

Bases: horizon.tables.base.DataTable

class SecurityGroupsTable.Meta[source]
SecurityGroupsTable.Meta.name = 'security_groups'
SecurityGroupsTable.Meta.row_actions = (<class 'horizon.dashboards.nova.access_and_security.security_groups.tables.EditRules'>, <class 'horizon.dashboards.nova.access_and_security.security_groups.tables.DeleteGroup'>)
SecurityGroupsTable.Meta.table_actions = (<class 'horizon.dashboards.nova.access_and_security.security_groups.tables.CreateGroup'>, <class 'horizon.dashboards.nova.access_and_security.security_groups.tables.DeleteGroup'>)
SecurityGroupsTable.Meta.verbose_name = <django.utils.functional.__proxy__ object at 0xa8c8bac>
SecurityGroupsTable.base_actions = {'create': <CreateGroup: create>, 'delete': <DeleteGroup: delete>, 'edit_rules': <EditRules: edit_rules>}
SecurityGroupsTable.base_columns = {'name': <Column: name>, 'description': <Column: description>}
SecurityGroupsTable.sanitize_id(obj_id)[source]
horizon.dashboards.nova.access_and_security.security_groups.tables.get_source(rule)[source]

Previous topic

The horizon.dashboards.nova.access_and_security.security_groups Module

Next topic

The horizon.dashboards.nova.access_and_security.security_groups.tests Module

This Page