
This patch adds an empty Index view and basic test infrastructure, including a basic test that verifies the panel has been correctly registered with Horizon. Following this patch, it is possible to install and register the Ironic UI, and see the "Bare Metal Provisioning" panel under Horizon's Admin dashboard. Change-Id: I5efff7707fb44e6ba016d2aaaf3f46e1a9583084 Co-Authored-By: Rob Cresswell <robert.cresswell@outlook.com>
28 lines
1.1 KiB
Python
28 lines
1.1 KiB
Python
# Copyright (c) 2016 Hewlett Packard Enterprise Development Company LP
|
|
#
|
|
# 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 name of the panel to be added to HORIZON_CONFIG. Required.
|
|
PANEL = 'ironic'
|
|
# The name of the dashboard the PANEL associated with. Required.
|
|
PANEL_DASHBOARD = 'admin'
|
|
# The name of the panel group the PANEL is associated with.
|
|
PANEL_GROUP = 'admin'
|
|
# Python panel class of the PANEL to be added.
|
|
ADD_PANEL = 'ironic_ui.ironic.panel.Ironic'
|
|
# A list of applications to be prepended to INSTALLED_APPS
|
|
ADD_INSTALLED_APPS = ['ironic_ui', ]
|
|
# Automatically discover static resources in installed apps
|
|
AUTO_DISCOVER_STATIC_FILES = True
|