[one-users] REG: onehost JAVA API

srivatsan jagannathan srivatsanjn at gmail.com
Tue Sep 20 03:07:35 PDT 2011


Hi Team,

I am trying to use JAVA API to perform operation on host.

All these operation succeed,
Host.allocate(Client, hostname, im, vmm, tm)
Host.enable(Client, id, true)
Host.enable(Client, id, false)
Host.delete(Client, id)

But
Host.info(Client, id)
gives error Failed to parse servers response: Unknown type: string

in CLI onehost list & onehost show works properly

no error in oned.log


Regards,
Srivatsan J.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110920/39c3f6b8/attachment-0002.htm>


More information about the Users mailing list