The openstack_dashboard.dashboards.project.networks.views Module
Views for managing Neutron Networks.
-
class openstack_dashboard.dashboards.project.networks.views.CreateView[source]
Bases: openstack_dashboard.dashboards.project.networks.views.DefaultSubnetWorkflowMixin, horizon.workflows.views.WorkflowView
-
get_initial()[source]
-
workflow_class
alias of CreateNetwork
-
class openstack_dashboard.dashboards.project.networks.views.DefaultSubnetWorkflowMixin[source]
Bases: object
-
get_default_dns_servers()[source]
-
class openstack_dashboard.dashboards.project.networks.views.DetailView(*args, **kwargs)[source]
Bases: horizon.tabs.views.TabbedTableView
-
get_context_data(**kwargs)[source]
-
static get_redirect_url()[source]
-
page_title = '{{ network.name | default:network.id }}'
-
tab_group_class
alias of NetworkDetailsTabs
-
template_name = 'horizon/common/_detail.html'
-
class openstack_dashboard.dashboards.project.networks.views.IndexView(*args, **kwargs)[source]
Bases: horizon.tables.views.DataTableView
-
FILTERS_MAPPING = {'router:external': {<django.utils.functional.__proxy__ object at 0x7f48500170d0>: True, <django.utils.functional.__proxy__ object at 0x7f4850017110>: False}, 'shared': {<django.utils.functional.__proxy__ object at 0x7f4850017250>: True, <django.utils.functional.__proxy__ object at 0x7f48500173d0>: False}, 'admin_state_up': {<django.utils.functional.__proxy__ object at 0x7f4850017150>: True, <django.utils.functional.__proxy__ object at 0x7f4850188bd0>: False}}
-
get_data()[source]
-
page_title = <django.utils.functional.__proxy__ object at 0x7f4850349e10>
-
table_class
alias of NetworksTable
-
template_name = 'project/networks/index.html'
-
class openstack_dashboard.dashboards.project.networks.views.UpdateView(*args, **kwargs)[source]
Bases: horizon.forms.views.ModalFormView
-
context_object_name = 'network'
-
form_class
alias of UpdateNetwork
-
form_id = 'update_network_form'
-
get_context_data(**kwargs)[source]
-
get_initial()[source]
-
modal_header = <django.utils.functional.__proxy__ object at 0x7f4850188ed0>
-
page_title = <django.utils.functional.__proxy__ object at 0x7f4850188c90>
-
submit_label = <django.utils.functional.__proxy__ object at 0x7f4850188e10>
-
submit_url = 'horizon:project:networks:update'
-
success_url = <django.utils.functional.__proxy__ object at 0x7f4850188e90>
-
template_name = 'project/networks/update.html'