summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2009-09-11 14:06:15 +0100
committerDaniel P. Berrange <berrange@redhat.com>2009-09-14 17:49:33 +0100
commita5bab7085e42d87561c817f91c26def384611f2e (patch)
treedec753a7084df584ccf107b655c613a0c111adcd
parent059a43f02ac8e84280d405a413198bc2ab5b5273 (diff)
downloadlibvirt-python-split-a5bab7085e42d87561c817f91c26def384611f2e.tar.gz
libvirt-python-split-a5bab7085e42d87561c817f91c26def384611f2e.tar.xz
libvirt-python-split-a5bab7085e42d87561c817f91c26def384611f2e.zip
Add usage type/id as a public API property of virSecretv0.7.1
* include/libvirt/libvirt.h, include/libvirt/libvirt.h.in: Add virSecretGetUsageType, virSecretGetUsageID and virLookupSecretByUsage * python/generator.py: Mark virSecretGetUsageType, virSecretGetUsageID as not throwing exceptions * qemud/remote.c: Implement dispatch for virLookupSecretByUsage * qemud/remote_protocol.x: Add usage type & ID as attributes of remote_nonnull_secret. Add RPC calls for new public APIs * qemud/remote_dispatch_args.h, qemud/remote_dispatch_prototypes.h, qemud/remote_dispatch_ret.h, qemud/remote_dispatch_table.h, qemud/remote_protocol.c, qemud/remote_protocol.h: Re-generate * src/datatypes.c, src/datatypes.h: Add usageType and usageID as properties of virSecretPtr * src/driver.h: Add virLookupSecretByUsage driver entry point * src/libvirt.c: Implement virSecretGetUsageType, virSecretGetUsageID and virLookupSecretByUsage * src/libvirt_public.syms: Export virSecretGetUsageType, virSecretGetUsageID and virLookupSecretByUsage * src/remote_internal.c: Implement virLookupSecretByUsage entry * src/secret_conf.c, src/secret_conf.h: Remove the virSecretUsageType enum, now in public API. Make volume path mandatory when parsing XML * src/secret_driver.c: Enforce usage uniqueness when defining secrets. Implement virSecretLookupByUsage api method * src/virsh.c: Include usage for secret-list command
-rwxr-xr-xgenerator.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/generator.py b/generator.py
index c25ff55..ad9c544 100755
--- a/generator.py
+++ b/generator.py
@@ -669,6 +669,8 @@ functions_noexcept = {
'virStorageVolGetkey': True,
'virNodeDeviceGetName': True,
'virNodeDeviceGetParent': True,
+ 'virSecretGetUsageType': True,
+ 'virSecretGetUsageID': True,
}
reference_keepers = {