<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libvirt-python-split.git/libvirt-python-api.xml, branch v1.0.5.5</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/berrange/public_git/libvirt-python-split.git/'/>
<entry>
<title>Re-arrange python generator to make it clear what's auto-generated</title>
<updated>2009-09-21T13:41:46+00:00</updated>
<author>
<name>Daniel P. Berrange</name>
<email>berrange@redhat.com</email>
</author>
<published>2009-09-16T13:03:53+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/berrange/public_git/libvirt-python-split.git/commit/?id=a9ea906035bcf5cbe95db64f51ed2ff7cec2b503'/>
<id>a9ea906035bcf5cbe95db64f51ed2ff7cec2b503</id>
<content type='text'>
* 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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* 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
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix UUID handling in secrets/storage encryption APIs</title>
<updated>2009-09-14T16:48:29+00:00</updated>
<author>
<name>Daniel P. Berrange</name>
<email>berrange@redhat.com</email>
</author>
<published>2009-09-10T16:44:12+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/berrange/public_git/libvirt-python-split.git/commit/?id=059a43f02ac8e84280d405a413198bc2ab5b5273'/>
<id>059a43f02ac8e84280d405a413198bc2ab5b5273</id>
<content type='text'>
Convert all the secret/storage encryption APIs / wire format to
handle UUIDs in raw format instead of non-canonical printable
format. Guarentees data format correctness.

* docs/schemas/storageencryption.rng: Make UUID mandatory for a secret
  and validate fully
* docs/schemas/secret.rng: Fully validate UUID
* include/libvirt/libvirt.h, include/libvirt/libvirt.h.in, Add
  virSecretLookupByUUID and virSecretGetUUID. Make
  virSecretGetUUIDString follow normal API design pattern
* python/generator.py: Skip generation of virSecretGetUUID,
  virSecretGetUUIDString and virSecretLookupByUUID
* python/libvir.c, python/libvirt-python-api.xml: Manual impl
  of virSecretGetUUID,virSecretGetUUIDString and virSecretLookupByUUID
* qemud/remote.c: s/virSecretLookupByUUIDString/virSecretLookupByUUID/
  Fix get_nonnull_secret/make_nonnull_secret to use unsigned char
* qemud/remote_protocol.x: Fix remote_nonnull_secret to use a
  remote_uuid instead of remote_nonnull_string for UUID field.
  Rename REMOTE_PROC_SECRET_LOOKUP_BY_UUID_STRING to
  REMOTE_PROC_SECRET_LOOKUP_BY_UUID_STRING and make it take an
  remote_uuid  value
* 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.h, src/datatypes.c: Store UUID in raw format instead
  of printable. Change virGetSecret to use raw format UUID
* src/driver.h: Rename virDrvSecretLookupByUUIDString to
  virDrvSecretLookupByUUID and use raw format UUID
* src/libvirt.c: Add virSecretLookupByUUID and virSecretGetUUID
  and re-implement virSecretLookupByUUIDString and
  virSecretGetUUIDString in terms of those
* src/libvirt_public.syms: Add virSecretLookupByUUID and
  virSecretGetUUID
* src/remote_internal.c: Rename remoteSecretLookupByUUIDString
  to remoteSecretLookupByUUID. Fix typo in args for
  remoteSecretDefineXML impl. Use raw UUID format for
  get_nonnull_secret and make_nonnull_secret
* src/storage_encryption_conf.c, src/storage_encryption_conf.h:
  Storage UUID in raw format, and require it to be present in
  XML. Use UUID parser to validate.
* secret_conf.h, secret_conf.c: Generate a UUID if none is provided.
  Storage UUID in raw format.
* src/secret_driver.c: Adjust to deal with raw UUIDs. Save secrets
  in a filed with printable UUID, instead of base64 UUID.
* src/virsh.c: Adjust for changed public API contract of
  virSecretGetUUIDString.
* src/storage_Backend.c: DOn't undefine secret we just generated
  upon successful volume creation. Fix to handle raw UUIDs. Generate
  a non-clashing UUID
* src/qemu_driver.c: Change to use lookupByUUID instead of
  lookupByUUIDString
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Convert all the secret/storage encryption APIs / wire format to
handle UUIDs in raw format instead of non-canonical printable
format. Guarentees data format correctness.

* docs/schemas/storageencryption.rng: Make UUID mandatory for a secret
  and validate fully
* docs/schemas/secret.rng: Fully validate UUID
* include/libvirt/libvirt.h, include/libvirt/libvirt.h.in, Add
  virSecretLookupByUUID and virSecretGetUUID. Make
  virSecretGetUUIDString follow normal API design pattern
* python/generator.py: Skip generation of virSecretGetUUID,
  virSecretGetUUIDString and virSecretLookupByUUID
* python/libvir.c, python/libvirt-python-api.xml: Manual impl
  of virSecretGetUUID,virSecretGetUUIDString and virSecretLookupByUUID
* qemud/remote.c: s/virSecretLookupByUUIDString/virSecretLookupByUUID/
  Fix get_nonnull_secret/make_nonnull_secret to use unsigned char
