From a9ea906035bcf5cbe95db64f51ed2ff7cec2b503 Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Wed, 16 Sep 2009 14:03:53 +0100 Subject: Re-arrange python generator to make it clear what's auto-generated * README: New file describing what each file is used for * livvirt-override.c, libvirt-override.py, libvirt-override-api.xml, libvirt-override-virConnect.py: Manually written code overriding the generator * typewrappers.c, typewrappers.h: Data type wrappers * generator.py: Automatically pre-prend contents of libvirt-override.py to generated libvirt.py. Output into libvirt.py directly instead of libvirtclass.py. Don't generate libvirtclass.txt at all. Write C files into libvirt.c/.h directly * Makefile.am: Remove rule for creating libvirt.py from libvirt-override.py and libvirtclass.py, since generator.py does it directly --- libvirt-python-api.xml | 210 ------------------------------------------------- 1 file changed, 210 deletions(-) delete mode 100644 libvirt-python-api.xml (limited to 'libvirt-python-api.xml') diff --git a/libvirt-python-api.xml b/libvirt-python-api.xml deleted file mode 100644 index 148b89b..0000000 --- a/libvirt-python-api.xml +++ /dev/null @@ -1,210 +0,0 @@ - - - - - Returns the list of the ID of the domains on the hypervisor - - - - - list the defined domains, stores the pointers to the names in @names - - - - - list the networks, stores the pointers to the names in @names - - - - - list the defined networks, stores the pointers to the names in @names - - - - - Try to lookup a domain on the given hypervisor based on its UUID. - - - - - - Try to lookup a network on the given hypervisor based on its UUID. - - - - - - Extract information about a domain. Note that if the connection used to get the domain is limited only a partial set of the information can be extracted. - - - - - Extract hardware information about the Node. - - - - - Extract the UUID unique Identifier of a domain. - - - - - Fetch globally unique ID of the domain as a string. - - - - - Extract the UUID unique Identifier of a network. - - - - - Fetch globally unique ID of the network as a string. - - - - - Extract the UUID unique Identifier of a storage pool. - - - - - Fetch globally unique ID of the storage pool as a string. - - - - - Extract the autostart flag for a network. - - - - - Extract the autostart flag for a domain - - - - - Extract the autostart flag for a storage pool - - - - - Extracts block device statistics for a domain - - - - - - Extracts interface device statistics for a domain - - - - - - Returns the available memory for a list of cells - - - - - - - Get the scheduler parameters, the @params array will be filled with the values. - - - - - Get the scheduler type. - - - - - Extract information about virtual CPUs of domain, store it in info array and also in cpumaps if this pointer is'nt NULL. - - - - - Dynamically change the real CPUs which can be allocated to a virtual CPU. This function requires privileged access to the hypervisor. - - - - - - - Change the scheduler parameters - - - - - - list the storage pools, stores the pointers to the names in @names - - - - - list the defined storage pool, stores the pointers to the names in @names - - - - - list the storage volumes, stores the pointers to the names in @names - - - - - 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. - - - - - 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. - - - - - list the node devices - - - - - - - list the node device's capabilities - - - - - Fetches the value associated with a secret. - - - - - - List the defined secret IDs - - - - - Associates a value with a secret. - - - - - - - Try to lookup a secret on the given hypervisor based on its UUID. - - - - - - Extract the UUID unique Identifier of a secret. - - - - - Fetch globally unique ID of the secret as a string. - - - - - -- cgit