'Return a sequence of oslo_messaging.Target
This sequence is defining the exchange and topics to be connected for
this plugin.'

def get_targets(self, conf):

    return [oslo_messaging.Target(topic=topic, exchange=exchange) for topic in self.get_notification_topics(conf) for exchange in conf.notification.notification_control_exchanges]