* qemud/remote_protocol.x: Fix remote_nonnull_secret to use a
  remote_uuid instead of remote_nonnull_string for UUID field.
  Rename REMOTE_PROC_SECRET_LOOKUP_BY_UUID_STRING to
  REMOTE_PROC_SECRET_LOOKUP_BY_UUID_STRING and make it take an
  remote_uuid  value
* 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.h, src/datatypes.c: Store UUID in raw format instead
  of printable. Change virGetSecret to use raw format UUID
* src/driver.h: Rename virDrvSecretLookupByUUIDString to
  virDrvSecretLookupByUUID and use raw format UUID
* src/libvirt.c: Add virSecretLookupByUUID and virSecretGetUUID
  and re-implement virSecretLookupByUUIDString and
  virSecretGetUUIDString in terms of those
* src/libvirt_public.syms: Add virSecretLookupByUUID and
  virSecretGetUUID
* src/remote_internal.c: Rename remoteSecretLookupByUUIDString
  to remoteSecretLookupByUUID. Fix typo in args for
  remoteSecretDefineXML impl. Use raw UUID format for
  get_nonnull_secret and make_nonnull_secret
* src/storage_encryption_conf.c, src/storage_encryption_conf.h:
  Storage UUID in raw format, and require it to be present in
  XML. Use UUID parser to validate.
* secret_conf.h, secret_conf.c: Generate a UUID if none is provided.
  Storage UUID in raw format.
* src/secret_driver.c: Adjust to deal with raw UUIDs. Save secrets
  in a filed with printable UUID, instead of base64 UUID.
* src/virsh.c: Adjust for changed public API contract of
  virSecretGetUUIDString.
* src/storage_Backend.c: DOn't undefine secret we just generated
  upon successful volume creation. Fix to handle raw UUIDs. Generate
  a non-clashing UUID
* src/qemu_driver.c: Change to use lookupByUUID instead of
  lookupByUUIDString
</pre>
</div>
</content>
</entry>
<entry>
<title>Secret manipulation API docs refresh &amp; wire up python generator</title>
<updated>2009-09-01T17:27:06+00:00</updated>
<author>
<name>Miloslav Trmač</name>
<email>mitr@redhat.com</email>
</author>
<published>2009-08-04T18:38:21+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/berrange/public_git/libvirt-python-split.git/commit/?id=11bca8e4d912f360926c29981b6faf9dba45bf86'/>
<id>11bca8e4d912f360926c29981b6faf9dba45bf86</id>
<content type='text'>
Sample session:

&gt;&gt;&gt; import libvirt
&gt;&gt;&gt; c = libvirt.open('qemu:///session')

&gt;&gt;&gt; c.listSecrets()
['12247729-47d2-a783-88ce-b329d4781cd3', 'reee', 'abc']

&gt;&gt;&gt; s = c.secretDefineXML("&lt;secret ephemeral='no' private='no'&gt;\n&lt;description&gt;Something for use&lt;/description&gt;\n&lt;volume&gt;/foo/bar&lt;/volume&gt;\n&lt;/secret&gt;\n")

&gt;&gt;&gt; s.UUIDString()
'340c2dfb-811b-eda8-da9e-25ccd7bfd650'

&gt;&gt;&gt; s.XMLDesc()
"&lt;secret ephemeral='no' private='no'&gt;\n  &lt;uuid&gt;340c2dfb-811b-eda8-da9e-25ccd7bfd650&lt;/uuid&gt;\n  &lt;description&gt;Something for use&lt;/description&gt;\n  &lt;volume&gt;/foo/bar&lt;/volume&gt;\n&lt;/secret&gt;\n"

&gt;&gt;&gt; s.setValue('abc\0xx\xffx')
0

&gt;&gt;&gt; s.value()
'abc\x00xx\xffx'

&gt;&gt;&gt; s.undefine()
0

* python/generator.py: Add rules for virSecret APIs
* python/libvir.c, python/libvirt-python-api.xml: Manual impl of
  virSecretSetValue, virSecretGetValue$ and virConnectListSecrets APIs
* python/libvirt_wrap.h, python/types.c: Wrapper for virSecret objects
* docs/libvirt-api.xml, docs/libvirt-refs.xml,
  docs/html/libvirt-virterror.html, docs/html/libvirt-libvirt.html,
  docs/devhelp/libvirt-virterror.html, docs/devhelp/libvirt-libvirt.html:
  Re-generate with 'make api'
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sample session:

&gt;&gt;&gt; import libvirt
&gt;&gt;&gt; c = libvirt.open('qemu:///session')

&gt;&gt;&gt; c.listSecrets()
['12247729-47d2-a783-88ce-b329d4781cd3', 'reee', 'abc']

&gt;&gt;&gt; s = c.secretDefineXML("&lt;secret ephemeral='no' private='no'&gt;\n&lt;description&gt;Something for use&lt;/description&gt;\n&lt;volume&gt;/foo/bar&lt;/volume&gt;\n&lt;/secret&gt;\n")

