summaryrefslogtreecommitdiffstats
path: root/generator.py
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@redhat.com>2006-03-29 12:46:03 +0000
committerDaniel Veillard <veillard@redhat.com>2006-03-29 12:46:03 +0000
commit300aa2d3f92c981cd8df9ccc0546b93251d796cf (patch)
treec3939813f3fe9cc748f5ed1be2fa72fb3e149925 /generator.py
parent1027aa871cf478a54d77088199da8caabacbe3a0 (diff)
downloadlibvirt-python-split-300aa2d3f92c981cd8df9ccc0546b93251d796cf.tar.gz
libvirt-python-split-300aa2d3f92c981cd8df9ccc0546b93251d796cf.tar.xz
libvirt-python-split-300aa2d3f92c981cd8df9ccc0546b93251d796cf.zip
* 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
Diffstat (limited to 'generator.py')
-rwxr-xr-xgenerator.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/generator.py b/generator.py
index af44cae..497f3b4 100755
--- a/generator.py
+++ b/generator.py
@@ -261,6 +261,7 @@ foreign_encoding_args = (
skip_impl = (
'virConnectListDomainsID',
'virDomainGetInfo',
+ 'virNodeGetInfo',
'virDomainGetUUID',
'virDomainLookupByUUID',
)
@@ -562,6 +563,9 @@ def nameFixup(name, classe, type, file):
elif name[0:9] == "virDomain":
func = name[9:]
func = string.lower(func[0:1]) + func[1:]
+ elif name[0:7] == "virNode":
+ func = name[7:]
+ func = string.lower(func[0:1]) + func[1:]
elif name[0:10] == "virConnect":
func = name[10:]
func = string.lower(func[0:1]) + func[1:]