horizon/openstack_dashboard/dashboards/project/routers
Mike Hagedorn 5ba219acbf Neutron Quota Settings Flag Disables Neutron GUI
if OPENSTACK_NEUTRON_NETWORK["enable_quotas"] = False buttons will not appear
and exceptions are thrown.   This is because a dict is searched for a key
("available") which wont be there if its disabled.  This generates a
KeyError at runtime.

As currently written enable_quatas -> False essentially disables Neutron usage.
This is not a desirable outcome.

This patch shows Neutron related buttons and ignores the quota settings,
which seems more in line with the notion of disabling quotas.

Closes-Bug:#1482354
Change-Id: I9485ddeece74d87317c2587498f5f79d4ffdb66e
2015-09-24 20:50:50 +00:00
..
extensions Fix all the network/router/subnet/port display as name_or_id 2015-09-20 17:12:34 +08:00
ports Merge "Add Curvature topology" 2015-09-17 12:04:10 +00:00
templates/routers Add Curvature topology 2015-09-11 16:35:22 +01:00
__init__.py Support Quantum L3 function 2013-01-07 20:24:57 -08:00
forms.py Merge "improved the create router form" 2015-02-24 01:06:46 +00:00
panel.py Move Horizon to pure plugin loading only 2015-08-03 14:49:31 -06:00
tables.py Neutron Quota Settings Flag Disables Neutron GUI 2015-09-24 20:50:50 +00:00
tabs.py Add Extra Routes to Router Tabs View 2015-03-31 11:09:05 +02:00
tests.py Neutron Quota Settings Flag Disables Neutron GUI 2015-09-24 20:50:50 +00:00
urls.py Add Extra Routes to Router Tabs View 2015-03-31 11:09:05 +02:00
views.py Merge "Made router detail status and admin state translatable" 2015-09-09 14:55:22 +00:00