[one-users] Acces ONE command line returned messages

Borja Sotomayor borja at borjanet.com
Thu Sep 4 07:55:44 PDT 2008


Hi Alvaro,

> Does anybody know how to retrieve the VirtualMachine id returned by 
> "onevm submit template" from Java? I execute this command remotely 
> (using ssh) in a Java program (reusing Globus Workspaces output), but I 
> don't have any idea about how to capture this return string... any clue?

Have you tried using William's ONE Java API? (listed here:
http://www.opennebula.org/doku.php?id=ecosystem) The API allows you to
programatically do everything you would usually be able to do from the
command line, but without having to parse command line outputs, etc.

Cheers!
-- 
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Borja Sotomayor, University of Chicago
  Ph.D. Student, Department of Computer Science
  Ryerson 257-C, 1100 East 58th Street, Chicago, IL
Haizea: http://haizea.cs.uchicago.edu/
BorjaNet:  http://www.borjanet.com/
·····························································
          "Dis maschine vill run und run!"
                -- Kurt Gödel (on the Turing Machine)
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::




More information about the Users mailing list