<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libvirt-python.git/examples, branch v5.0.0</title>
<subtitle>libvirt.org: git/libvirt-python.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libvirt-python.git/'/>
<entry>
<title>Add daemon to list of shutdown reasons</title>
<updated>2018-11-26T13:13:49+00:00</updated>
<author>
<name>Philipp Hahn</name>
<email>hahn@univention.de</email>
</author>
<published>2018-11-16T05:17:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libvirt-python.git/commit/?id=389cc9d0c720a2393bf797def57baeccceb59afb'/>
<id>389cc9d0c720a2393bf797def57baeccceb59afb</id>
<content type='text'>
Add the support to work with libvirt commit 66a85cb13.

Signed-off-by: Philipp Hahn &lt;hahn@univention.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add the support to work with libvirt commit 66a85cb13.

Signed-off-by: Philipp Hahn &lt;hahn@univention.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>event-test.py: Report ERROR events</title>
<updated>2018-11-01T13:09:20+00:00</updated>
<author>
<name>Philipp Hahn</name>
<email>hahn@univention.de</email>
</author>
<published>2018-11-01T10:20:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libvirt-python.git/commit/?id=9af6f1a5d3cf7ab86615dffbf140c827c6db697e'/>
<id>9af6f1a5d3cf7ab86615dffbf140c827c6db697e</id>
<content type='text'>
VIR_DOMAIN_EVENT_ID_IO_ERROR and VIR_DOMAIN_EVENT_ID_IO_ERROR_REASON
callbacks receive the same 'action' parameter, so also translate that
numeric action to a descriptive text for the first callback.

Signed-off-by: Philipp Hahn &lt;hahn@univention.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
VIR_DOMAIN_EVENT_ID_IO_ERROR and VIR_DOMAIN_EVENT_ID_IO_ERROR_REASON
callbacks receive the same 'action' parameter, so also translate that
numeric action to a descriptive text for the first callback.

Signed-off-by: Philipp Hahn &lt;hahn@univention.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>event-test.py: Fix ERROR event</title>
<updated>2018-11-01T13:09:20+00:00</updated>
<author>
<name>Philipp Hahn</name>
<email>hahn@univention.de</email>
</author>
<published>2018-11-01T09:55:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libvirt-python.git/commit/?id=c8b6e5fc3c8103159f29cf4fa3bbfb777e8be08e'/>
<id>c8b6e5fc3c8103159f29cf4fa3bbfb777e8be08e</id>
<content type='text'>
ERROR_EVENTS translates the numeric 'action' argument to a description,
not the 'reason' argument which already contains a descriptive string
like 'enospc'.

&gt; Traceback (most recent call last):
&gt;   File "/usr/lib/python2.7/dist-packages/libvirt.py", line 4661, in _dispatchDomainEventIOErrorReasonCallback
&gt;     reason, opaque)
&gt;   File "libvirt-python/examples/event-test.py", line 536, in myDomainEventIOErrorReasonCallback
&gt;     dom.name(), dom.ID(), srcpath, devalias, action, ERROR_EVENTS[reason]))
&gt;   File "libvirt-python/examples/event-test.py", line 474, in __getitem__
&gt;     data = self.args[item]
&gt; TypeError: tuple indices must be integers, not str

Fixes: f5928c6711654f1496707ca77f626b3192843d57
Signed-off-by: Philipp Hahn &lt;hahn@univention.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ERROR_EVENTS translates the numeric 'action' argument to a description,
not the 'reason' argument which already contains a descriptive string
like 'enospc'.

&gt; Traceback (most recent call last):
&gt;   File "/usr/lib/python2.7/dist-packages/libvirt.py", line 4661, in _dispatchDomainEventIOErrorReasonCallback
&gt;     reason, opaque)
&gt;   File "libvirt-python/examples/event-test.py", line 536, in myDomainEventIOErrorReasonCallback
&gt;     dom.name(), dom.ID(), srcpath, devalias, action, ERROR_EVENTS[reason]))
&gt;   File "libvirt-python/examples/event-test.py", line 474, in __getitem__
&gt;     data = self.args[item]
&gt; TypeError: tuple indices must be integers, not str

