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

class openstack_dashboard.dashboards.project.routers.tables.ClearGateway[source]

Bases: horizon.tables.actions.BatchAction

ClearGateway.action(request, obj_id)[source]
ClearGateway.action_past = <django.utils.functional.__proxy__ object at 0x7cd7a90>
ClearGateway.action_present = <django.utils.functional.__proxy__ object at 0x7cd7a10>
ClearGateway.allowed(request, datum=None)[source]
ClearGateway.classes = ('btn-danger', 'btn-cleargateway')
ClearGateway.data_type_plural = <django.utils.functional.__proxy__ object at 0x7cd7b90>
ClearGateway.data_type_singular = <django.utils.functional.__proxy__ object at 0x7cd7b10>
ClearGateway.get_success_url(request)[source]
ClearGateway.name = 'cleargateway'
ClearGateway.redirect_url = 'horizon:project:routers:index'
class openstack_dashboard.dashboards.project.routers.tables.CreateRouter(verbose_name=None, allowed_data_types=[], url=None, attrs=None)[source]

Bases: horizon.tables.actions.LinkAction

CreateRouter.classes = ('ajax-modal', 'btn-create')
CreateRouter.name = 'create'
CreateRouter.url = 'horizon:project:routers:create'
CreateRouter.verbose_name = <django.utils.functional.__proxy__ object at 0x7cd7850>
class openstack_dashboard.dashboards.project.routers.tables.DeleteRouter[source]

Bases: horizon.tables.actions.DeleteAction

DeleteRouter.allowed(request, router=None)[source]
DeleteRouter.data_type_plural = <django.utils.functional.__proxy__ object at 0x7cd7750>
DeleteRouter.data_type_singular = <django.utils.functional.__proxy__ object at 0x7cd7710>
DeleteRouter.delete(request, obj_id)[source]
DeleteRouter.redirect_url = 'horizon:project:routers:index'
class openstack_dashboard.dashboards.project.routers.tables.RoutersTable(request, data=None, needs_form_wrapper=None, **kwargs)[source]

Bases: horizon.tables.base.DataTable

class RoutersTable.Meta[source]
RoutersTable.Meta.name = 'Routers'
RoutersTable.Meta.row_actions = (<class 'openstack_dashboard.dashboards.project.routers.tables.SetGateway'>, <class 'openstack_dashboard.dashboards.project.routers.tables.ClearGateway'>, <class 'openstack_dashboard.dashboards.project.routers.tables.DeleteRouter'>)
RoutersTable.Meta.row_class

alias of UpdateRow

RoutersTable.Meta.status_columns = ['status']
RoutersTable.Meta.table_actions = (<class 'openstack_dashboard.dashboards.project.routers.tables.CreateRouter'>, <class 'openstack_dashboard.dashboards.project.routers.tables.DeleteRouter'>)
RoutersTable.Meta.verbose_name = <django.utils.functional.__proxy__ object at 0x7cd7f90>
RoutersTable.base_actions = {'cleargateway': <ClearGateway: cleargateway>, 'create': <CreateRouter: create>, 'delete': <DeleteRouter: delete>, 'setgateway': <SetGateway: setgateway>}
RoutersTable.base_columns = {'name': <Column: name>, 'status': <Column: status>, 'ext_net': <Column: ext_net>}
RoutersTable.get_object_display(obj)[source]
class openstack_dashboard.dashboards.project.routers.tables.SetGateway(verbose_name=None, allowed_data_types=[], url=None, attrs=None)[source]

Bases: horizon.tables.actions.LinkAction

SetGateway.allowed(request, datum=None)[source]
SetGateway.classes = ('ajax-modal', 'btn-camera')
SetGateway.name = 'setgateway'
SetGateway.url = 'horizon:project:routers:setgateway'
SetGateway.verbose_name = <django.utils.functional.__proxy__ object at 0x7cd7910>
class openstack_dashboard.dashboards.project.routers.tables.UpdateRow(table, datum=None)[source]

Bases: horizon.tables.base.Row

UpdateRow.ajax = True
UpdateRow.get_data(request, router_id)[source]
openstack_dashboard.dashboards.project.routers.tables.get_external_network(router)[source]

Previous topic

The openstack_dashboard.dashboards.project.routers.tests Module

Next topic

The openstack_dashboard.dashboards.project.routers.ports Module

This Page