Beispiel #1
0
 def get_exchange_topics(conf):
     return [
         plugin.ExchangeTopics(
             exchange=conf.heat_control_exchange,
             topics=set(topic + ".info"
                        for topic in conf.notification_topics)),
     ]
Beispiel #2
0
 def get_exchange_topics(conf):
     """Return a sequence of ExchangeTopics defining the exchange and
     topics to be connected for this plugin."""
     return [
         plugin.ExchangeTopics(
             exchange=conf.nova_control_exchange,
             topics=set(topic + ".info"
                        for topic in conf.notification_topics)),
     ]
Beispiel #3
0
 def get_exchange_topics(self, conf):
     return [
         plugin.ExchangeTopics(exchange="exchange1",
                               topics=["t1", "t2"]),
         plugin.ExchangeTopics(exchange="exchange2", topics=['t3'])
     ]