From 54c45a273886d6093aaa23916eb26e73025f7ded Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Vincent=20Fran=C3=A7oise?= <Vincent.FRANCOISE@b-com.com>
Date: Mon, 14 Nov 2016 18:17:43 +0100
Subject: [PATCH] Update devstack plugin to add notification param

In this changeset, I updated the devstack plugin so it has the
necessary configuration options for it to emit the Watcher
notifications straight out of the box.

Partially Implements: blueprint watcher-notifications-ovo

Change-Id: I048e0b82cde40bd3699c90429bdf55ee235fff3b
---
 devstack/lib/watcher | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/devstack/lib/watcher b/devstack/lib/watcher
index 011fa12aa..098095f31 100644
--- a/devstack/lib/watcher
+++ b/devstack/lib/watcher
@@ -126,6 +126,8 @@ function create_watcher_conf {
     iniset $WATCHER_CONF oslo_messaging_rabbit rabbit_password $RABBIT_PASSWORD
     iniset $WATCHER_CONF oslo_messaging_rabbit rabbit_host $RABBIT_HOST
 
+    iniset $WATCHER_CONF oslo_messaging_notifications driver "messaging"
+
     iniset $NOVA_CONF oslo_messaging_notifications topics "notifications,watcher_notifications"
 
     configure_auth_token_middleware $WATCHER_CONF watcher $WATCHER_AUTH_CACHE_DIR