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
This commit is contained in:
Beth Elwell 2017-07-27 13:46:46 +01:00 committed by Rob Cresswell
parent 08089b01c4
commit c415181b6c
3 changed files with 35 additions and 13 deletions

View File

@ -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')

View File

@ -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

View File

@ -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
<https://blueprints.launchpad.net/horizon/+spec/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.