From: Daniel Veillard Date: Mon, 26 Nov 2007 14:07:56 +0000 (+0000) Subject: * doc/*: modified the python page into a bindings page, X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=3e59effd0321e0208952af34791e09b47a325abd;p=libvirt.git * doc/*: modified the python page into a bindings page, added the Ruby binding link to all pages Daniel --- diff --git a/ChangeLog b/ChangeLog index b283e7787a..fc66b146a8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Nov 26 15:06:19 CET 2007 Daniel Veillard + + * doc/*: modified the python page into a bindings page, + added the Ruby binding link to all pages + Mon Nov 26 12:12:00 UTC 2007 Richard W.M. Jones * configure.in, src/console.c: Replace cfmakeraw if not in diff --git a/docs/FAQ.html b/docs/FAQ.html index 4b6a4412b7..68ae96a8c1 100644 --- a/docs/FAQ.html +++ b/docs/FAQ.html @@ -77,4 +77,4 @@ via the pkg-config command line tool, like:

pkg-config libvirt --libs

-

+

diff --git a/docs/architecture.html b/docs/architecture.html index 74a290f63b..74df3968b8 100644 --- a/docs/architecture.html +++ b/docs/architecture.html @@ -64,4 +64,4 @@ drivers present in driver.h:

  • xend_internal: implements the driver fun

Note that a given driver may only implement a subset of those functions, (for example saving a Xen domain state to disk and restoring it is only possible though the Xen Daemon), in that case the driver entry points for -unsupported functions are initialized to NULL.

+unsupported functions are initialized to NULL.

diff --git a/docs/bugs.html b/docs/bugs.html index 09c3d7de9e..f1e84d2b5b 100644 --- a/docs/bugs.html +++ b/docs/bugs.html @@ -14,4 +14,4 @@ network. Use the settings:

  • server: irc.oftc.net
  • port: 6667 (the usual IRC port)
  • channel: #virt

But there is no guarantee that someone will be watching or able to reply, -use the mailing-list if you don't get an answer there.

+use the mailing-list if you don't get an answer there.

diff --git a/docs/downloads.html b/docs/downloads.html index 603c73daac..2faf3081de 100644 --- a/docs/downloads.html +++ b/docs/downloads.html @@ -7,4 +7,4 @@ available, first register onto the server:

cvs -d :pserver:anoncvs@l checkout the development tree with:

cvs -d :pserver:anoncvs@libvirt.org:2401/data/cvs co libvirt

Use ./autogen.sh to configure the local checkout, then make and make install, as usual. All normal cvs commands are now -available except commiting to the base.

+available except commiting to the base.

diff --git a/docs/errors.html b/docs/errors.html index fa448f140c..084a46a605 100644 --- a/docs/errors.html +++ b/docs/errors.html @@ -66,4 +66,4 @@ this point, see the error.py example about it:

def handler(ctxt, err):
 
 libvirt.registerErrorHandler(handler, 'context') 

the second argument to the registerErrorHandler function is passed as the first argument of the callback like in the C version. The error is a tuple -containing the same field as a virError in C, but cast to Python.

+containing the same field as a virError in C, but cast to Python.

diff --git a/docs/format.html b/docs/format.html index e20559f47f..97dccde661 100644 --- a/docs/format.html +++ b/docs/format.html @@ -418,4 +418,4 @@ Xen support, you will see the os_type of xen to indicate a paravirtual kernel, then architecture informations and potential features.

The third block (in green) gives similar informations but when running a 32 bit OS fully virtualized with Xen using the hvm support.

This section is likely to be updated and augmented in the future, see the discussion which led to the capabilities format in the mailing-list -archives.

+archives.

diff --git a/docs/hvsupport.html b/docs/hvsupport.html index b5f30eafd8..64d1905d67 100644 --- a/docs/hvsupport.html +++ b/docs/hvsupport.html @@ -392,4 +392,4 @@ first appeared in libvirt 0.2.0. virNetworkLookupByUUIDString 0.2.0 virNetworkSetAutostart 0.2.1 virNetworkUndefine 0.2.0 -

+

diff --git a/docs/index.html b/docs/index.html index 7949747aae..1f92402c42 100644 --- a/docs/index.html +++ b/docs/index.html @@ -51,7 +51,7 @@ virtualization mechanisms. It currently also supports XML Format
  • - Binding for Python + Bindings for other languages
  • Handling of errors @@ -97,13 +97,16 @@ virtualization mechanisms. It currently also supports virt-manager
  • - CIM provider + CIM provider
  • Perl bindings
  • - OCaml bindings + OCaml bindings +
  • +
  • + Ruby bindings
  • Xen project diff --git a/docs/intro.html b/docs/intro.html index 5e5e75084a..69bc39bcb2 100644 --- a/docs/intro.html +++ b/docs/intro.html @@ -28,4 +28,4 @@ exception being domain migration between node capabilities which may need to be added at the libvirt level). Where possible libvirt should be extendable to be able to provide the same API for remote nodes, however this is not the case at the moment, the code currently handle only local node accesses -(extension for remote access support is being worked on, see the mailing list discussions about it).

    +(extension for remote access support is being worked on, see the mailing list discussions about it).

    diff --git a/docs/libvir.html b/docs/libvir.html index 6e543860d7..9cbd8103f1 100644 --- a/docs/libvir.html +++ b/docs/libvir.html @@ -1184,15 +1184,33 @@ href="https://www.redhat.com/archives/libvir-list/2007-March/msg00215.html">the discussion which led to the capabilities format in the mailing-list archives.

    -

    Binding for Python

    - -

    Libvirt comes with direct support for the Python language (just -make sure you installed the libvirt-python package if not compiling -from sources). Also note that Daniel Berrange provides bindings for -Perl and Richard Jones supplies bindings for -OCaml too.

    +

    Bindings for other languages

    + +

    Libvirt comes with bindings to support other languages than +pure C. First the headers embeds the necessary declarations to +allow direct acces from C++ code, but also we have bindings for +higher level kind of languages:

    +
      +
    • Python: Libvirt comes with direct support for the Python language + (just make sure you installed the libvirt-python package if not + compiling from sources). See below for more informations about + using libvirt with python
    • +
    • Perl: Daniel Berrange provides bindings for + Perl.
    • +
    • OCaml: Richard Jones supplies bindings for OCaml.
    • +
    • Ruby: David Lutterkork provides bindings for Ruby.
    • +
    + +

    Support, requests or help for libvirt bindings are welcome on +the mailing +list, as usual try to provide enough background informations +and make sure you use recent version, see the help +page.

    + +

    The remaining of this page focuses on the Python bindings.

    The Python binding should be complete and are mostly automatically generated from the formal description of the API in xml. The bindings are diff --git a/docs/news.html b/docs/news.html index 253f34b070..01c289e759 100644 --- a/docs/news.html +++ b/docs/news.html @@ -357,4 +357,4 @@ and check the ChangeLog to gauge progresses.

    0.0.1: Dec 19 2005

    • First release
    • Basic management of existing Xen domains
    • Minimal autogenerated Python bindings
    • -

    +

    diff --git a/docs/python.html b/docs/python.html index 49deb3ce85..fc49815306 100644 --- a/docs/python.html +++ b/docs/python.html @@ -1,10 +1,21 @@ -Binding for Python

    Binding for Python

    Libvirt comes with direct support for the Python language (just -make sure you installed the libvirt-python package if not compiling -from sources). Also note that Daniel Berrange provides bindings for -Perl and Richard Jones supplies bindings for -OCaml too.

    The Python binding should be complete and are mostly automatically +Bindings for other languages

    Bindings for other languages

    Libvirt comes with bindings to support other languages than +pure C. First the headers embeds the necessary declarations to +allow direct acces from C++ code, but also we have bindings for +higher level kind of languages:

    • Python: Libvirt comes with direct support for the Python language + (just make sure you installed the libvirt-python package if not + compiling from sources). See below for more informations about + using libvirt with python
    • +
    • Perl: Daniel Berrange provides bindings for + Perl.
    • +
    • OCaml: Richard Jones supplies bindings for OCaml.
    • +
    • Ruby: David Lutterkork provides bindings for Ruby.
    • +

    Support, requests or help for libvirt bindings are welcome on +the mailing +list, as usual try to provide enough background informations +and make sure you use recent version, see the help +page.

    The remaining of this page focuses on the Python bindings.

    The Python binding should be complete and are mostly automatically generated from the formal description of the API in xml. The bindings are articulated around 2 classes virConnect and virDomain mapping to the C types. Functions in the C API taking either type as argument then @@ -51,4 +62,4 @@ from the C API, the only points to notice are:

    • the import of the modu
    • extracting and printing some informations about the domain using various methods associated to the virDomain class.
    • -

    +

    diff --git a/docs/remote.html b/docs/remote.html index e8626c1f00..44cf6db67a 100644 --- a/docs/remote.html +++ b/docs/remote.html @@ -650,4 +650,4 @@ also possible.

    The protocol contains support for multiple program types and protocol versioning, modelled after SunRPC. -

    +

    diff --git a/docs/site.xsl b/docs/site.xsl index bbb6728bdc..9b52c87df1 100644 --- a/docs/site.xsl +++ b/docs/site.xsl @@ -114,9 +114,10 @@
  • Mail archive
  • Open bugs
  • virt-manager
  • -
  • CIM provider
  • +
  • CIM provider
  • Perl bindings
  • OCaml bindings
  • +
  • Ruby bindings
  • Xen project
  • diff --git a/docs/uri.html b/docs/uri.html index 4d3ef35244..464090aab7 100644 --- a/docs/uri.html +++ b/docs/uri.html @@ -168,4 +168,4 @@ connection.

    You should consider using libvirt remote support in future. -

    +