horizon/openstack_dashboard/dashboards/admin/routers
Akihiro Motoki 1100169130 Add a config option to disable Router panel
Neutron setup allows operators not to enable Router feautre
(by not using Router service plugin in neutron.conf) and
some Neutron plugin does not support Router feature.
According to bug 1350639 there is also a case where operators
want to disable Router panel from their policy.
It seems nice we have a option to control Router panel.

This commit add a new option 'enable_router' to OPENSTACK_NEUTRON_NETWORK.
The default is True since router feature is enabled in most deployments
and it is the current default behavior of Horizon.
If this option is False, Router panel will disappear.

blueprint hide-router-panel-by-config
Partial-Bug: #1292022
Closes-Bug: #1350639
Change-Id: If90517bd35c5b18173c54c14a1ba229f97ba4797
2014-08-30 05:12:15 +09:00
..
extensions Remove extraneous vim configuration comments 2014-05-06 15:30:10 +08:00
ports Remove extraneous vim configuration comments 2014-05-06 15:30:10 +08:00
templates/routers Add "Edit Router" to allow to change router type 2014-08-30 05:01:25 +09:00
__init__.py Support Quantum L3 function 2013-01-07 20:24:57 -08:00
forms.py Add "Edit Router" to allow to change router type 2014-08-30 05:01:25 +09:00
panel.py Add a config option to disable Router panel 2014-08-30 05:12:15 +09:00
tables.py Add "Edit Router" to allow to change router type 2014-08-30 05:01:25 +09:00
tabs.py Remove extraneous vim configuration comments 2014-05-06 15:30:10 +08:00
tests.py Add missing mock to test_set_external_network_empty 2014-08-29 17:33:19 +01:00
urls.py Add "Edit Router" to allow to change router type 2014-08-30 05:01:25 +09:00
views.py Add "Edit Router" to allow to change router type 2014-08-30 05:01:25 +09:00