]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
clean notification options in quantum.conf.
authorgongysh <gongysh@cn.ibm.com>
Wed, 26 Sep 2012 08:48:18 +0000 (16:48 +0800)
committergongysh <gongysh@cn.ibm.com>
Wed, 26 Sep 2012 08:55:33 +0000 (16:55 +0800)
Bug #1056637

Change-Id: I9d9002d3dfbbfa94224bc6ed9dc1a7f5207fb563

etc/quantum.conf

index f86434d81bc126f02fc0ec12e1fbb6a81cab4e34..8ad23faa82209196dc08029be0fd1ff064834944 100644 (file)
@@ -135,21 +135,28 @@ control_exchange = quantum
 # ============ Notification System Options =====================
 
 # Notifications can be sent when network/subnet/port are create, updated or deleted.
-# There are four methods of sending notifications, logging (via the
-# log_file directive), rpc (via a message queue),
-# noop (no notifications sent, the default) or list of them
-
-# Defined in notifier api
-notification_driver = quantum.openstack.common.notifier.list_notifier
-# default_notification_level = INFO
-# myhost = myhost.com
-# default_publisher_id = $myhost
-
-# Defined in rabbit_notifier for rpc way
-# notification_topics = notifications
-
-# Defined in list_notifier
-list_notifier_drivers = quantum.openstack.common.notifier.rabbit_notifier
+# There are three methods of sending notifications: logging (via the
+# log_file directive), rpc (via a message queue) and
+# noop (no notifications sent, the default)
+
+# Notification_driver can be defined multiple times
+# Do nothing driver
+# notification_driver = quantum.openstack.common.notifier.no_op_notifier
+# Logging driver
+# notification_driver = quantum.openstack.common.notifier.log_notifier
+# RPC driver. DHCP agents needs it.
+notification_driver = quantum.openstack.common.notifier.rabbit_notifier
+
+# default_notification_level is used to form actual topic name(s) or to set logging level
+default_notification_level = INFO
+
+# default_publisher_id is a part of the notification payload
+# host = myhost.com
+# default_publisher_id = $host
+
+# Defined in rabbit_notifier for rpc way, can be comma separated values.
+# The actual topic names will be %s.%(default_notification_level)s
+notification_topics = notifications
 
 [QUOTAS]
 # resource name(s) that are supported in quota features