--=-cIJwSm9GH+OtNahqNeha
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Hi,
I'm not sure if it is applicable to your case, but there is incomplete
C/GObject implementation of oVirt SDK available here:
http://cgit.freedesktop.org/~teuf/govirt/
As far as I know, it's currently focused just on getting connection
details for VMs but I guess that more complete support for whole oVirt
API is just a matter of development...
David
leaboy@126 p=C3=AD=C5=A1e v Po 13. 05. 2013 v 18:17 +0800:
Hi=EF=BC=8CAll
=20
I felt oivrt-engine-sdk coded with Python is slowly to connect
=20
ovirt-engine and console vm when a user have many vms, So, I just
=20
want to rewrite the sdk with C(ANSI C Language). Just rewrite a sdk
=20
with C to connect overt-engine and console vm, would anyone give=20
=20
me some suggestion.
=20
=20
=20
Now, the problem is how can I connect to ovit-engine with C, and
=20
how can I get some information of vms, and how ovirrt-engine can=20
=20
respond my action(start,stop, .eg)
=20
=20
=20
=20
Leaboy@beijing
=20
Thinks
=20
_______________________________________________
Engine-devel mailing list
Engine-devel(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel
--=20
David Ja=C5=A1a, RHCE
SPICE QE based in Brno
GPG Key: 22C33E24=20
Fingerprint: 513A 060B D1B4 2A72 7F0D 0278 B125 CD00 22C3 3E24
--=-cIJwSm9GH+OtNahqNeha
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Disposition: attachment; filename="smime.p7s"
Content-Transfer-Encoding: base64
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIISsjCCBjQw
ggQcoAMCAQICAR4wDQYJKoZIhvcNAQEFBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0
Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxKTAn
BgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3MTAyNDI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