9138ba24b8
abandonning -> abandoning for output of oslo_messaging/_drivers/impl_rabbit.py Plus some small fix for source comments/config help. Change-Id: Ia4bd1465cbe8beef8e109d20e5ddbec12d6d8e8f Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
30 lines
739 B
Plaintext
30 lines
739 B
Plaintext
# Setting a priority AND an event means both have to be satisfied.
|
|
#
|
|
# However, defining different sets for the same driver allows you
|
|
# to do OR operations.
|
|
#
|
|
# See how this logic is modelled below:
|
|
#
|
|
# if (priority in info, warn or error) or
|
|
# (event == compute.scheduler.run_instance)
|
|
# send to messaging driver ...
|
|
#
|
|
# if priority == 'poll' and
|
|
# event == 'bandwidth.*'
|
|
# send to poll driver
|
|
|
|
group_1:
|
|
messaging:
|
|
accepted_priorities: ['info', 'warn', 'error']
|
|
|
|
poll:
|
|
accepted_priorities: ['poll']
|
|
accepted_events: ['bandwidth.*']
|
|
|
|
log:
|
|
accepted_events: ['compute.instance.exists']
|
|
|
|
group_2:
|
|
messaging:⋅
|
|
accepted_events: ['compute.scheduler.run_instance.*']
|