You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
739 B
30 lines
739 B
# 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.*']
|