[libvirt] [PATCH V5 0/4] Support for multiple IP addresses using lists

Stefan Berger stefanb at linux.vnet.ibm.com
Mon Oct 31 13:01:05 UTC 2011


This patch series builds on the previously posted patch series

https://www.redhat.com/archives/libvir-list/2011-October/msg00912.html

and introduces the capability to assign a list to a variable and
have multiple rules instantiated, one for each item in the list.
This means, that if for example a variable like IP has been assigned
a list of values

   IP = [1.2.3.4, 5.6.7.8, 10.0.0.1]

it will instantiate 3 rules, which in turn allows us to build filters
that can evaluate multiple possible values per field, i.e., allow
the filtering for multiple IP addresses (per interface).

v5:
 - addressing Eric Blake's comments

v4:
 - addressing Daniel Berrange's comments
 - changed (default) behavior of iterator

v3:
 - following Daniel Berrange's comment regarding how a list of items
   should be represented in the XML

v2:
 - reimplementation of iterator
 - other nits

Regards,
   Stefan




More information about the libvir-list mailing list