Re: [ovirt-users] storage domain operation python api sample codes needed

2016-08-04 Thread Huan He (huhe)
Hi Ondra, Thinking about to upgrade to v4, but I can’t find host nic and bonding example in the link you provided https://github.com/oVirt/ovirt-engine-sdk/tree/master/sdk/examples Thanks, Huan On 8/4/16, 12:13 PM, "Ondra Machacek" wrote: >On 08/04/2016 08:17 PM, Huan He

Re: [ovirt-users] storage domain operation python api sample codes needed

2016-08-04 Thread Ondra Machacek
On 08/04/2016 08:17 PM, Huan He (huhe) wrote: Thanks Ondra. I am able to do the storage, but stuck in the host nic. I have rhvm 4.0 beta, and the sdk seems still v3.6. If you have version 4.0, then there is sdk4, which you should use. The name of the rpm is python-ovirt-engine-sdk4. Or it's

Re: [ovirt-users] storage domain operation python api sample codes needed

2016-08-04 Thread Huan He (huhe)
Thanks Ondra. I am able to do the storage, but stuck in the host nic. I have rhvm 4.0 beta, and the sdk seems still v3.6. Who knows where I can find the sample and doc for v3? Thanks, Huan On 8/2/16, 11:56 PM, "Ondra Machacek" wrote: >On 08/02/2016 10:53 PM, Huan He

Re: [ovirt-users] storage domain operation python api sample codes needed

2016-08-03 Thread Ondra Machacek
On 08/02/2016 10:53 PM, Huan He (huhe) wrote: Hi, I can’t figure out how to do the following, a sample code will be helpful. Put a storage domain in maintenance mode Detach the storage domain Remove the storage domain Are you looking for v4 or v3 examples? Those are completelly different