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 0x7fba5b4c7c10>
-
page_title = <django.utils.functional.__proxy__ object at 0x7fba5b4c7550>
-
submit_label = <django.utils.functional.__proxy__ object at 0x7fba5b4c7750>
-
submit_url = <django.utils.functional.__proxy__ object at 0x7fba5b4c7890>
-
success_url = <django.utils.functional.__proxy__ object at 0x7fba5b4c7810>
-
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 0x7fba5b4c7350>
-
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
-
get_data()[source]
-
page_title = <django.utils.functional.__proxy__ object at 0x7fba5b4c7c90>
-
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 0x7fba5b4c70d0>
-
page_title = <django.utils.functional.__proxy__ object at 0x7fba5b4c7450>
-
submit_label = <django.utils.functional.__proxy__ object at 0x7fba5b4c79d0>
-
submit_url = 'horizon:project:routers:update'
-
success_url = <django.utils.functional.__proxy__ object at 0x7fba5b4c7a90>
-
template_name = 'project/routers/update.html'