This allows to make use of libvirt network filtering support with virt-install. With the additional option "filterref" in the --network parameter one can configure any defined nwfilter per network interface, i.e.:
virt-install ... --network network=mynet,model=virtio,filterref=clean-traffic
(crobinso: add an xmlparse test case)
1730a8e virtinst: add nwfilter support
man/virt-install.pod | 6 ++++++
tests/xmlparse-xml/change-nics-out.xml | 1 +
tests/xmlparse.py | 1 +
virtinst/cli.py | 4 +++-
virtinst/deviceinterface.py | 4 +++-
5 files changed, 14 insertions(+), 2 deletions(-)
Upstream: git.fedorahosted.org