Hi Russell,<br><br>Thanks a lot for the pointer. I think this will solve my problem. <br><br>Sorry to trouble you more, but can you please direct me to some sample notification receiver.<br><br>I know python but no nothing about this messaging system. So if you can give me a sample notification receiver I will adopt it to my needs.<br><br>I see some of the information missing which is required for me. <br><br><br>-- there is no data available about the MAC Address of the VIFs associated with instance.<br>Even the Reference manual of API is not working for getting this data. I referred http://api.openstack.org/api-reference.html<br><br><br>v2/{tenant_id}/servers/{server_id}/virtual_interfaces<br><br>Regards,<br>Vaibhav<br><br><blockquote><br>---------- Original message ----------<br>From:"Russell Bryant"< rbryant@redhat.com ><br>Date: 21 Nov 12 18:23:35<br>Subject: Re: [rhos-list] Hooks/plugins in Openstack NOVA<br>To: rhos-list@redhat.com<br><br>On 11/20/2012 11:23 PM, 
 Kumar Vaibhav wrote:<br>> Hi,<br>> <br>> I want to add execute some custom scripts, which make entries in my<br>> existing<br>> authentication/authorisation system, at the start of boot of the VM<br>> instance.<br>> <br>> This script can be run on cloud nova manager(preferred) or nova compute<br>> node.<br>> <br>> How to add this script in the openstack-nova?<br>> Is there any provision of creating/defining hooks in NOVA?<br><br>Nova does not have any hook support currently.  However, it does have an<br>asynchronous notifications system that could be used for this.  Here is<br>a wiki page that shows the data that comes in the notifications for<br>creating and deleting an instance:<br><br>http://wiki.openstack.org/SystemUsageData#compute.instance.create.start.2BAC8.end:<br><br>To enable notifications in Folsom, you set the notification_driver in<br>the [DEFAULT] section of nova.conf.<br><br>    notification_driver=nova.openstack.common.noti
 fier.rabbit_notifier<br><br>There is also a log file based notifier, but I suspect the messaging<br>based notifier better suits your needs.  Also, while the notifier is<br>named "rabbit_notifier", it actually applies to whatever is configured<br>as the "rpc_backend".  So, it works with Qpid, as well.<br><br>-- <br>Russell Bryant<br><br>_______________________________________________<br>rhos-list mailing list<br>rhos-list@redhat.com<br>https://www.redhat.com/mailman/listinfo/rhos-list<br></blockquote><br><br><div style="border-top:1px dashed #ccc; border-bottom:1px dashed #ccc; padding:5px;"><a href="http://www3.in.com/sso/commonregister.php?ref=IN&utm_source=invite&utm_medium=outgoing" style="font:13px arial; color:#1E56A1; text-decoration:none;">Get Yourself a cool, short <b>@in.com</b> Email ID now!</a></div>