[one-users] Differentiate between MIGRATE vs NEW

Rangababu Chakravarthula rbabu at hexagrid.com
Wed Aug 10 04:26:01 PDT 2011


We have a hook that executes after the VM state moves to RUNNING. We wanted
to have the hook executed only when VM is provisioned. However the hook gets
executed even after live migration because it goes from MIGRATE to RUNNING
state.

Is there a way to capture previous state so that we could find the previous
state and skip execution of hook if the previous state is MIGRATE?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110810/db59f365/attachment-0001.htm>


More information about the Users mailing list