The openstack_dashboard.dashboards.project.routers.views Module
Views for managing Neutron Routers.
-
class openstack_dashboard.dashboards.project.routers.views.CreateView(*args, **kwargs)[source]
Bases: horizon.forms.views.ModalFormView
-
form_class
alias of CreateForm
-
form_id = 'create_router_form'
-
modal_header = <django.utils.functional.__proxy__ object at 0x7f1033c7b350>
-
page_title = <django.utils.functional.__proxy__ object at 0x7f1033c7be90>
-
submit_label = <django.utils.functional.__proxy__ object at 0x7f1033c7b8d0>
-
submit_url = <django.utils.functional.__proxy__ object at 0x7f1033c7b310>
-
success_url = <django.utils.functional.__proxy__ object at 0x7f1033c7b790>
-
template_name = 'project/routers/create.html'
-
class openstack_dashboard.dashboards.project.routers.views.DetailView(*args, **kwargs)[source]
Bases: horizon.tabs.views.TabbedTableView
-
failure_url = <django.utils.functional.__proxy__ object at 0x7f1033c7bb50>
-
get_context_data(**kwargs)[source]
-
get_tabs(request, *args, **kwargs)[source]
-
network_url = 'horizon:project:networks:detail'
-
page_title = '{{ router.name|default:router.id }}'
-
tab_group_class
alias of RouterDetailTabs
-
template_name = 'horizon/common/_detail.html'
-
class openstack_dashboard.dashboards.project.routers.views.IndexView(*args, **kwargs)[source]
Bases: horizon.tables.views.DataTableView
-
FILTERS_MAPPING = {'admin_state_up': {<django.utils.functional.__proxy__ object at 0x7f1033c7bdd0>: True, <django.utils.functional.__proxy__ object at 0x7f1033c7b210>: False}}
-
get_data()[source]
-
page_title = <django.utils.functional.__proxy__ object at 0x7f1033c7b9d0>
-
table_class
alias of RoutersTable
-
template_name = 'project/routers/index.html'
-
class openstack_dashboard.dashboards.project.routers.views.UpdateView(*args, **kwargs)[source]
Bases: horizon.forms.views.ModalFormView
-
form_class
alias of UpdateForm
-
form_id = 'update_router_form'
-
get_context_data(**kwargs)[source]
-
get_initial()[source]
-
modal_header = <django.utils.functional.__proxy__ object at 0x7f1034f861d0>
-
page_title = <django.utils.functional.__proxy__ object at 0x7f1034f86510>
-
submit_label = <django.utils.functional.__proxy__ object at 0x7f1034f86ad0>
-
submit_url = 'horizon:project:routers:update'
-
success_url = <django.utils.functional.__proxy__ object at 0x7f1034f86e50>
-
template_name = 'project/routers/update.html'