[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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 (on the ebtables/iptables level) for a single
XML filtering rule. This 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). It would then need David Steven's
patch for support of 'RETURN' (and 'CONTINUE') target(s).

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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]