idan kinory f381a42583 support adding and deleting templates without the need to restart vitrage.
* templates are now stored in the database.
* evaluator is reloaded whenever a template is added/removed.
* supporting all types of templates (standard, equivalence, definition)
* new cli commands:
  - vitrage template add
  - vitrage template delete

Change-Id: I58abf5e034662206bd6919493c95c450c0ecdf9c
Depends-On: I07741ed100b9eb70b303567706b659d10a34b156
Implements: blueprint crud-templates
2018-01-18 15:54:52 +00:00
..
2018-01-14 14:34:04 +00:00
2016-12-26 10:22:16 +08:00

Enabling Vitrage in DevStack

  1. Download DevStack:
git clone https://git.openstack.org/openstack-dev/devstack.git
cd devstack
  1. Add this repo as an external repository in local.conf file:
[[local|localrc]]
enable_plugin vitrage https://git.openstack.org/openstack/vitrage
  1. Add this to add notification from nova to vitrage
[[post-config|$NOVA_CONF]]
[DEFAULT]
notification_topics = notifications,vitrage_notifications
notification_driver=messagingv2
  1. Add this to add notification from neutron to vitrage (make sure neutron is enabled in devstack)
[[post-config|$NEUTRON_CONF]]
[DEFAULT]
notification_topics = notifications,vitrage_notifications
notification_driver=messagingv2
  1. Add this to add notification from cinder to vitrage
[[post-config|$CINDER_CONF]]
[DEFAULT]
notification_topics = notifications,vitrage_notifications
notification_driver=messagingv2
  1. Add this to add notification from heat to vitrage
[[post-config|$HEAT_CONF]]
[DEFAULT]
notification_topics = notifications,vitrage_notifications
notification_driver=messagingv2
  1. Add this to add notification from aodh to vitrage
[[post-config|$AODH_CONF]]
[oslo_messaging_notifications]
driver = messagingv2
topics = notifications,vitrage_notifications
  1. Run ./stack.sh