/django-debug-toolbar-openstack-panel

A django-debug-toolbar panel for OpenStack Dashboard

Primary LanguagePythonMIT LicenseMIT

django-debug-toolbar-openstack-panel

A django-debug-toolbar panel for OpenStack Dashboard

Installation

pip install git+https://github.com/andriyko/django-debug-toolbar-openstack-panel.git

Setup

Add to settings.py:

INSTALLED_APPS = (
    ...
    'openstack_panel',
    ...
)
DEBUG_TOOLBAR_PANELS = (
    ...
    'openstack_panel.panels.openstack.OpenstackPanel',
    ...
)

An example of panel configuration:

DEBUG_TOOLBAR_OPENSTACK_PANEL = {
    'OPENSTACK_CLIENTS_LIST': ('ceilometerclient', 'cinderclient',
                               'glanceclient','heatclient',
                               'keystoneclient', 'neutronclient',
                               'novaclient', 'swiftclient', 'troveclient', ),
    'OPENSTACK_OTHERS_LIST': ('horizon', 'openstack_dashboard', ),
    'TRACE_STACK': True,
}