FYI, the java oca files can be downloaded from here:
http://downloads.opennebula.org/packages/opennebula-4.4.0/
Regards
--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | cmar...@opennebula.org |
Hello!
I am trying to allocate a new image in OpenNebula using the
Image.allocate(client,imageTemplate) method from the Java api.
I am doing:
OneResponse resonse =Image.allocate(client, image.toString());
where image.toString() is:
NAME = ImageTest
PATH =
There's one more parameter in that method, the datastore id.
allocate(Client client, java.lang.String description, int datastoreId)
http://docs.opennebula.org/doc/4.4/oca/java/
On Thu, Mar 6, 2014 at 1:26 PM, Roxana Ioana Roman
rroxanaio...@gmail.com wrote:
Hello!
I am trying to allocate a
I thought that there should be one too..But I am using the Image
from org.opennebula.client.image, and it only has this method:
public static OneResponse allocate(Client client, String string) { ..}
And I tried the previous imageTemplate from the command line (with oneimage
create ... and the
I think that's an old version of the java client api talking to a
newer OpenNebula. With multiple datastores this ID should be
specified.
On Thu, Mar 6, 2014 at 2:45 PM, Roxana Ioana Roman
rroxanaio...@gmail.com wrote:
I thought that there should be one too..But I am using the Image from