diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2008-05-29 14:53:58 +0000 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2008-05-29 14:53:58 +0000 |
commit | 93fe0e8f5d189dd4eecb8554d1691d3575f93817 (patch) | |
tree | 73a7a963fad73ef0c37e2dc82d1ff23997a81b68 /libvirt-python-api.xml | |
parent | 5c0f23049c416c568ec622bc612c5e159eedb42d (diff) | |
download | libvirt-python-v6-93fe0e8f5d189dd4eecb8554d1691d3575f93817.tar.gz libvirt-python-v6-93fe0e8f5d189dd4eecb8554d1691d3575f93817.tar.xz libvirt-python-v6-93fe0e8f5d189dd4eecb8554d1691d3575f93817.zip |
Fix python code generation for storage APIs
Diffstat (limited to 'libvirt-python-api.xml')
-rw-r--r-- | libvirt-python-api.xml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/libvirt-python-api.xml b/libvirt-python-api.xml index 3e59398..f415c50 100644 --- a/libvirt-python-api.xml +++ b/libvirt-python-api.xml @@ -110,5 +110,30 @@ <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> |