[Pkg-libvirt-commits] [Git][libvirt-team/libvirt-python][debian/sid] 3 commits: d/watch: replace Pgpsigurlmangle with Pgp-Mode (as "auto")
Pino Toscano (@pino)
gitlab at salsa.debian.org
Mon Jul 6 04:50:19 BST 2026
Pino Toscano pushed to branch debian/sid at Libvirt Packaging Team / libvirt-python
Commits:
fb371d15 by Pino Toscano at 2026-07-06T05:45:18+02:00
d/watch: replace Pgpsigurlmangle with Pgp-Mode (as "auto")
- - - - -
4dce3742 by Pino Toscano at 2026-07-06T05:47:05+02:00
New upstream version 12.5.0
- - - - -
f6286079 by Pino Toscano at 2026-07-06T05:47:18+02:00
Update upstream source from tag 'upstream/12.5.0'
Update to upstream version '12.5.0'
with Debian dir b947d273184e0642ecd48074fcedca56a6f7bf8d
- - - - -
9 changed files:
- ChangeLog
- PKG-INFO
- VERSION
- debian/changelog
- debian/watch
- generator.py
- libvirt-override-api.xml
- libvirt-override.c
- libvirt-python.spec
Changes:
=====================================
ChangeLog
=====================================
@@ -1,3 +1,13 @@
+ 2026- 6- 9 Michal Privoznik <mprivozn at redhat.com>
+
+ Add support for virDomainAnnounceInterface() API
+
+
+ 2026- 6- 1 Jiri Denemark <jdenemar at redhat.com>
+
+ Post-release version bump to 12.5.0
+
+
2026- 5- 25 Michal Privoznik <mprivozn at redhat.com>
Add support for domain channel lifecycle event
=====================================
PKG-INFO
=====================================
@@ -1,6 +1,6 @@
Metadata-Version: 2.4
Name: libvirt-python
-Version: 12.4.0
+Version: 12.5.0
Summary: The libvirt virtualization API python binding
Home-page: http://www.libvirt.org
Maintainer: Libvirt Maintainers
=====================================
VERSION
=====================================
@@ -1 +1 @@
-12.4.0
+12.5.0
=====================================
debian/changelog
=====================================
@@ -1,3 +1,12 @@
+libvirt-python (12.5.0-1~1.gbpf5598b) UNRELEASED; urgency=medium
+
+ ** SNAPSHOT build @f5598bf602b8864c384656c53dea0ec86a7eeefd **
+
+ * d/watch: replace Pgpsigurlmangle with Pgp-Mode (as "auto")
+ * New upstream version 12.5.0
+
+ -- Pino Toscano <pino at debian.org> Mon, 06 Jul 2026 05:47:18 +0200
+
libvirt-python (12.4.0-1) unstable; urgency=medium
* New upstream version 12.4.0
=====================================
debian/watch
=====================================
@@ -2,5 +2,5 @@ Version: 5
Source: https://download.libvirt.org/python/
Matching-Pattern: libvirt(?:-|_)python-((?:[\d\.]+)(?:-rc\d)?)@ARCHIVE_EXT@
-Pgpsigurlmangle: auto
+Pgp-Mode: auto
Uversionmangle: s/-rc/~rc/
=====================================
generator.py
=====================================
@@ -463,6 +463,7 @@ skip_impl = {
'virDomainRestoreParams',
'virDomainGetAutostartOnce',
'virDomainSetThrottleGroup',
+ 'virDomainAnnounceInterface',
'virDomainLxcOpenNamespace',
=====================================
libvirt-override-api.xml
=====================================
@@ -879,5 +879,13 @@
<arg name='params' type='virTypedParameterPtr' info='pointer to blkio parameter objects'/>
<arg name='flags' type='int' info='an OR'ed set of virDomainModificationImpact'/>
</function>
+ <function name='virDomainAnnounceInterface' file='python'>
+ <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>
+ <return type='int' info='0 in case of success and -1 in case of failure'/>
+ <arg name='domain' type='virDomainPtr' info='pointer to domain object'/>
+ <arg name='device' type='const char *' info='the interface name or mac address, or None to announce all interfaces'/>
+ <arg name='params' type='virTypedParameterPtr' info='parameters containing announce attributes'/>
+ <arg name='flags' type='unsigned int' info='currently unused, pass 0'/>
+ </function>
</symbols>
</api>
=====================================
libvirt-override.c
=====================================
@@ -11165,6 +11165,57 @@ libvirt_virDomainSetThrottleGroup(PyObject *self ATTRIBUTE_UNUSED,
#endif /* LIBVIR_CHECK_VERSION(11, 2, 0) */
+#if LIBVIR_CHECK_VERSION(12, 5, 0)
+static virPyTypedParamsHint virPyDomainAnnounceInterfaceParams[] = {
+ { VIR_DOMAIN_ANNOUNCE_INTERFACE_INITIAL, VIR_TYPED_PARAM_UINT },
+ { VIR_DOMAIN_ANNOUNCE_INTERFACE_MAX, VIR_TYPED_PARAM_UINT },
+ { VIR_DOMAIN_ANNOUNCE_INTERFACE_ROUNDS, VIR_TYPED_PARAM_UINT },
+ { VIR_DOMAIN_ANNOUNCE_INTERFACE_STEP, VIR_TYPED_PARAM_UINT },
+};
+
+
+static PyObject *
+libvirt_virDomainAnnounceInterface(PyObject *self ATTRIBUTE_UNUSED,
+ PyObject *args)
+{
+ PyObject *pyobj_dom = NULL;
+ PyObject *pyobj_dict = NULL;
+ virDomainPtr dom = NULL;
+ const char *device = NULL;
+ virTypedParameterPtr params = NULL;
+ int nparams = 0;
+ unsigned int flags = 0;
+ int c_retval;
+
+ if (!PyArg_ParseTuple(args, (char *)"OzO|I:virDomainAnnounceInterface",
+ &pyobj_dom, &device, &pyobj_dict, &flags))
+ return NULL;
+
+ if (PyDict_Check(pyobj_dict)) {
+ if (virPyDictToTypedParams(pyobj_dict, ¶ms, &nparams,
+ virPyDomainAnnounceInterfaceParams,
+ VIR_N_ELEMENTS(virPyDomainAnnounceInterfaceParams)) < 0) {
+ return NULL;
+ }
+ } else {
+ PyErr_Format(PyExc_TypeError, "Announce params must be a dictionary");
+ return NULL;
+ }
+
+ dom = (virDomainPtr) PyvirDomain_Get(pyobj_dom);
+
+ LIBVIRT_BEGIN_ALLOW_THREADS;
+ c_retval = virDomainAnnounceInterface(dom, device, params, nparams, flags);
+ LIBVIRT_END_ALLOW_THREADS;
+
+ virTypedParamsFree(params, nparams);
+
+ return libvirt_intWrap(c_retval);
+}
+#endif /* LIBVIR_CHECK_VERSION(12, 5, 0) */
+
+
+
/************************************************************************
* *
* The registration stuff *
@@ -11453,6 +11504,9 @@ static PyMethodDef libvirtMethods[] = {
{(char *) "virDomainGetAutostartOnce", libvirt_virDomainGetAutostartOnce, METH_VARARGS, NULL},
{(char *) "virDomainSetThrottleGroup", libvirt_virDomainSetThrottleGroup, METH_VARARGS, NULL},
#endif /* LIBVIR_CHECK_VERSION(11, 2, 0) */
+#if LIBVIR_CHECK_VERSION(12, 5, 0)
+ {(char *) "virDomainAnnounceInterface", libvirt_virDomainAnnounceInterface, METH_VARARGS, NULL},
+#endif /* LIBVIR_CHECK_VERSION(12, 5, 0) */
{NULL, NULL, 0, NULL}
};
=====================================
libvirt-python.spec
=====================================
@@ -16,7 +16,7 @@
Summary: The libvirt virtualization API python3 binding
Name: libvirt-python
-Version: 12.4.0
+Version: 12.5.0
Release: 1%{?dist}
Source0: https://libvirt.org/sources/python/%{dist_name}-%{version}.tar.gz
Url: https://libvirt.org
View it on GitLab: https://salsa.debian.org/libvirt-team/libvirt-python/-/compare/8356f8da77443feecda373d0730e5d5184c88480...f62860791ea08cbeb5e363f6bc0849ca33dd021e
--
View it on GitLab: https://salsa.debian.org/libvirt-team/libvirt-python/-/compare/8356f8da77443feecda373d0730e5d5184c88480...f62860791ea08cbeb5e363f6bc0849ca33dd021e
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-libvirt-commits/attachments/20260706/88582967/attachment-0001.htm>
More information about the Pkg-libvirt-commits
mailing list