libvirt-python/ericb.git
15 years agolibvirt-0.2.3-1.el5RHEL-5.1libvirt-0.2.3-1.el5libvirt-0.2.3-2.el5libvirt-0.2.3-3.el5libvirt-0.2.3-4.el5libvirt-0.2.3-5.el5libvirt-0.2.3-6.el5libvirt-0.2.3-7.el5libvirt-0.2.3-8.el5libvirt-0.2.3-9.el5libvirt-0.2.3-9.el5.1.1
Daniel Veillard [Thu, 14 Jun 2007 14:29:24 +0000 (14 14:29 +0000)]
libvirt-0.2.3-1.el5

- Upgrade to version 0.2.3 for RHEL-5.1
- Resolves: rhbz#243463
- Resolves: rhbz#222704
- Resolves: rhbz#224415
- Resolves: rhbz#225566
- Resolves: rhbz#225567
- Resolves: rhbz#229176
- Note: 0.2.3 is really supposed to work with dnsmask which is not
  available at the moment in RHEL-5

15 years ago+Tue May 29 15:56:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>LIVIRT_0_2_3v0.2.3
Richard W.M. Jones [Tue, 29 May 2007 14:58:27 +0000 (29 14:58 +0000)]
+Tue May 29 15:56:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
+
+       * 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.
+

15 years agoFixed exception reporting for domain/network operationsLIBVIRT_0_2_2v0.2.2
Daniel P. Berrange [Mon, 16 Apr 2007 12:37:59 +0000 (16 12:37 +0000)]
Fixed exception reporting for domain/network operations

15 years agoAdded vir*GetAutostart APIs to python
Daniel P. Berrange [Tue, 10 Apr 2007 23:15:58 +0000 (10 23:15 +0000)]
Added vir*GetAutostart APIs to python

15 years ago * python/generator.py: Python bindings now throw exceptions
Richard W.M. Jones [Wed, 28 Mar 2007 11:24:14 +0000 (28 11:24 +0000)]
* python/generator.py: Python bindings now throw exceptions
  in almost all cases where an error is encountered in the
  underlying libvirt code.

15 years ago* python/generator.py: patch from Tatsuro Enokura to fixLIBVIRT_0_2_1v0.2.1
Daniel Veillard [Fri, 16 Mar 2007 10:44:44 +0000 (16 10:44 +0000)]
* python/generator.py: patch from Tatsuro Enokura to fix
  virNetworkDefine binding
Daniel

15 years ago* python/generator.py: fix the python binding generation for
Daniel Veillard [Thu, 15 Mar 2007 15:23:21 +0000 (15 15:23 +0000)]
* python/generator.py: fix the python binding generation for
  virNetworkLookup...() functions, which were clashing with
  equivalent virConnLookup...() equivalents, as reported by
  Tatsuro Enokura
Daniel

15 years agoAdded python bindings for networking APIs
Daniel P. Berrange [Fri, 9 Mar 2007 15:42:50 +0000 (9 15:42 +0000)]
Added python bindings for networking APIs

15 years agoFixed up numerous compiler warnings
Daniel P. Berrange [Tue, 6 Mar 2007 21:55:44 +0000 (6 21:55 +0000)]
Fixed up numerous compiler warnings

15 years agoThu Mar 01 16:17:48 EST 2007 Mark McLoughlin <markmc@redhat.com>
Mark McLoughlin [Thu, 1 Mar 2007 16:18:55 +0000 (1 16:18 +0000)]
Thu Mar 01 16:17:48 EST 2007 Mark McLoughlin <markmc@redhat.com>

        * acinclude.m4: add LIBVIRT_COMPILE_WARNINGS, copied from
        GNOME but with a few more flags we'd been using.

        * configure.in: use that instead of setting CFLAGS
        directly.

        * proxy/Makefile.am, python/Makefile.am, qemud/Makefile.am,
          src/Makefile.am, tests/Makefile.am: use $(WARN_CFLAGS)

15 years agoBlacklist vshRunConsole from pythonLIBVIRT_0_2_0v0.2.0
Daniel P. Berrange [Wed, 14 Feb 2007 17:20:27 +0000 (14 17:20 +0000)]
Blacklist vshRunConsole from python