&gt;&gt;&gt; s.UUIDString()
'340c2dfb-811b-eda8-da9e-25ccd7bfd650'

&gt;&gt;&gt; s.XMLDesc()
"&lt;secret ephemeral='no' private='no'&gt;\n  &lt;uuid&gt;340c2dfb-811b-eda8-da9e-25ccd7bfd650&lt;/uuid&gt;\n  &lt;description&gt;Something for use&lt;/description&gt;\n  &lt;volume&gt;/foo/bar&lt;/volume&gt;\n&lt;/secret&gt;\n"

&gt;&gt;&gt; s.setValue('abc\0xx\xffx')
0

&gt;&gt;&gt; s.value()
'abc\x00xx\xffx'

&gt;&gt;&gt; s.undefine()
0

* python/generator.py: Add rules for virSecret APIs
* python/libvir.c, python/libvirt-python-api.xml: Manual impl of
  virSecretSetValue, virSecretGetValue$ and virConnectListSecrets APIs
* python/libvirt_wrap.h, python/types.c: Wrapper for virSecret objects
* docs/libvirt-api.xml, docs/libvirt-refs.xml,
  docs/html/libvirt-virterror.html, docs/html/libvirt-libvirt.html,
  docs/devhelp/libvirt-virterror.html, docs/devhelp/libvirt-libvirt.html:
  Re-generate with 'make api'
</pre>
</div>
</content>
</entry>
<entry>
<title>Python binding for node device APIs (David Lively)</title>
<updated>2008-11-21T12:41:15+00:00</updated>
<author>
<name>Daniel P. Berrange</name>
<email>berrange@redhat.com</email>
</author>
<published>2008-11-21T12:41:15+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/berrange/public_git/libvirt-python-split.git/commit/?id=4d481373b26166c04f89c5e6ddd566dc895d7d20'/>
<id>4d481373b26166c04f89c5e6ddd566dc895d7d20</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>* python/libvir.py python/libvirt-python-api.xml: more python</title>
<updated>2008-06-11T07:49:01+00:00</updated>
<author>
<name>Daniel Veillard</name>
<email>veillard@redhat.com</email>
</author>
<published>2008-06-11T07:49:01+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/berrange/public_git/libvirt-python-split.git/commit/?id=f0332b83e087e83032f983315b22d1eb5b309ff5'/>
<id>f0332b83e087e83032f983315b22d1eb5b309ff5</id>
<content type='text'>
  cleanups by Cole Robinson
Daniel
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  cleanups by Cole Robinson
Daniel
</pre>
</div>
</content>
</entry>
<entry>
<title>* python/generator.py python/libvir.c python/libvirt-python-api.xml:</title>
<updated>2008-06-10T15:20:25+00:00</updated>
<author>
<name>Daniel Veillard</name>
<email>veillard@redhat.com</email>
</author>
<published>2008-06-10T15:20:25+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/berrange/public_git/libvirt-python-split.git/commit/?id=1b58a90c1a40d555fd82d91e89f8cf0a51042059'/>
<id>1b58a90c1a40d555fd82d91e89f8cf0a51042059</id>
<content type='text'>
  Apply patch from Cole Robinson fixing UUIDString for python
Daniel
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  Apply patch from Cole Robinson fixing UUIDString for python
Daniel
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix python code generation for storage APIs</title>
<updated>2008-05-29T14:53:58+00:00</updated>
<author>
<name>Daniel P. Berrange</name>
<email>berrange@redhat.com</email>
</author>
<published>2008-05-29T14:53:58+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/berrange/public_git/libvirt-python-split.git/commit/?id=93fe0e8f5d189dd4eecb8554d1691d3575f93817'/>
<id>93fe0e8f5d189dd4eecb8554d1691d3575f93817</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix typo "informations" -&gt; "information" (Atsushi SAKAI and</title>
<updated>2008-03-14T11:08:03+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2008-03-14T11:08:03+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/berrange/public_git/libvirt-python-split.git/commit/?id=8b3c382e28dfff4050f40fd018de2f4cd1ae3c77'/>
<id>8b3c382e28dfff4050f40fd018de2f4cd1ae3c77</id>
<content type='text'>
Saori FUKUTA).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Saori FUKUTA).
</pre>
</div>
</content>
</entry>
<entry>
<title>Many typos fixed (Atsushi SAKAI).</title>
<updated>2008-02-29T12:53:10+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2008-02-29T12:53:10+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/berrange/public_git/libvirt-python-split.git/commit/?id=bc430178efc7ec9a767aa5db2aedfecc967b1767'/>
<id>bc430178efc7ec9a767aa5db2aedfecc967b1767</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add missing vcpu/schedular APIs to python binding</title>
<updated>2008-01-21T15:41:15+00:00</updated>
<author>
<name>Daniel P. Berrange</name>
<email>berrange@redhat.com</email>
</author>
<published>2008-01-21T15:41:15+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/berrange/public_git/libvirt-python-split.git/commit/?id=e439de2b2dc5ea9bc0b680e70ec9616703a914f5'/>
<id>e439de2b2dc5ea9bc0b680e70ec9616703a914f5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
