RETIRED, Congress Horizon plugin.
Go to file
akhiljain23 5a0a161fd1 Removing deprecated functions xrange and cmp
The functions xrange() and cmp() are not supported in python3.
This commit removes usage of these two.
Reference - https://docs.python.org/3.0/whatsnew/3.0.html

Change-Id: I26fd0d6a06cd2ddb32da17c4d6d7329d773f7828
2018-07-20 10:58:09 +05:30
congress_dashboard Removing deprecated functions xrange and cmp 2018-07-20 10:58:09 +05:30
doc Follow the new PTI for document build 2018-06-06 05:18:11 +00:00
releasenotes Follow the new PTI for document build 2018-06-06 05:18:11 +00:00
tools pep8 to install only required packages 2017-05-08 12:47:22 +05:30
.gitignore Move congress_dashboard folder to this project 2017-03-15 04:41:58 +00:00
.gitreview Added .gitreview 2017-03-07 10:33:43 +00:00
.zuul.yaml Add python3 django 1.11 job instead of django 2.0 job 2018-06-13 20:24:19 +09:00
CONTRIBUTING.rst Fix the old links in docs 2018-04-02 04:16:29 +00:00
HACKING.rst fix error url 2018-02-02 12:32:59 +08:00
LICENSE Initial UI-cookiecutter commit 2017-03-14 09:20:55 +00:00
MANIFEST.in Minor changes related to docs 2017-07-14 19:35:35 +00:00
README.rst Fix the old links in docs 2018-04-02 04:16:29 +00:00
lower-constraints.txt Update lower-constraints to match requirements 2018-06-06 01:35:19 +00:00
manage.py Initial UI-cookiecutter commit 2017-03-14 09:20:55 +00:00
requirements.txt Update lower-constraints to match requirements 2018-06-06 01:35:19 +00:00
setup.cfg Follow the new PTI for document build 2018-06-06 05:18:11 +00:00
setup.py Updated from global requirements 2018-01-27 17:32:41 +00:00
test-requirements.txt Follow the new PTI for document build 2018-06-06 05:18:11 +00:00
tox.ini Add python3 django 1.11 job instead of django 2.0 job 2018-06-13 20:24:19 +09:00

README.rst

Congress Dashboard

Horizon Plugin for Congress

Congress Dashboard is an extension for OpenStack Dashboard that provides a UI for Congress. With congress-dashboard, a user is able to easily write the policies and rules for governance of cloud.

Enabling in DevStack

Add this repo as an external repository into your local.conf file:

[[local|localrc]]
enable_plugin congress https://github.com/openstack/congress

Manual Installation

The following below instructions assumes that Horizon is already installed and its installation folder is <horizon>. Detailed information on how to install Horizon can be found at https://docs.openstack.org/horizon/latest/contributor/quickstart.html#setup.

The installation folder of Congress Dashboard will be referred to as <congress-dashboard>.

Clone Congress-Dashboard

$ git clone https://github.com/openstack/congress-dashboard.git
$ cd congress-dashboard

Install requirements

$ sudo pip install .

Install Source code

$ sudo python setup.py install

And enable it in Horizon

$ ln -s <congress-dashboard>/congress_dashboard/enabled/_50_policy.py <horizon>/openstack_dashboard/local/enabled
$ ln -s <congress-dashboard>/congress_dashboard/enabled/_60_policies.py <horizon>/openstack_dashboard/local/enabled
$ ln -s <congress-dashboard>/congress_dashboard/enabled/_70_datasources.py <horizon>/openstack_dashboard/local/enabled
$ ln -s <congress-dashboard>/congress_dashboard/enabled/_75_monitoring.py <horizon>/openstack_dashboard/local/enabled
$ ln -s <congress-dashboard>/congress_dashboard/enabled/_80_library.py <horizon>/openstack_dashboard/local/enabled

Restart Apache server

$ sudo service apache2 restart