Anusha Ramineni 55dd68582c Add Monitoring violations panel
This commit adds new panel to monitor violations in congress UI.
Assumes each policy would have only one defined error or warning table.
This panel lists the errors count and warnings count for each policy
if defined.

TODO:
1. Add link to policy error table to list the rows
2. Coloring for error and warning
3. Periodic refresh of data.

Partial-Bug:#1670520
Change-Id: I24f16df716e58121bc22cf2ae4426de80d06a8ee
2017-07-17 15:36:38 +05:30
2017-03-07 10:33:43 +00:00
2017-03-14 09:20:55 +00:00
2017-03-14 09:20:55 +00:00
2017-03-14 09:20:55 +00:00
2017-07-14 19:35:35 +00:00
2017-07-17 03:27:01 +00:00
2017-03-14 09:20:55 +00:00
2017-07-13 20:17:42 +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 http://docs.openstack.org/developer/horizon/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

Restart Apache server

$ sudo service apache2 restart
Description
RETIRED, Congress Horizon plugin.
Readme 1 MiB
Languages
reStructuredText 100%