Ruby API documentation / Tutorial


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:
And the github of the official RUBY API

Apart from those you can take a look to the onevm command, but the examples
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: