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 0x7f4850606dd0>
-
page_title = <django.utils.functional.__proxy__ object at 0x7f48506064d0>
-
submit_label = <django.utils.functional.__proxy__ object at 0x7f4852d02bd0>
-
submit_url = <django.utils.functional.__proxy__ object at 0x7f485195d9d0>
-
success_url = <django.utils.functional.__proxy__ object at 0x7f4850606ad0>
-
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 0x7f4850606a90>
-
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 0x7f4850606a50>: True, <django.utils.functional.__proxy__ object at 0x7f4850606bd0>: False}}
-
get_data()[source]
-
page_title = <django.utils.functional.__proxy__ object at 0x7f4850606990>
-
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 0x7f485195de90>
-
page_title = <django.utils.functional.__proxy__ object at 0x7f485195dc50>
-
submit_label = <django.utils.functional.__proxy__ object at 0x7f485195d150>
-
submit_url = 'horizon:project:routers:update'
-
success_url = <django.utils.functional.__proxy__ object at 0x7f485195dc10>
-
template_name = 'project/routers/update.html'