[PATCH 17/21] schema: domain: Allow space in XML schema for bridge source

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

 



vmware's network names can contain space and they are used as bridge
source. Modify the schema to allow it.

Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
---
 docs/schemas/domaincommon.rng | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng
index 3ebffd9db3..41c256b653 100644
--- a/docs/schemas/domaincommon.rng
+++ b/docs/schemas/domaincommon.rng
@@ -2879,7 +2879,9 @@

   <define name="interface-bridge-attributes">
     <attribute name="bridge">
-      <ref name="deviceName"/>
+      <data type="string">
+        <param name="pattern">[a-zA-Z0-9_\.\-\\:/ ]*</param>
+      </data>
     </attribute>
     <optional>
       <attribute name="macTableManager">
-- 
2.26.2




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux