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 0x7faf863170d0>
-
page_title = <django.utils.functional.__proxy__ object at 0x7faf86317cd0>
-
submit_label = <django.utils.functional.__proxy__ object at 0x7faf86317690>
-
submit_url = <django.utils.functional.__proxy__ object at 0x7faf86317810>
-
success_url = <django.utils.functional.__proxy__ object at 0x7faf86317890>
-
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 0x7faf86317ad0>
-
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 0x7faf863178d0>
-
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 0x7faf86317ed0>
-
page_title = <django.utils.functional.__proxy__ object at 0x7faf87fb3990>
-
submit_label = <django.utils.functional.__proxy__ object at 0x7faf87fb3350>
-
submit_url = 'horizon:project:routers:update'
-
success_url = <django.utils.functional.__proxy__ object at 0x7faf87fb3ed0>
-
template_name = 'project/routers/update.html'