Ruby API documentation / Tutorial

Hi,

I’m currently developing an application that has to communicate with OpenNebula,
the official documentation that I found is very light and doesn’t really explain how to boot a VM from
an image and a template, destroy it, etc.
Can someone has a good source of documentation or explanation ?

Thanks :smile:

Documentation I found:
http://docs.opennebula.org/4.10/integration/system_interfaces/ruby.html
http://docs.opennebula.org/doc/4.10/oca/ruby/
And the github of the official RUBY API

Apart from those you can take a look to the onevm command, but the examples
in http://docs.opennebula.org/4.12/integration/system_interfaces/ruby.html
should be enough to start.

Just a tip to create a VirtualMachine object for specific VM use:

vm = OpenNebula::VirtualMachine.new_with_id(id, client)

Then you can use the virtual_machine methods with the vm object.

Thanks for the response, it helped a lot :slight_smile: