[Engine-devel] 答复: ovirt-engine-sdk with C

wlbleaboy@126 wlbleaboy at 126.com
Tue Jun 4 07:52:30 UTC 2013


Hi, Jarod. W:

    Yes, I just want to use c to invoke ovirt engine RestAPI,

Just get vm’s id, host, port, secur-port, and ticket,

    How can I use libcurl to connect https, could give me

a simple demo to connect https://{ovirt-engine}/api <https://%7bovirt-engine%7d/api>  with 

--cafile, the ca.crt I get from http://{ovirt-engine}/ca.crt <http://%7bovirt-engine%7d/ca.crt> 

 

 

发件人: Jarod. w [mailto:work.iec23801 at gmail.com] 
发送时间: 2013年5月14日 10:27
收件人: leaboy at 126
抄送: engine-devel at ovirt.org
主题: Re: [Engine-devel] ovirt-engine-sdk with C

 

2013/5/13 leaboy at 126 <wlbleaboy at 126.com>

Hi,All

         I felt oivrt-engine-sdk coded with Python is slowly to connect

ovirt-engine and console vm when a user have many vms, So, I just

want to rewrite the sdk with C(ANSI C Language). Just rewrite a sdk

with C to connect overt-engine and console vm, would anyone give 

me some suggestion.

Do you want to use c to invoke ovirt engine RestAPI, right?

If yes, you can use libcurl to do the thing, and it'll make you happy.

 

 

         Now, the problem is how can I connect to ovit-engine with C, and

how can I get some information of vms, and how ovirrt-engine can 

respond my action(start,stop, .eg)

Agree with Michael Pasternak.

You should parse your code into the mail list, or someone can't help

you.

 

 

                                                                                    Leaboy at beijing

                                                                 Thinks


_______________________________________________
Engine-devel mailing list
Engine-devel at ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel




-- 
---
Best Regards
Jarod.W

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/engine-devel/attachments/20130604/a7cc011b/attachment.html>


More information about the Engine-devel mailing list