summaryrefslogtreecommitdiffstats
path: root/libvir.py
Commit message (Collapse)AuthorAgeFilesLines
* Re-arrange python generator to make it clear what's auto-generatedDaniel P. Berrange2009-09-211-154/+0
| | | | | | | | | | | | | | * README: New file describing what each file is used for * livvirt-override.c, libvirt-override.py, libvirt-override-api.xml, libvirt-override-virConnect.py: Manually written code overriding the generator * typewrappers.c, typewrappers.h: Data type wrappers * generator.py: Automatically pre-prend contents of libvirt-override.py to generated libvirt.py. Output into libvirt.py directly instead of libvirtclass.py. Don't generate libvirtclass.txt at all. Write C files into libvirt.c/.h directly * Makefile.am: Remove rule for creating libvirt.py from libvirt-override.py and libvirtclass.py, since generator.py does it directly
* Better error reporting if 'import libvirtmod' failsCole Robinson2009-05-191-2/+6
| | | | | Don't squash a possibly legitimate libvirtmod error (e.g. some from clashing libvirt.so versions) with 'Cannot import cygvirtmod'
* Use global thread-local error for all python error reportingv0.6.0Daniel P. Berrange2009-01-201-4/+3
|
* Fix python bindings events code (David Lively)Daniel P. Berrange2008-11-241-2/+2
|
* * python/Makefile.am python/generator.py python/libvir.cDaniel Veillard2008-10-311-0/+20
| | | | | | | | | | python/libvir.py python/libvirt_wrap.h python/types.c: adds support for events from the python bindings, also improves the generator allowing to embbed per function definition files, patch by Ben Guthro * examples/domain-events/events-python/event-test.py: also adds a programming example Daniel
* Use libvirt error message for python exceptionsv0.4.6Daniel P. Berrange2008-08-221-10/+11
|
* * python/libvir.py python/libvirt-python-api.xml: more pythonv0.4.4Daniel Veillard2008-06-111-1/+5
| | | | | cleanups by Cole Robinson Daniel
* Fix typo "informations" -> "information" (Atsushi SAKAI andRichard W.M. Jones2008-03-141-1/+1
| | | | Saori FUKUTA).
* Add manual impl of virConnectOpenAuth python bindingDaniel P. Berrange2007-12-051-0/+6
|
* Fri Nov 30 11:04:00 GMT 2007 Richard W.M. Jones <rjones@redhat.com>Richard W.M. Jones2007-11-301-1/+7
| | | | | | | | | * python/libvir.c, python/libvir.py: Make Python aware that the C bindings module is called cygvirtmod.dll when compiled by CYGWIN. * python/Makefile.am: Remove symlink libvirtmod.dll -> cygvirtmod.dll no longer necessary because of the above. * configure.in: Remove AM_CONDITIONAL(CYGWIN).
* +Tue May 29 15:56:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>v0.2.3Richard W.M. Jones2007-05-291-0/+23
| | | | | | | | | | + + * python/generator.py, python/libvir.c, python/libvir.py: + Wrap the virGetVersion call as Python libvirt.getVersion. + + * src/libvirt.c: Change virGetVersion so that the driver name + is case insensitive. +
* Fixed exception reporting for domain/network operationsv0.2.2Daniel P. Berrange2007-04-161-1/+6
|
* Fixed string concatenation in case where there is no lower level errorDaniel P. Berrange2006-11-101-1/+4
|
* Propagate libvirt errors back with python exceptionsDaniel P. Berrange2006-11-071-2/+55
|
* * TODO: updatedDaniel Veillard2006-02-281-0/+30
* python/Makefile.am python/generator.py python/libvir.c python/libvir.py: improved python binding, raise exception when an instance creation or lookup fails, and add support for the global error handler, per conn handler still needed * python/tests/error.py python/tests/Makefile.am: adding a regression test Daniel