RETIRED, Congress Horizon plugin.
Go to file
Eric K 7570aa4d41 Fix repeat ID problem in library policy display
In library policy dashboard, sometimes the same rule is
repeated multiple times, overwriting some subsequent rules.
For example, in Policy Details: TagBasedNetworkSecurityZone,
the first two rules displays as

security_zone_tags('demo_zone'),
security_zone_tags('demo_zone')

rather than the correct

security_zone_tags('demo_zone'),
security_zone_tags('production_zone').

This patch fixes the issue by making sure a distinct ID is
assigned to each rule for django.

Change-Id: I20d758ec4dffeaecf60f6c60c401bb08e359def5
Closes-Bug: 1784770
2018-07-31 21:12:30 -07:00
congress_dashboard Fix repeat ID problem in library policy display 2018-07-31 21:12:30 -07:00
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 Modify the '.gitignore' file 2018-07-20 10:20:30 +08: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
lower-constraints.txt Drop python-cinderclient usage 2018-07-15 04:31:52 +00:00
manage.py 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
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 fix tox python3 overrides 2018-07-23 03:53:55 +00:00

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