15 years agoMon Jan 23 14:36:18 IST 2007 Mark McLoughlin <markmc@redhat.com>
Mark McLoughlin [Tue, 23 Jan 2007 14:39:45 +0000 (23 14:39 +0000)]
Mon Jan 23 14:36:18 IST 2007 Mark McLoughlin <markmc@redhat.com>

        * include/libvirt/libvirt.h.in: add VIR_UUID_BUFLEN and
        VIR_UUID_STRING_BUFLEN

        * libvirt/proxy/libvirt_proxy.c, libvirt/src/hash.c,
        libvirt/src/internal.h, libvirt/src/libvirt.c,
        libvirt/src/proxy_internal.c, libvirt/src/test.c,
        libvirt/src/virsh.c, libvirt/src/xend_internal.c,
        libvirt/src/xm_internal.c, libvirt/src/xml.c,
        libvirt/python/libvir.c: use them

15 years agoAdded binding for virConnectListDefinedDomains apiLIBVIRT_0_1_10LIBVIRT_0_1_11LIBVIRT_0_1_9v0.1.10v0.1.11v0.1.9
Daniel P. Berrange [Thu, 16 Nov 2006 00:17:10 +0000 (16 00:17 +0000)]
Added binding for virConnectListDefinedDomains api

15 years agoFix unsigned long wraparound in python binding
Daniel P. Berrange [Wed, 15 Nov 2006 19:40:00 +0000 (15 19:40 +0000)]
Fix unsigned long wraparound in python binding

15 years agoFixed string concatenation in case where there is no lower level error
Daniel P. Berrange [Fri, 10 Nov 2006 19:55:27 +0000 (10 19:55 +0000)]
Fixed string concatenation in case where there is no lower level error

15 years ago* python/generator.py: changed the generator to generate a reference
Daniel Veillard [Thu, 9 Nov 2006 15:32:44 +0000 (9 15:32 +0000)]
* python/generator.py: changed the generator to generate a reference
  from Domain class instances to the Connect they were issued from
  should fix rhbz#204490
* docs//*: rebuilt
Daniel

15 years agoPropagate libvirt errors back with python exceptions
Daniel P. Berrange [Tue, 7 Nov 2006 23:18:56 +0000 (7 23:18 +0000)]
Propagate libvirt errors back with python exceptions

15 years agoMake python bindings threaded, by dropping/acquiring Python GIL where needed
Daniel P. Berrange [Tue, 24 Oct 2006 20:28:16 +0000 (24 20:28 +0000)]
Make python bindings threaded, by dropping/acquiring Python GIL where needed

15 years ago* python/libvir.c: Pete Vetere pointed out a bug in string castLIBVIRT_0_1_6LIBVIRT_0_1_7LIBVIRT_0_1_8v0.1.6v0.1.7v0.1.8
Daniel Veillard [Tue, 29 Aug 2006 14:39:57 +0000 (29 14:39 +0000)]
* python/libvir.c: Pete Vetere pointed out a bug in string cast
  when handling errors in Python
Daniel

15 years ago* python/generator.py: fix the generator when handling long integersLIBVIRT_0_1_4v0.1.4
Daniel Veillard [Fri, 4 Aug 2006 13:36:07 +0000 (4 13:36 +0000)]
* python/generator.py: fix the generator when handling long integers
  Dan Berrange reported problems due to this when using
  virDomainSetMemory bindings
Daniel

16 years agounleash the hush puppiesLIBVIRT_0_1_3v0.1.3
Mark McLoughlin [Wed, 5 Jul 2006 21:52:52 +0000 (5 21:52 +0000)]
unleash the hush puppies

16 years ago* configure.in libvirt.spec.in docs/examples/* include/Makefile.am
Daniel Veillard [Mon, 26 Jun 2006 15:02:18 +0000 (26 15:02 +0000)]
* configure.in libvirt.spec.in docs/examples/* include/Makefile.am
  include/libvirt/virterror.h python/generator.py python/libvir.c
  python/libvirt_wrap.h src/driver.h src/internal.h src/test.h
  src/virsh.c src/virterror.c src/xend_internal.c src/xend_internal.h
  src/xml.c src/xml.h: moved the includes from include/ to
  include/libvirt to reflect the installed include tree. This
  avoid using "" in the includes themselves.
Daniel

16 years ago* python/libvir.c: fixed a bug in the new wrapperLIBVIRT_0_1_0LIBVIRT_0_1_1v0.1.0v0.1.1
Daniel Veillard [Wed, 29 Mar 2006 13:33:37 +0000 (29 13:33 +0000)]
* python/libvir.c: fixed a bug in the new wrapper
* python/tests/Makefile.am python/tests/node.py: added a new test for
  the new API
* python/tests/create.py: remove a debug
Daniel

16 years ago* include/libvirt.h[.in] include/virterror.h src/driver.h
Daniel Veillard [Wed, 29 Mar 2006 12:46:03 +0000 (29 12:46 +0000)]
* include/libvirt.h[.in] include/virterror.h src/driver.h
  src/internal.h src/libvirt_sym.version src/xen_internal.c
  src/xs_internal.c: added a new entry point to get node hardware
  informations virGetNodeInfo, and associated driver hook.
* src/xend_internal.c: implemented the node and version information
  hooks for the Xen Daemon
* python/libvir.c python/libvirt-python-api.xml python/generator.py:
  also added Python bindings for the new call
Daniel

16 years ago* python/libvir.c: call the initialize entry point
Daniel Veillard [Tue, 28 Mar 2006 14:41:04 +0000 (28 14:41 +0000)]
* python/libvir.c: call the initialize entry point
* src/libvirt_sym.version: add initialize entry point
* src/libvirt.c: make sure we always initialize the lib
* python/tests/*.py: start updating exemple for exception
  handling as pointed by Jim Meyering
Daniel

16 years ago* doc/site.xsl doc/libvir.html doc/*: added informations about
Daniel Veillard [Tue, 28 Mar 2006 09:50:17 +0000 (28 09:50 +0000)]
* doc/site.xsl doc/libvir.html doc/*: added informations about
  the Perl bindings, regenerated
* python/libvirt_wrap.h: added a missing include.
Daniel

16 years ago* src/xs_internal.c src/xs_internal.h include/virterror.h
Daniel Veillard [Thu, 23 Mar 2006 15:42:10 +0000 (23 15:42 +0000)]
* src/xs_internal.c src/xs_internal.h include/virterror.h
  src/virterror.c: created a new module related to Xen Store accesses
* src/libvirt.c src/xen_internal.[ch] src/xend_internal.[ch]:
  nearly completed the separation of the code from the different modules
Daniel

16 years ago* python/tests/create.py: add one more image path
Daniel Veillard [Wed, 22 Mar 2006 13:44:01 +0000 (22 13:44 +0000)]
* python/tests/create.py: add one more image path
* src/libvirt.c src/xend_internal.c src/xend_internal.h: more work
  on the xend refactoring
Daniel

16 years ago* python/tests/create.py: adapt to new naming scheme in FC5
Daniel Veillard [Wed, 22 Mar 2006 13:33:20 +0000 (22 13:33 +0000)]
* python/tests/create.py: adapt to new naming scheme in FC5
Daniel

16 years ago* NEWS configure.in libvirt.spec.in include/libvirt.h docs/*:
Daniel Veillard [Tue, 28 Feb 2006 14:22:33 +0000 (28 14:22 +0000)]
* NEWS configure.in libvirt.spec.in include/libvirt.h docs/*:
  preparing release 0.0.6
Daniel

16 years agoFixed the test, daniel
Daniel Veillard [Tue, 28 Feb 2006 12:56:25 +0000 (28 12:56 +0000)]
Fixed the test, daniel

16 years ago* TODO: updated
Daniel Veillard [Tue, 28 Feb 2006 12:17:00 +0000 (28 12:17 +0000)]
* TODO: updated
* 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

16 years ago* python/generator.py python/libvir.c python/libvirt-python-api.xml:
Daniel Veillard [Fri, 24 Feb 2006 12:26:56 +0000 (24 12:26 +0000)]
* python/generator.py python/libvir.c python/libvirt-python-api.xml:
  UUID strings can contain zeroes, so the autogenerated conversion
  functions don't work.
Daniel

16 years ago* src/libvirt.c: fixing a bug before the release of 0.0.5LIBVIRT_0_0_5v0.0.5
Daniel Veillard [Thu, 23 Feb 2006 11:26:17 +0000 (23 11:26 +0000)]
* src/libvirt.c: fixing a bug before the release of 0.0.5
* python/generator.py python/libvir.c python/libvirt-python-api.xml:
  also fixing the binding for getting a domain UUID
* python/tests/Makefile.am python/tests/uuid.py: added a test
  for the new UUID API
Daniel

16 years ago* python/tests/Makefile.am: added the create.py in the regression tests
Daniel Veillard [Thu, 23 Feb 2006 10:31:23 +0000 (23 10:31 +0000)]
* python/tests/Makefile.am: added the create.py in the regression tests
Daniel

16 years ago* TODO: updated
Daniel Veillard [Tue, 21 Feb 2006 13:23:16 +0000 (21 13:23 +0000)]
* TODO: updated
* python/tests/Makefile.am: fix a small PYTHONPATH bug
* docs//*: fixed the xsl a bit for toc names, added doc for
  the python bindings, regenerated
Daniel

16 years ago* docs/examples/examples.xsl docs/examples/index.html
Daniel Veillard [Mon, 20 Feb 2006 20:50:48 +0000 (20 20:50 +0000)]
* docs/examples/examples.xsl docs/examples/index.html
  docs/site.xsl: integates the examples page in the web site
* docs//* : fixed generator and rebuilt the docs
* python/tests/basic.py python/tests/create.py: couple cleanups
Daniel

16 years ago* python/tests/create.py: trying to make test more generic, but it's
Daniel Veillard [Fri, 17 Feb 2006 13:18:57 +0000 (17 13:18 +0000)]
* python/tests/create.py: trying to make test more generic, but it's
  difficult since it requires a system image
* src/libvirt.c src/xend_internal.c: fixed the shutdown API which
  was broken due to a bad reason at the xend level.
Daniel

16 years ago* configure.in src/Makefile.am: adding dependency to libxml2
Daniel Veillard [Thu, 16 Feb 2006 22:50:52 +0000 (16 22:50 +0000)]
* configure.in src/Makefile.am: adding dependency to libxml2
* include/libvirt.h* src/libvirt.c src/xend_internal.[ch]
  src/xml.[ch]: added XML parsing for Xen domain descriptions
  needed for creates, plugged in a converter to s-exp and
  xend call. Modified the virDomainCreateLinux() to reflect
  that XML based description. Seems to work.
* python/tests/create.py: added a test case which seems to work
  not tested much yet
* docs/*: regenerated
Daniel

16 years ago* configure.in libvirt.spec.in include/libvirt.h.in python/Makefile.am
Daniel Veillard [Wed, 15 Feb 2006 13:21:17 +0000 (15 13:21 +0000)]
* configure.in libvirt.spec.in include/libvirt.h.in python/Makefile.am
  src/Makefile.am: fix rpm packaging problems whith head, more
  LIBVIR -> LIBVIRT changes.
Daniel

16 years ago* Makefile.am configure.in python/Makefile.am python/tests/Makefile.am
Daniel Veillard [Tue, 14 Feb 2006 14:30:42 +0000 (14 14:30 +0000)]
* Makefile.am configure.in python/Makefile.am python/tests/Makefile.am
  python/tests/basic.py: added first python test script and
  a 'make tests' target
Daniel

16 years ago* python/libvir.c: fixed one more problem prior to 0.0.4LIBVIRT_0_0_4v0.0.4
Daniel Veillard [Fri, 10 Feb 2006 10:31:50 +0000 (10 10:31 +0000)]
* python/libvir.c: fixed one more problem prior to 0.0.4
Daniel

16 years ago* //* : renamed the project libvirt , this affects all makefiles,LIBVIRT_0_0_3v0.0.3
Daniel Veillard [Thu, 9 Feb 2006 17:45:11 +0000 (9 17:45 +0000)]
* //* : renamed the project libvirt , this affects all makefiles,
  the specs, the icons, the docs, etc ...
* configure.in: prepare for 0.0.3
Daniel

16 years ago* python/*: update of the python bindings, fix names, add
Daniel Veillard [Tue, 31 Jan 2006 10:24:12 +0000 (31 10:24 +0000)]
* python/*: update of the python bindings, fix names, add
  missing features like list of domains and domain info extraction
Daniel

16 years ago* python/libvir.c: fix a stupid bug in python bindings (DomainDestroyLIBVIR_0_0_2v0.0.2
Daniel Veillard [Sat, 28 Jan 2006 20:24:55 +0000 (28 20:24 +0000)]
* python/libvir.c: fix a stupid bug in python bindings (DomainDestroy
  is still mishandled though)
Daniel

16 years ago* TODO: updated
Daniel Veillard [Thu, 26 Jan 2006 12:11:32 +0000 (26 12:11 +0000)]
* TODO: updated
* docs/search.php: use the new web site design
* python/generator.py: fix a generation bug on python keyword
Daniel

16 years ago* Makefile.am configure.in libvir.spec.in python/*: added a firstLIBVIR_0_0_1v0.0.1
Daniel Veillard [Mon, 19 Dec 2005 16:34:11 +0000 (19 16:34 +0000)]
* Makefile.am configure.in libvir.spec.in python/*: added a first
  version for python bindings, heavilly based on libxml2/libxslt
  way of doing things, maybe this need to be revisited. Added packaging
  too.
* src/hash.h: fixed the Copyright notice.
Daniel