From c415181b6c4b1fb906d654976080ca36795a5284 Mon Sep 17 00:00:00 2001 From: Beth Elwell Date: Thu, 27 Jul 2017 13:46:46 +0100 Subject: [PATCH] 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 --- .../_1500_project_network_qos_panel.py | 10 -------- .../_1510_project_network_qos_panel.py | 25 +++++++++++++++++++ ...ndwidth-limiting-qos-df3d667b1a644e30.yaml | 13 +++++++--- 3 files changed, 35 insertions(+), 13 deletions(-) delete mode 100644 openstack_dashboard/enabled/_1500_project_network_qos_panel.py create mode 100644 openstack_dashboard/enabled/_1510_project_network_qos_panel.py 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 f9d9122c06..0000000000 --- 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 0000000000..dbde089018 --- /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 diff --git a/releasenotes/notes/bp-network-bandwidth-limiting-qos-df3d667b1a644e30.yaml b/releasenotes/notes/bp-network-bandwidth-limiting-qos-df3d667b1a644e30.yaml index f59af4b34c..3a7f270604 100644 --- a/releasenotes/notes/bp-network-bandwidth-limiting-qos-df3d667b1a644e30.yaml +++ b/releasenotes/notes/bp-network-bandwidth-limiting-qos-df3d667b1a644e30.yaml @@ -1,5 +1,12 @@ --- features: - - The Network QoS panel allows users to view a list of created network - policies. This panel displays a table view of the name, id, description - and shared status of each policy. + - > + [`blueprint network-bandwidth-limiting-qos + `_] + Add partial support for Network QoS policies. Since the panel is incomplete + in Pike, it is disabled by default. It can be enabled in the file + `openstack_dashboard/enabled/_1510_project_network_qos_panel.py`. When + enabled, this panel allows users to view a list of created network + policies. This panel displays a table view of the name, description + and shared status of each policy. The details page for each policy also + shows information on the associated rules.