How to listen for OpenStack Notifications/Events ?

asked 2014-03-19 22:27:02 -0600

Murali G D gravatar image

updated 2014-03-21 13:24:00 -0600

smaffulli gravatar image

We are using Havana OpenStack version. Would like to write a listener ( in java ) which can subscribe for OpenStack Notifications /Events like events like Server(VM), Network,Subnet,Port – creation/deletion/update and Server(VM) power state changes.

I understand that OpenStack uses RabbitMQ internally for pub/sub. Can I have some reference to notification message format, event types etc.. and how I can subscribe to it these kind of events ?

If there is any example written in python also would help.

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2014-03-23 13:14:07 -0600

jtopjian gravatar image

I have used the following wiki page as a reference for parsing OpenStack notifications:

Also, StackTach is a great project that you could use as a reference implementation of the notification system.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-03-19 22:27:02 -0600

Seen: 2,433 times

Last updated: Mar 23 '14