Ask Your Question
2

How to listen for OpenStack Notifications/Events ?

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

Murali G D gravatar image

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

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
2

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

jtopjian gravatar image

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

https://wiki.openstack.org/wiki/Syste...

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

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Get to know Ask OpenStack

Resources for moderators

Question Tools

Follow
1 follower

Stats

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

Seen: 355 times

Last updated: Mar 23 '14