From 193b057352fddf7910eb3ccf1b027ee44aebb417 Mon Sep 17 00:00:00 2001 From: Michal Privoznik Date: Wed, 11 Mar 2015 09:54:29 +0100 Subject: [PATCH] RNG: Allow multiple parameters to be passed to an interface filter Our code supports that for ages. When using a to an several parameters can be passed to the filter. Later, when building firewall rules, parameters are substituted for their values. However, our RNG schema allowed only one parameter to be passed. Reported-by: Brian Rak Signed-off-by: Michal Privoznik (cherry picked from commit 6cc5080a099a650c6cd98662219bfc5c9af153d7) --- docs/schemas/domaincommon.rng | 4 +- .../domain-qemu-interface-filterref.xml | 170 ++++++++++++++++++ 2 files changed, 172 insertions(+), 2 deletions(-) create mode 100644 tests/domainschemadata/domain-qemu-interface-filterref.xml diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng index 56ea6a43e3..b1d883fcbb 100644 --- a/docs/schemas/domaincommon.rng +++ b/docs/schemas/domaincommon.rng @@ -4530,7 +4530,7 @@ - + @@ -4539,7 +4539,7 @@ - + diff --git a/tests/domainschemadata/domain-qemu-interface-filterref.xml b/tests/domainschemadata/domain-qemu-interface-filterref.xml new file mode 100644 index 0000000000..0aa0c997e4 --- /dev/null +++ b/tests/domainschemadata/domain-qemu-interface-filterref.xml @@ -0,0 +1,170 @@ + + gentoo + a75aca4b-a02f-2bcb-4a91-c93cd848c34b + 4194304 + 4194304 + + + + + + 4 + + hvm + + + + + + + + + + Haswell + Intel + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + destroy + restart + restart + + + + + + /usr/bin/qemu-system-x86_64 + + + + +
+ + + + + +
+ + + + + + + + +
+ + + + + + + +
+ + +
+ + + +
+ + +
+ + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + +
+ + + + + +
+ + + + + + + + + + + + + +
+ + + + + +
+ +