libvirt-python 12.4.0__tar.gz → 12.5.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/ChangeLog +10 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/PKG-INFO +1 -1
- libvirt_python-12.5.0/VERSION +1 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/generator.py +1 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/libvirt-override-api.xml +8 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/libvirt-override.c +54 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/libvirt-python.spec +1 -1
- libvirt_python-12.4.0/VERSION +0 -1
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/AUTHORS +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/CONTRIBUTING.rst +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/COPYING +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/HACKING +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/MANIFEST.in +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/Makefile +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/README +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/build/libvirt_python.egg-info/SOURCES.txt +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/examples/README +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/examples/consolecallback.py +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/examples/dhcpleases.py +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/examples/dominfo.py +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/examples/domipaddrs.py +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/examples/domrestore.py +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/examples/domsave.py +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/examples/domstart.py +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/examples/esxlist.py +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/examples/event-test.py +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/examples/guest-vcpus/guest-vcpu-daemon.py +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/examples/guest-vcpus/guest-vcpu.py +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/examples/nodestats.py +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/examples/sparsestream.py +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/examples/topology.py +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/libvirt-lxc-override-api.xml +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/libvirt-lxc-override.c +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/libvirt-override-virConnect.py +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/libvirt-override-virDomain.py +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/libvirt-override-virDomainCheckpoint.py +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/libvirt-override-virDomainSnapshot.py +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/libvirt-override-virNetwork.py +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/libvirt-override-virStoragePool.py +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/libvirt-override-virStream.py +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/libvirt-override.py +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/libvirt-qemu-override-api.xml +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/libvirt-qemu-override.c +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/libvirt-qemu-override.py +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/libvirt-utils.c +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/libvirt-utils.h +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/libvirtaio.py +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/pyproject.toml +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/requirements-test.txt +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/setup.cfg +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/setup.py +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/tests/eventmock.py +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/tests/test_aio.py +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/tests/test_api_coverage.py +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/tests/test_conn.py +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/tests/test_domain.py +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/tests/test_domain_checkpoint.py +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/tests/test_domain_snapshot.py +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/tests/test_interface.py +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/tests/test_network.py +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/tests/test_nodedev.py +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/tests/test_storage.py +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/tox.ini +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/typewrappers.c +0 -0
- {libvirt_python-12.4.0 → libvirt_python-12.5.0}/typewrappers.h +0 -0
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
2026- 6- 9 Michal Privoznik <mprivozn@redhat.com>
|
|
2
|
+
|
|
3
|
+
Add support for virDomainAnnounceInterface() API
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
2026- 6- 1 Jiri Denemark <jdenemar@redhat.com>
|
|
7
|
+
|
|
8
|
+
Post-release version bump to 12.5.0
|
|
9
|
+
|
|
10
|
+
|
|
1
11
|
2026- 5- 25 Michal Privoznik <mprivozn@redhat.com>
|
|
2
12
|
|
|
3
13
|
Add support for domain channel lifecycle event
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
12.5.0
|
|
@@ -879,5 +879,13 @@
|
|
|
879
879
|
<arg name='params' type='virTypedParameterPtr' info='pointer to blkio parameter objects'/>
|
|
880
880
|
<arg name='flags' type='int' info='an OR'ed set of virDomainModificationImpact'/>
|
|
881
881
|
</function>
|
|
882
|
+
<function name='virDomainAnnounceInterface' file='python'>
|
|
883
|
+
<info>Cause this domain to "announce" its network interfaces by injecting a series of "gratuitous ARP" packets into the outgoing data stream for the interface matching @device (or all interfaces).</info>
|
|
884
|
+
<return type='int' info='0 in case of success and -1 in case of failure'/>
|
|
885
|
+
<arg name='domain' type='virDomainPtr' info='pointer to domain object'/>
|
|
886
|
+
<arg name='device' type='const char *' info='the interface name or mac address, or None to announce all interfaces'/>
|
|
887
|
+
<arg name='params' type='virTypedParameterPtr' info='parameters containing announce attributes'/>
|
|
888
|
+
<arg name='flags' type='unsigned int' info='currently unused, pass 0'/>
|
|
889
|
+
</function>
|
|
882
890
|
</symbols>
|
|
883
891
|
</api>
|
|
@@ -11165,6 +11165,57 @@ libvirt_virDomainSetThrottleGroup(PyObject *self ATTRIBUTE_UNUSED,
|
|
|
11165
11165
|
#endif /* LIBVIR_CHECK_VERSION(11, 2, 0) */
|
|
11166
11166
|
|
|
11167
11167
|
|
|
11168
|
+
#if LIBVIR_CHECK_VERSION(12, 5, 0)
|
|
11169
|
+
static virPyTypedParamsHint virPyDomainAnnounceInterfaceParams[] = {
|
|
11170
|
+
{ VIR_DOMAIN_ANNOUNCE_INTERFACE_INITIAL, VIR_TYPED_PARAM_UINT },
|
|
11171
|
+
{ VIR_DOMAIN_ANNOUNCE_INTERFACE_MAX, VIR_TYPED_PARAM_UINT },
|
|
11172
|
+
{ VIR_DOMAIN_ANNOUNCE_INTERFACE_ROUNDS, VIR_TYPED_PARAM_UINT },
|
|
11173
|
+
{ VIR_DOMAIN_ANNOUNCE_INTERFACE_STEP, VIR_TYPED_PARAM_UINT },
|
|
11174
|
+
};
|
|
11175
|
+
|
|
11176
|
+
|
|
11177
|
+
static PyObject *
|
|
11178
|
+
libvirt_virDomainAnnounceInterface(PyObject *self ATTRIBUTE_UNUSED,
|
|
11179
|
+
PyObject *args)
|
|
11180
|
+
{
|
|
11181
|
+
PyObject *pyobj_dom = NULL;
|
|
11182
|
+
PyObject *pyobj_dict = NULL;
|
|
11183
|
+
virDomainPtr dom = NULL;
|
|
11184
|
+
const char *device = NULL;
|
|
11185
|
+
virTypedParameterPtr params = NULL;
|
|
11186
|
+
int nparams = 0;
|
|
11187
|
+
unsigned int flags = 0;
|
|
11188
|
+
int c_retval;
|
|
11189
|
+
|
|
11190
|
+
if (!PyArg_ParseTuple(args, (char *)"OzO|I:virDomainAnnounceInterface",
|
|
11191
|
+
&pyobj_dom, &device, &pyobj_dict, &flags))
|
|
11192
|
+
return NULL;
|
|
11193
|
+
|
|
11194
|
+
if (PyDict_Check(pyobj_dict)) {
|
|
11195
|
+
if (virPyDictToTypedParams(pyobj_dict, ¶ms, &nparams,
|
|
11196
|
+
virPyDomainAnnounceInterfaceParams,
|
|
11197
|
+
VIR_N_ELEMENTS(virPyDomainAnnounceInterfaceParams)) < 0) {
|
|
11198
|
+
return NULL;
|
|
11199
|
+
}
|
|
11200
|
+
} else {
|
|
11201
|
+
PyErr_Format(PyExc_TypeError, "Announce params must be a dictionary");
|
|
11202
|
+
return NULL;
|
|
11203
|
+
}
|
|
11204
|
+
|
|
11205
|
+
dom = (virDomainPtr) PyvirDomain_Get(pyobj_dom);
|
|
11206
|
+
|
|
11207
|
+
LIBVIRT_BEGIN_ALLOW_THREADS;
|
|
11208
|
+
c_retval = virDomainAnnounceInterface(dom, device, params, nparams, flags);
|
|
11209
|
+
LIBVIRT_END_ALLOW_THREADS;
|
|
11210
|
+
|
|
11211
|
+
virTypedParamsFree(params, nparams);
|
|
11212
|
+
|
|
11213
|
+
return libvirt_intWrap(c_retval);
|
|
11214
|
+
}
|
|
11215
|
+
#endif /* LIBVIR_CHECK_VERSION(12, 5, 0) */
|
|
11216
|
+
|
|
11217
|
+
|
|
11218
|
+
|
|
11168
11219
|
/************************************************************************
|
|
11169
11220
|
* *
|
|
11170
11221
|
* The registration stuff *
|
|
@@ -11453,6 +11504,9 @@ static PyMethodDef libvirtMethods[] = {
|
|
|
11453
11504
|
{(char *) "virDomainGetAutostartOnce", libvirt_virDomainGetAutostartOnce, METH_VARARGS, NULL},
|
|
11454
11505
|
{(char *) "virDomainSetThrottleGroup", libvirt_virDomainSetThrottleGroup, METH_VARARGS, NULL},
|
|
11455
11506
|
#endif /* LIBVIR_CHECK_VERSION(11, 2, 0) */
|
|
11507
|
+
#if LIBVIR_CHECK_VERSION(12, 5, 0)
|
|
11508
|
+
{(char *) "virDomainAnnounceInterface", libvirt_virDomainAnnounceInterface, METH_VARARGS, NULL},
|
|
11509
|
+
#endif /* LIBVIR_CHECK_VERSION(12, 5, 0) */
|
|
11456
11510
|
{NULL, NULL, 0, NULL}
|
|
11457
11511
|
};
|
|
11458
11512
|
|
libvirt_python-12.4.0/VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
12.4.0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|