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 0x7f9f40836e90>
-
page_title = <django.utils.functional.__proxy__ object at 0x7f9f3fa156d0>
-
submit_label = <django.utils.functional.__proxy__ object at 0x7f9f3fa15bd0>
-
submit_url = <django.utils.functional.__proxy__ object at 0x7f9f3fa15310>
-
success_url = <django.utils.functional.__proxy__ object at 0x7f9f3f4b7950>
-
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 0x7f9f40836a90>
-
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 0x7f9f4179abd0>: False, <django.utils.functional.__proxy__ object at 0x7f9f40836450>: True}}
-
get_data()[source]
-
page_title = <django.utils.functional.__proxy__ object at 0x7f9f408366d0>
-
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 0x7f9f3fa15290>
-
page_title = <django.utils.functional.__proxy__ object at 0x7f9f3fa15390>
-
submit_label = <django.utils.functional.__proxy__ object at 0x7f9f3fa150d0>
-
submit_url = 'horizon:project:routers:update'
-
success_url = <django.utils.functional.__proxy__ object at 0x7f9f3fa15550>
-
template_name = 'project/routers/update.html'