[PATCH 14/15] schema: storagepool: Allow interleaving of per-pool custom namespace elements

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

 



The custom namespace parameters for 'rbd' and 'netfs' pool types were
not included in the interleave statement.

Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
---
 src/conf/schemas/storagepool.rng | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/conf/schemas/storagepool.rng b/src/conf/schemas/storagepool.rng
index d81ead532a..63a8b75fd8 100644
--- a/src/conf/schemas/storagepool.rng
+++ b/src/conf/schemas/storagepool.rng
@@ -69,10 +69,10 @@
       <ref name="features"/>
       <ref name="sourcenetfs"/>
       <ref name="target"/>
+      <optional>
+        <ref name="fs_mount_opts"/>
+      </optional>
     </interleave>
-    <optional>
-      <ref name="fs_mount_opts"/>
-    </optional>
   </define>

   <define name="poollogical">
@@ -166,10 +166,10 @@
       <ref name="features"/>
       <ref name="sourcerbd"/>
       <ref name="refresh"/>
+      <optional>
+        <ref name="rbd_config_opts"/>
+      </optional>
     </interleave>
-    <optional>
-      <ref name="rbd_config_opts"/>
-    </optional>
   </define>

   <define name="poolsheepdog">
-- 
2.37.3




[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