Re: [Openstack] Nova delete instance - customize

2013-11-30 Thread George Shuklin
If you using command line (not api), you can call any command you want 
before calling nova delete. Why this should be part of openstack?


For API there is much more complicated thing: middleware. If you create 
your own and configure nova-api to call that middleware, you can do 
anything you want with prior any API operation.



On 27.11.2013 22:03, Subramanian K wrote:


Hi guys
I have a requirement to run some script before deleting a vm using 
nova delete command. Nova api doesn't gave me any clue regarding this.
Did someone ever did something like this ? ( like copying some file or 
script to instance before deleting it...)


Regards,



___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


[Openstack] Nova delete instance - customize

2013-11-27 Thread Subramanian K
Hi guys
I have a requirement to run some script before deleting a vm using nova
delete command. Nova api doesn't gave me any clue regarding this.
Did someone ever did something like this ? ( like copying some file or
script to instance before deleting it...)

Regards,
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack