Hello,
following the example of email Richard W.M. Jones
(
https://www.redhat.com/archives/libvir-list/2008-September/msg00283.html),
I decided to write libvirt interface for Mono. Everything is
implemented in one C# file, including in-line help (see
http://download.cervajz.com/sharplibvirt.png) which is taken from API
documentation. All functions wich are implemented were tested on KVM
hypervisor.
Everything revolves around a few objects. It is possible call libvirt
functions directly thru static class SharpLibVirt.libvirt
(SharpLibVirt. virterror) or use my "helpers objects" -
SharpLibVirt.slvConnection, SharpLibVirt.slvDomain,
SharpLibVirt.slvStoragePool, SharpLibVirt.slvStorageVol, etc...
Current status of binding is:
Version: 0.7.4
virConnect: 95%
virDommain: 95%
virEvent: 0%
virInterface: 0%
virNetwork: 0% (I am currently working on it)
virNodeDevice: 0%
virNode: 98%
virSecret: 0%
virStoragePool: 100%
virStorageVol: 100%
virStream: 0%
Others: 100%
-----
virterror: 100%
In the future I will keep SharpLibVirt up to date by C headers.
Greetings,
Jaromír "Cervajz" Červenka
Official openSUSE community member
Web:
http://www.cervajz.com/
Jabber: cervajz(a)cervajz.com
MSN: jara.cervenka(a)seznam.cz
Tel.: +420 607 592 687
Alt. e-mails:
jaromir.cervenka(a)opensuse.org,
jaromir.cervenka(a)speel.cz