The UI component for Senlin
Go to file
pengyuesheng 3a72853303 Refactor error messages
This patch refactoring the error message and
shows the detailed error message

Change-Id: I1b5e2f3beb5d3e7b36bcd7d8e9f7091a80ba3d36
2019-10-08 15:25:23 +08:00
.stestr Remove mox3 dependencies 2018-08-22 10:39:50 +09:00
doc Remove mox3 dependencies 2018-08-22 10:39:50 +09:00
releasenotes Imported Translations from Zanata 2019-07-18 08:39:48 +00:00
senlin_dashboard Refactor error messages 2019-10-08 15:25:23 +08:00
tools Fix tox jobs and remove tox_helper.sh 2018-05-15 18:29:39 +09:00
.eslintrc Enable eslint and karma test(Javascript test) 2016-07-02 02:05:43 +08:00
.gitignore Follow the new PTI for document build 2018-05-15 18:25:35 +09:00
.gitreview OpenDev Migration Patch 2019-04-19 19:35:47 +00:00
.zuul.yaml Add Python 3 Train unit tests 2019-07-05 16:13:03 -04:00
LICENSE Add init repo 2015-08-24 23:04:09 +08:00
README.rst Replace git.openstack.org URLs with opendev.org URLs 2019-05-05 13:19:46 +08:00
_59_toggle_angular_senlin_dashboard.py.example Cleanup unnecessary blank line 2017-02-05 20:08:10 +08:00
babel-django.cfg Enable translation jobs 2016-02-19 11:30:47 -05:00
babel-djangojs.cfg Enable translation jobs 2016-02-19 11:30:47 -05:00
lower-constraints.txt Bump openstacksdk to 0.24.0 2019-02-05 18:34:35 +00:00
manage.py hacking: Specify white list rules in noqa explicity 2017-06-22 14:22:53 +09:00
package.json Replace git.openstack.org URLs with opendev.org URLs 2019-05-05 13:19:46 +08:00
requirements.txt Bump horizon for Stein 2018-12-21 10:35:24 +09:00
setup.cfg Add Python 3 Train unit tests 2019-07-05 16:13:03 -04:00
setup.py Updated from global requirements 2017-06-22 21:39:39 +00:00
test-requirements.txt Update hacking version 2019-01-10 11:31:55 +08:00
test-shim.js Enable eslint and karma test(Javascript test) 2016-07-02 02:05:43 +08:00
tox.ini Merge "Add Python 3 Train unit tests" 2019-07-22 09:18:27 +00:00

README.rst

Team and repository tags

image

Senlin Dashboard

Senlin Management Dashboard

Project Hosting

Mailing list

Use [senlin-dashboard] prefix in subjects with for faster responses

Code Hosting

Code Review

Installation

Before install the Senlin Dashboard, setup the Horizon. To setup the Horizon, see Installation Guide in the Horizon documentation.

  1. Clone the Senlin Dashboard repository:

    $ git clone https://opendev.org/openstack/senlin-dashboard
  2. Copy the _50_senlin.py file from senlin_dashboard/enabled/_50_senlin.py file to horizon/openstack_dashboard/local/enabled directory. Example, set as if being executed from the root of the senlin-dashboard repository:

    cp ./senlin_dashboard/enabled/_50_senlin.py ../horizon/openstack_dashboard/local/enabled
  3. Change into the senlin-dashboard repository and package the plugin:

    pip install -r requirements.txt -e .

    This will build and install the senlin-dashboard plugin into the active virtual environment associated with your horizon installation. The plugin is installed in "editable" mode as a link back to your senlin-dashboard plugin directory.

Devstack Installation

  1. Download DevStack:

    $ git clone https://opendev.org/openstack/devstack
    $ cd devstack
  2. Add following repo as external repositories into your local.conf file:

    [[local|localrc]]
    #Enable senlin
    enable_plugin senlin https://opendev.org/openstack/senlin
    #Enable senlin-dashboard
    enable_plugin senlin-dashboard https://opendev.org/openstack/senlin-dashboard

    Please see the link: https://docs.openstack.org/senlin/latest/install/index.html for more detail about setting Senlin Server.

  3. Run stack.sh:

    $ ./stack.sh

Unit Test

The unit tests can be executed directly from within this Senlin Dashboard plugin project directory by using:

tox

Configuration

Switch to Angularized panels

The panels are ongoing to migrate to AngularJS based. If you would try them, please copy _59_toggle_angular_senlin_dashboard.py.example to horizon/openstack_dashboard/local_settings.d/_59_toggle_angular_senlin_dashboard.py and restart Horizon.

For more information on configuration, see Configuration Guide in the Horizon documentation.