summaryrefslogtreecommitdiff
path: root/openstack_dashboard/enabled
diff options
context:
space:
mode:
authorBeth Elwell <belwell@redhat.com>2017-07-27 13:46:46 +0100
committerRob Cresswell <robert.cresswell@outlook.com>2017-07-27 16:01:55 +0100
commitc415181b6c4b1fb906d654976080ca36795a5284 (patch)
tree9967f84652dd9e433cf3760f13c609ffcdbff814 /openstack_dashboard/enabled
parent08089b01c407216e6bcf1d07befccb9b4e2ddba7 (diff)
downloadhorizon-c415181b6c4b1fb906d654976080ca36795a5284.tar.gz
QoS panel: default to disabled
The QoS panel is not complete and so is being disabled by default. The merged part is working though, and users can view and delete trunks. The panel can be re-enabled by deleting the DISABLED flag from the file enabling the panel: openstack_dashboard/enabled/_1510_project_network_qos_panel.py Implements: blueprint network-bandwidth-limiting-qos Change-Id: I5870885487ceeb2a73752a08945ca7de6ced423b
Diffstat (limited to 'openstack_dashboard/enabled')
-rw-r--r--openstack_dashboard/enabled/_1500_project_network_qos_panel.py10
-rw-r--r--openstack_dashboard/enabled/_1510_project_network_qos_panel.py25
2 files changed, 25 insertions, 10 deletions
diff --git a/openstack_dashboard/enabled/_1500_project_network_qos_panel.py b/openstack_dashboard/enabled/_1500_project_network_qos_panel.py
deleted file mode 100644
index f9d9122c0..000000000
--- a/openstack_dashboard/enabled/_1500_project_network_qos_panel.py
+++ /dev/null
@@ -1,10 +0,0 @@
-# The slug of the panel to be added to HORIZON_CONFIG. Required.
-PANEL = 'network_qos'
-# The slug of the dashboard the PANEL associated with. Required.
-PANEL_DASHBOARD = 'project'
-# The slug of the panel group the PANEL is associated with.
-PANEL_GROUP = 'network'
-
-# Python panel class of the PANEL to be added.
-ADD_PANEL = ('openstack_dashboard.dashboards.project.network_qos'
- '.panel.NetworkQoS')
diff --git a/openstack_dashboard/enabled/_1510_project_network_qos_panel.py b/openstack_dashboard/enabled/_1510_project_network_qos_panel.py
new file mode 100644
index 000000000..dbde08901
--- /dev/null
+++ b/openstack_dashboard/enabled/_1510_project_network_qos_panel.py
@@ -0,0 +1,25 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
+# The slug of the panel to be added to HORIZON_CONFIG. Required.
+PANEL = 'network_qos'
+# The slug of the dashboard the PANEL associated with. Required.
+PANEL_DASHBOARD = 'project'
+# The slug of the panel group the PANEL is associated with.
+PANEL_GROUP = 'network'
+
+# Python panel class of the PANEL to be added.
+ADD_PANEL = ('openstack_dashboard.dashboards.project.network_qos'
+ '.panel.NetworkQoS')
+
+# Will default to disabled until the feature is completed.
+DISABLED = True