]> xenbits.xensource.com Git - libvirt.git/commitdiff
Fix python code generation for storage APIs
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 29 May 2008 14:53:58 +0000 (14:53 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 29 May 2008 14:53:58 +0000 (14:53 +0000)
ChangeLog
python/libvirt-python-api.xml

index 4adfd0e95e50bbea827317facc922a99a80fd1f0..d84c73157dcbe78000ec7acbb24737896ae1d200 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu May 29 10:41:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>
+
+       * python/libvirt-python-api.xml: Add API overrides for functions
+       where the generator doesn't produce correct python wrappers
+
 Thu May 29 13:26:40 JST 2008 Atushi SAKAI <sakaia@jp.fujitsu.com>
 
        Fix make syntax-check caused by trailing blank(s)
index 3e59398752869060d30babfb1c4691799bf27089..f415c50d68117d8cb0d3e6d27f91f284baebc269 100644 (file)
       <arg name='domain' type='virDomainPtr' info='pointer to domain object'/>
       <arg name='params' type='virSchedParameterPtr' info='pointer to scheduler parameter objects'/>
     </function>
+    <function name='virConnectListStoragePools' file='python'>
+      <info>list the storage pools, stores the pointers to the names in @names</info>
+      <arg name='conn' type='virConnectPtr' info='pointer to the hypervisor connection'/>
+      <return type='str *' info='the list of Names of None in case of error'/>
+    </function>
+    <function name='virConnectListDefinedStoragePools' file='python'>
+      <info>list the defined storage pool, stores the pointers to the names in @names</info>
+      <arg name='conn' type='virConnectPtr' info='pointer to the hypervisor connection'/>
+      <return type='str *' info='the list of Names of None in case of error'/>
+    </function>
+    <function name='virStoragePoolListVolumes' file='python'>
+      <info>list the storage volumes, stores the pointers to the names in @names</info>
+      <arg name='pool' type='virStoragePoolPtr' info='pointer to the storage pool'/>
+      <return type='str *' info='the list of Names of None in case of error'/>
+    </function>
+    <function name='virStoragePoolGetInfo' file='python'>
+      <info>Extract information about a storage pool. Note that if the connection used to get the domain is limited only a partial set of the information can be extracted.</info>
+      <return type='int *' info='the list of information or None in case of error'/>
+      <arg name='pool' type='virStoragePoolPtr' info='a storage pool object'/>
+    </function>
+    <function name='virStorageVolGetInfo' file='python'>
+      <info>Extract information about a storage pool. Note that if the connection used to get the domain is limited only a partial set of the information can be extracted.</info>
+      <return type='int *' info='the list of information or None in case of error'/>
+      <arg name='vol' type='virStorageVolPtr' info='a storage vol object'/>
+    </function>
   </symbols>
 </api>