[one-users] XML-RPC and VM info

Daniel Molina dmolina at opennebula.org
Mon Oct 7 01:42:02 PDT 2013


Hi,


On 6 October 2013 15:25, Miloš Kozák <milos.kozak at lejmr.com> wrote:

> Hi,
> I am working on our own customers frontend communicating with ONE using
> XML-RPC. At the moment I am inplementing VNC transport using websocketfy.
> Therefore I need to find HOST and PORT that are target of my socket
> actually.
>
>
> Using one.vm.info a get only limited set of information but the VNC PORT
> and host where the VM is deployed. I checked all API but I didnt find my
> answer..
>

All the information is included in the vm.info call. You may find useful
the following code in OpenNebulaVNC.rb:
https://github.com/OpenNebula/one/blob/master/src/sunstone/OpenNebulaVNC.rb#L161

Cheers


>
> Thank you for suggestions,
> Milos
> ______________________________**_________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**org<http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
>



-- 
--
Daniel Molina
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | dmolina at opennebula.org | @OpenNebula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131007/b776a52a/attachment-0002.htm>


More information about the Users mailing list