Where the VM configuration/information is stored in OpenNebula?


I’m in a project to develop a driver to manage vCloud’s VM’s in OpenNebula.

I’ve found a cli called VCA-CLI ([https://github.com/vmware/vca-cli] to manage vCloud remotely. My purpose is to use this cli to communicate both infrastructures.
The driver will translate the orders and the information between ONE and vca-cli.

The first objective is that sunstone can list the vm’s hosted in vCloud. But I don’t know how and where ONE stores the configuration about the VM’s.
I need to know where I must register the vCloud’s VM’s in ONE to sunstone can show them.

Any ideas?