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

Huan He (huhe) huhe at cisco.com
Thu Aug 4 18:17:49 UTC 2016


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" <omachace at redhat.com> wrote:

>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 SDKs so examples will be different as
>well.
>For v4 you can inspire here:
>
>  https://github.com/oVirt/ovirt-engine-sdk/tree/master/sdk/examples
>
>>
>> By the way, do you have an API doc or wiki?
>
>There is for v4:
>
>  https://jhernand.fedorapeople.org/ovirt-api-explorer/#/
>
>not sure about v3
>
>>
>> Thanks,
>> Huab
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>




More information about the Users mailing list