Re: [Users] Fwd: Sample code for setting NIC - CloudInit

2014-02-24 Thread Tejesh M
Thanks. It worked. On Fri, Feb 21, 2014 at 4:25 PM, Juan Hernandez jhern...@redhat.com wrote: On 02/21/2014 08:13 AM, Tejesh M wrote: When i try to execute with the ovirt sdk 3.3.3 and do operations on RHEV-M 3.3, it fails with below error This happens because the oVirt SDK is

Re: [Users] Fwd: Sample code for setting NIC - CloudInit

2014-02-21 Thread Juan Hernandez
Subject: Re: [Users] Fwd: Sample code for setting NIC - CloudInit I'm not getting below class: import org.ovirt.engine.sdk.entities.*NetworkConfiguration*; Which version of ovirt-engine-sdk-java are you using ? I used ovirt-engine-sdk-java-3.4.0.1-1, added to my

Re: [Users] Fwd: Sample code for setting NIC - CloudInit

2014-02-21 Thread Juan Hernandez
On 02/21/2014 08:13 AM, Tejesh M wrote: When i try to execute with the ovirt sdk 3.3.3 and do operations on RHEV-M 3.3, it fails with below error This happens because the oVirt SDK is compiled with Java 7, and you are probably using Java 6. I suggest to switch to Java 7, unless there is a

Re: [Users] Fwd: Sample code for setting NIC - CloudInit

2014-02-20 Thread Moti Asayag
- Original Message - From: Tejesh M tejes...@gmail.com To: Moti Asayag masa...@redhat.com Cc: users@oVirt.org users@ovirt.org Sent: Thursday, February 20, 2014 8:52:52 AM Subject: Re: [Users] Fwd: Sample code for setting NIC - CloudInit I'm not getting below class: import

Re: [Users] Fwd: Sample code for setting NIC - CloudInit

2014-02-20 Thread Tejesh M
...@redhat.com Cc: users@oVirt.org users@ovirt.org Sent: Thursday, February 20, 2014 8:52:52 AM Subject: Re: [Users] Fwd: Sample code for setting NIC - CloudInit I'm not getting below class: import org.ovirt.engine.sdk.entities.*NetworkConfiguration*; Which version of ovirt-engine-sdk

Re: [Users] Fwd: Sample code for setting NIC - CloudInit

2014-02-20 Thread Juan Hernandez
mailto:tejes...@gmail.com To: Moti Asayag masa...@redhat.com mailto:masa...@redhat.com Cc: users@oVirt.org users@ovirt.org mailto:users@ovirt.org Sent: Thursday, February 20, 2014 8:52:52 AM Subject: Re: [Users] Fwd: Sample code for setting NIC - CloudInit I'm not getting

Re: [Users] Fwd: Sample code for setting NIC - CloudInit

2014-02-20 Thread Tejesh M
, 2014 8:52:52 AM Subject: Re: [Users] Fwd: Sample code for setting NIC - CloudInit I'm not getting below class: import org.ovirt.engine.sdk.entities.*NetworkConfiguration*; Which version of ovirt-engine-sdk-java are you using ? I used ovirt-engine

Re: [Users] Fwd: Sample code for setting NIC - CloudInit

2014-02-20 Thread Juan Hernandez
: [Users] Fwd: Sample code for setting NIC - CloudInit I'm not getting below class: import org.ovirt.engine.sdk.entities.*NetworkConfiguration*; Which version of ovirt-engine-sdk-java are you using ? I used ovirt-engine-sdk

Re: [Users] Fwd: Sample code for setting NIC - CloudInit

2014-02-20 Thread Tejesh M
Also, any workaround to assign ip? On 20 Feb 2014 04:11, Moti Asayag masa...@redhat.com wrote: - Original Message - From: Tejesh M tejes...@gmail.com To: users@oVirt.org users@ovirt.org Sent: Wednesday, February 19, 2014 3:24:40 PM Subject: [Users] Fwd: Sample code for setting

Re: [Users] Fwd: Sample code for setting NIC - CloudInit

2014-02-20 Thread Juan Hernandez
On 02/20/2014 05:56 PM, Tejesh M wrote: Ok. Will it take long time for that sdk to release? No, it should be released soon. Meanwhile you may want to use the latest ovirt 3.3 Java SDK, it is almost identical to the RHEV-M Jaa SDK. If you are using maven these are the coordinates of the

Re: [Users] Fwd: Sample code for setting NIC - CloudInit

2014-02-20 Thread Juan Hernandez
: Sample code for setting NIC - CloudInit I'm not getting below class: import org.ovirt.engine.sdk.entities.*NetworkConfiguration*; Which version of ovirt-engine-sdk-java are you using ? I used ovirt-engine-sdk-java-3.4.0.1-1, added to my project's pom.xml

Re: [Users] Fwd: Sample code for setting NIC - CloudInit

2014-02-20 Thread Greg Padgett
@oVirt.org users@ovirt.org mailto:users@ovirt.org Sent: Thursday, February 20, 2014 8:52:52 AM Subject: Re: [Users] Fwd: Sample code for setting NIC - CloudInit I'm not getting below class: import org.ovirt.engine.sdk.entities.*NetworkConfiguration*; Which

Re: [Users] Fwd: Sample code for setting NIC - CloudInit

2014-02-20 Thread Tejesh M
When i try to execute with the ovirt sdk 3.3.3 and do operations on RHEV-M 3.3, it fails with below error Exception in thread main java.lang.UnsupportedClassVersionError: org/ovirt/engine/sdk/Api at rhvm.callAPI(rhvm.java:238) at rhvm.main(rhvm.java:278) On Fri, Feb 21, 2014 at 12:19

Re: [Users] Fwd: Sample code for setting NIC - CloudInit

2014-02-19 Thread Moti Asayag
- Original Message - From: Tejesh M tejes...@gmail.com To: users@oVirt.org users@ovirt.org Sent: Wednesday, February 19, 2014 3:24:40 PM Subject: [Users] Fwd: Sample code for setting NIC - CloudInit Hi, Can someone share me sample java code for assigning IP address for VM on

Re: [Users] Fwd: Sample code for setting NIC - CloudInit

2014-02-19 Thread Tejesh M
I'm not getting below class: import org.ovirt.engine.sdk.entities.*NetworkConfiguration*; On Thu, Feb 20, 2014 at 4:11 AM, Moti Asayag masa...@redhat.com wrote: - Original Message - From: Tejesh M tejes...@gmail.com To: users@oVirt.org users@ovirt.org Sent: Wednesday, February