Add notifications for uploads, updates and deletes

Change-Id: I372f77fe2d1a575f2108c9b8d1f69301c0d5eb5e
This commit is contained in:
Johannes Erdfelt
2011-07-22 15:43:44 +00:00
parent 78c718a9f5
commit 091aae8a6d
9 changed files with 445 additions and 0 deletions

View File

@@ -29,6 +29,22 @@ log_file = /var/log/glance/api.log
# Send logs to syslog (/dev/log) instead of to file specified by `log_file`
use_syslog = False
# Notifications can be sent when images are create, updated or deleted.
# There are three methods of sending notifications, logging (via the
# log_file directive), rabbit (via a rabbitmq queue) or noop (no
# notifications sent, the default)
notifier_strategy = noop
# Configuration options if sending notifications via rabbitmq (these are
# the defaults)
rabbit_host = localhost
rabbit_port = 5672
rabbit_use_ssl = false
rabbit_userid = guest
rabbit_password = guest
rabbit_virtual_host = /
rabbit_notification_topic = glance_notifications
# ============ Filesystem Store Options ========================
# Directory that the Filesystem backend store