Fixes: f5928c6711654f1496707ca77f626b3192843d57
Signed-off-by: Philipp Hahn &lt;hahn@univention.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>event-test.py: Fix blanks</title>
<updated>2018-09-24T07:06:00+00:00</updated>
<author>
<name>Philipp Hahn</name>
<email>hahn@univention.de</email>
</author>
<published>2018-09-21T13:35:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libvirt-python.git/commit/?id=9dff88056c83623b82e8d1b8b9fb1dcfa07d82da'/>
<id>9dff88056c83623b82e8d1b8b9fb1dcfa07d82da</id>
<content type='text'>
Closer to pep8

Signed-off-by: Philipp Hahn &lt;hahn@univention.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closer to pep8

Signed-off-by: Philipp Hahn &lt;hahn@univention.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>event-test.py: Convert CONNECTION events</title>
<updated>2018-09-24T07:06:00+00:00</updated>
<author>
<name>Philipp Hahn</name>
<email>hahn@univention.de</email>
</author>
<published>2018-09-21T13:35:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libvirt-python.git/commit/?id=10ba71a0a0cfe3d9d7d5b04fcb31abe40efb413b'/>
<id>10ba71a0a0cfe3d9d7d5b04fcb31abe40efb413b</id>
<content type='text'>
to use new Description class

Signed-off-by: Philipp Hahn &lt;hahn@univention.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
to use new Description class

Signed-off-by: Philipp Hahn &lt;hahn@univention.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>event-test.py: Convert SECRET events</title>
<updated>2018-09-24T07:06:00+00:00</updated>
<author>
<name>Philipp Hahn</name>
<email>hahn@univention.de</email>
</author>
<published>2018-09-21T13:35:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libvirt-python.git/commit/?id=bf7c6135e8bb2ffed9f22b09a50db5f842602813'/>
<id>bf7c6135e8bb2ffed9f22b09a50db5f842602813</id>
<content type='text'>
to use new Description class

Signed-off-by: Philipp Hahn &lt;hahn@univention.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
to use new Description class

Signed-off-by: Philipp Hahn &lt;hahn@univention.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>event-test.py: Convert DEVICE events</title>
<updated>2018-09-24T07:06:00+00:00</updated>
<author>
<name>Philipp Hahn</name>
<email>hahn@univention.de</email>
</author>
<published>2018-09-21T13:35:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libvirt-python.git/commit/?id=c0235d01e78fb73d2be326abdd6cf734c13f122b'/>
<id>c0235d01e78fb73d2be326abdd6cf734c13f122b</id>
<content type='text'>
to use new Description class

Signed-off-by: Philipp Hahn &lt;hahn@univention.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
to use new Description class

Signed-off-by: Philipp Hahn &lt;hahn@univention.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>event-test.py: Convert STORAGE events</title>
<updated>2018-09-24T07:06:00+00:00</updated>
<author>
<name>Philipp Hahn</name>
<email>hahn@univention.de</email>
</author>
<published>2018-09-21T13:35:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libvirt-python.git/commit/?id=808625fac70aca0ef5b431c3e026a3f82c6e418d'/>
<id>808625fac70aca0ef5b431c3e026a3f82c6e418d</id>
<content type='text'>
to use new Description class

Signed-off-by: Philipp Hahn &lt;hahn@univention.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
to use new Description class

Signed-off-by: Philipp Hahn &lt;hahn@univention.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>event-test.py: Convert NETWORK events</title>
<updated>2018-09-24T07:06:00+00:00</updated>
<author>
<name>Philipp Hahn</name>
<email>hahn@univention.de</email>
</author>
<published>2018-09-21T13:35:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libvirt-python.git/commit/?id=616c7c3482850eb41b2ec14ca14a5c6b4ae1d761'/>
<id>616c7c3482850eb41b2ec14ca14a5c6b4ae1d761</id>
<content type='text'>
to use new Description class

Signed-off-by: Philipp Hahn &lt;hahn@univention.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
to use new Description class

Signed-off-by: Philipp Hahn &lt;hahn@univention.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>event-test.py: Convert TRAY events</title>
<updated>2018-09-24T07:06:00+00:00</updated>
<author>
<name>Philipp Hahn</name>
<email>hahn@univention.de</email>
</author>
<published>2018-09-21T13:35:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libvirt-python.git/commit/?id=298f90c6ef1053b66f1e14895b1a2ba86073bf26'/>
<id>298f90c6ef1053b66f1e14895b1a2ba86073bf26</id>
<content type='text'>
to use new Description class

Signed-off-by: Philipp Hahn &lt;hahn@univention.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
to use new Description class

Signed-off-by: Philipp Hahn &lt;hahn@univention.de&gt;
</pre>
</div>
</content>
</entry>
</feed>
