horizon/openstack_dashboard/test/test_plugins/panel_config/_20_admin_remove_panel.py
lin-hua-cheng f169ee58ab Plugin-based panel configuration
This is an extension to the plugin-based dashboard configuration.
It adds support processing panel configuration configuration file
in the openstack_dashboard/enabled/ directory.

Panels can be added, removed to/from the panel group of a dashboard.
It also provide the ability to update the default panel of the
dashboard.

Change-Id: I2d7adfb8045c244ec063a6741e3b9fe21c188525
Implements: blueprint plugin-panel-config
2014-03-03 12:21:42 -08:00

10 lines
352 B
Python

# The name of the panel to be added to HORIZON_CONFIG. Required.
PANEL = 'info'
# 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'
# If set to True, the panel will be removed from PANEL_DASHBOARD/PANEL_GROUP.
REMOVE_PANEL = True