[PATCH 15/17] schemas: refactor out nodedev ccw address schema

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

 



Refactor out nodedev ccw address schema for easy reuse later.

Signed-off-by: Boris Fiuczynski <fiuczy@xxxxxxxxxxxxx>
---
 src/conf/schemas/nodedev.rng | 22 +++++++++-------------
 1 file changed, 9 insertions(+), 13 deletions(-)

diff --git a/src/conf/schemas/nodedev.rng b/src/conf/schemas/nodedev.rng
index 0d7d1168b6..a9f83e048c 100644
--- a/src/conf/schemas/nodedev.rng
+++ b/src/conf/schemas/nodedev.rng
@@ -658,10 +658,7 @@
     </interleave>
   </define>
 
-  <define name="capccwdev">
-    <attribute name="type">
-      <value>ccw</value>
-    </attribute>
+  <define name="capccwaddress">
     <element name="cssid">
       <ref name="ccwCssidRange"/>
     </element>
@@ -673,19 +670,18 @@
     </element>
   </define>
 
+  <define name="capccwdev">
+    <attribute name="type">
+      <value>ccw</value>
+    </attribute>
+    <ref name="capccwaddress"/>
+  </define>
+
   <define name="capcssdev">
     <attribute name="type">
       <value>css</value>
     </attribute>
-    <element name="cssid">
-      <ref name="ccwCssidRange"/>
-    </element>
-    <element name="ssid">
-      <ref name="ccwSsidRange"/>
-    </element>
-    <element name="devno">
-      <ref name="ccwDevnoRange"/>
-    </element>
+    <ref name="capccwaddress"/>
     <optional>
       <ref name="mdev_types"/>
     </optional>
-- 
2.33.1




[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