Re: [Users] [rhevm-api] Need help to Start and Stop VM using Java SDK

2014-02-12 Thread Juan Hernandez
On 02/12/2014 10:08 AM, Tejesh M wrote: Thanks Juan... I'm in process of automating VM creation from Template i want to assign random root password.. can you suggest whether is it possible via java SDK? This is possible with a combination of cloud-init and the Java SDK. First you will need

Re: [Users] [rhevm-api] Need help to Start and Stop VM using Java SDK

2014-02-11 Thread Itamar Heim
On 02/11/2014 04:55 PM, Tejesh M wrote: Thanks for your fast response. But intelli sense is not listing vm.*start *function I'm using rhevm-sdk-java-1.0.0.29-1.jar _*code:*_ import org.ovirt.engine.sdk.Api; import org.ovirt.engine.sdk.common.*; import org.ovirt.engine.sdk.decorators.VMDisk;

Re: [Users] [rhevm-api] Need help to Start and Stop VM using Java SDK

2014-02-11 Thread Juan Hernandez
On 02/11/2014 04:16 PM, Itamar Heim wrote: On 02/11/2014 04:55 PM, Tejesh M wrote: Thanks for your fast response. But intelli sense is not listing vm.*start *function This is because you are using the VM class from the org.ovirt.engine.sdk.entities package, instead of from the