Lance Bragstad d3ae72dd00 Register default policies in code
This commit attempts to move default policies from a policy.json
file into oslo.policy objects. This is an effort to make policy
easier to maintain for operators and is a community-wide goal for
the Queens release.

For more information on this initiative, please see:

  https://governance.openstack.org/tc/goals/queens/policy-in-code.html

Co-authored-By: Hieu LE <hieulq@vn.fujitsu.com>
bp policy-and-docs-in-code

Change-Id: I8ce4fc45447b41930736d6fcf85e6d35cfbe9d56
2017-11-12 09:30:12 +00:00
..
2017-11-12 09:30:12 +00:00
2017-11-01 20:10:27 +02:00
2016-12-26 10:22:16 +08:00
2017-09-18 12:29:59 +00: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