Re: [openstack-dev] [oslo_messaging]Notification listener for nova

2015-03-04 Thread Sandy Walsh
? From: Eduard Matei eduard.ma...@cloudfounders.com Sent: Wednesday, March 4, 2015 3:14 AM To: OpenStack Development Mailing List (not for usage questions) Subject: [openstack-dev] [oslo_messaging]Notification listener for nova Hi, I'm trying to listen to events of type compute.instance

[openstack-dev] [oslo_messaging]Notification listener for nova

2015-03-03 Thread Eduard Matei
Hi, I'm trying to listen to events of type compute.instance.* (e.g. compute.instance.update). I tried the following code: from oslo_config import cfg import oslo_messaging class NotificationEndpoint(object): filter_rule = oslo_messaging.NotificationFilter(publisher_id='compute.*',