Red Hat Bugzilla – Bug 589453
some nwfilter related functions missing in libvirt-python bindings
Last modified: 2014-06-18 03:18:35 EDT
Description of problem:
on the version libvirt-python-0.8.1-1.el6.x86_64
There are some functions not to be included in libvirt.py for nwfilter feature.
like nwfilterLookupByUUIDString, nwfilterDefineXML , nwfilter-undefined function
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.look up the libvirt.py
lack of some nwfilter related functions
all nwfilter related functions exists
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release. Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release. This request is not yet committed for
This should be addressed by this commit that was in 0.8.1
Author: Stefan Berger <firstname.lastname@example.org>
Date: Thu Apr 29 06:46:01 2010 -0400
nwfilter: python bindings for nwfilter
I have primarily followed the pattern of the 'secret' driver to provide
support for the missing python bindings for the network filter API.
and in my GIT checkout everything is fine. It looks like the tar.gz of the 0.8.1 release of libvirt though included an outdated docs/libvirt-api.xml file and thus when the python bindings got built in brew, these APIs were not included. We need to find out why the libvirt-api.xml was not being re-generated correctly. Forcing regeneration in brew & rebuilding shoudl fix this.
Argh, that's the reason ... okay, will fix, thanks !
Confirmed that in 2nd build
parts of the API are also missing and docs/libvirt-api.xml does not show
the nwfilter functions. The git checkout of tag v0.8.1 does show the functions in docs/libvirt-api.xml.
libvirt-0.8.1-3.el6 has been built in RHEL-6-candidate with the fix, it should
now export the nwfilter functions and snapshot ones from python bindings.
The problem is precisely that docs/libvirt-api.xml is not in git anymore
and the docs/Makefile.am was modified in subtle ways leading to it
not being rebuilt anymore on "make dist" like I'm used to.
I installed libvirt-0.8.1-3.el6 rpm and can confirm that the previously missing functions are now available in the python bindings.
*** Bug 589050 has been marked as a duplicate of this bug. ***
Red Hat Enterprise Linux Beta 2 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.