Java API Scheduled Actions

Hi,

I’m playing with the OpenNebula Java API and I can’t find the way to schedule an action. I’ve searched it through the OCA and I can’t find anything about it. Is there any way to perform this action from de Java API?

Thanks.

Hi,

You need to use the VirtualMachine.update method to add a SCHED_ACTION section, with the format described in this guide:
http://docs.opennebula.org/5.0/operation/vm_management/vm_instances.html#scheduling-actions

1 Like

Hi,

Thanks for your reply, I’ll try it right now.