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 = {'admin_state_up': {<django.utils.functional.__proxy__ object at 0x7f103375a390>: True, <django.utils.functional.__proxy__ object at 0x7f103375a3d0>: False}, 'shared': {<django.utils.functional.__proxy__ object at 0x7f103375a290>: True, <django.utils.functional.__proxy__ object at 0x7f103375a2d0>: False}, 'router:external': {<django.utils.functional.__proxy__ object at 0x7f103375a310>: True, <django.utils.functional.__proxy__ object at 0x7f103375a350>: False}}
-
get_data()[source]
-
page_title = <django.utils.functional.__proxy__ object at 0x7f103376eb90>
-
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 0x7f103375a410>
-
page_title = <django.utils.functional.__proxy__ object at 0x7f103375a4d0>
-
submit_label = <django.utils.functional.__proxy__ object at 0x7f103375a450>
-
submit_url = 'horizon:project:networks:update'
-
success_url = <django.utils.functional.__proxy__ object at 0x7f103375a490>
-
template_name = 'project/networks/update.html'