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 = {'shared': {<django.utils.functional.__proxy__ object at 0x7f42440d5610>: True, <django.utils.functional.__proxy__ object at 0x7f42440d5650>: False}, 'router:external': {<django.utils.functional.__proxy__ object at 0x7f42440d5690>: True, <django.utils.functional.__proxy__ object at 0x7f42440d56d0>: False}, 'admin_state_up': {<django.utils.functional.__proxy__ object at 0x7f42440d5750>: False, <django.utils.functional.__proxy__ object at 0x7f42440d5710>: True}}
-
get_data()[source]
-
page_title = <django.utils.functional.__proxy__ object at 0x7f4244200dd0>
-
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 0x7f42440d5790>
-
page_title = <django.utils.functional.__proxy__ object at 0x7f42440d5850>
-
submit_label = <django.utils.functional.__proxy__ object at 0x7f42440d57d0>
-
submit_url = 'horizon:project:networks:update'
-
success_url = <django.utils.functional.__proxy__ object at 0x7f42440d5810>
-
template_name = 'project/networks/update.html'