This is the mail archive of the cluster-cvs@sourceware.org mailing list for the cluster.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cluster: STABLE3 - cluster.rng: comments around fence devices


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=ac9ba8add8ef6fdacdaf766026741e42101ba11b
Commit:        ac9ba8add8ef6fdacdaf766026741e42101ba11b
Parent:        25dd066e31c42b188fbd686f3b85358d0435db9e
Author:        David Teigland <teigland@redhat.com>
AuthorDate:    Tue Jul 28 14:26:46 2009 -0500
Committer:     David Teigland <teigland@redhat.com>
CommitterDate: Tue Jul 28 14:26:46 2009 -0500

cluster.rng: comments around fence devices

trying to understand the structure

Signed-off-by: David Teigland <teigland@redhat.com>
---
 config/tools/xml/cluster.rng |   31 +++++++++++++++++++++----------
 1 files changed, 21 insertions(+), 10 deletions(-)

diff --git a/config/tools/xml/cluster.rng b/config/tools/xml/cluster.rng
index ee54f04..2936cf7 100644
--- a/config/tools/xml/cluster.rng
+++ b/config/tools/xml/cluster.rng
@@ -672,6 +672,9 @@ To validate your cluster.conf against this schema, run:
          be used." rha:sample="fence_apc"/>
      <optional>
       <choice>
+       <!-- begin specific fence devices -->
+
+       <!-- begin non-generated device definitions -->
        <!-- RPS10 -->
        <group rha:description="RPS10 Serial Switch" >
         <attribute name="device" rha:description="The device the switch
@@ -761,8 +764,9 @@ To validate your cluster.conf against this schema, run:
        <group>
         <attribute name="rpowerpath" rha:description="" rha:sample=""/>
        </group>
+       <!-- end non-generated device definitions -->
 
-<!-- autogenerated ones -->
+       <!-- begin auto-generated device definitions -->
       <!-- fence_alom -->
       <group>
         <optional>
@@ -1097,15 +1101,15 @@ To validate your cluster.conf against this schema, run:
           <attribute name="timeout"/>
         </optional>
       </group>
+       <!-- end auto-generated device definitions -->
 
-<!-- end autogenerated -->
-
-       <!-- manual -->
        <group>
         <optional>
          <empty/>
         </optional>
        </group>
+
+       <!-- end specific fence devices -->
       </choice>
      </optional>
     </element>
@@ -2301,7 +2305,7 @@ To validate your cluster.conf against this schema, run:
 <!-- End autogenerated resources definitions -->
 <!--End of resource definitions-->
 
-<!--Beginning of fence definitions-->
+<!-- begin node fence definitions -->
 
  <define name="FENCE">
   <element name="fence" rha:description="The fence element specifies how
@@ -2338,8 +2342,9 @@ To validate your cluster.conf against this schema, run:
     <data type="IDREF"/>
    </attribute>
    <choice>
+      <!-- begin node fence specific devices -->
 
-<!-- autogenerated -->
+      <!-- begin auto-generated device definitions -->
       <!-- fence_alom -->
       <group>
         <optional>
@@ -2662,8 +2667,9 @@ To validate your cluster.conf against this schema, run:
           <attribute name="timeout"/>
         </optional>
       </group>
+      <!-- end auto-generated device definitions -->
 
-
+      <!-- begin non-generated device definitions -->
         <!-- Brocade, Vixel, McData, SANBox2 -->
         <group>
          <attribute name="port"/>
@@ -2734,7 +2740,12 @@ To validate your cluster.conf against this schema, run:
           <attribute name="domain"/>
          </optional>
         </group>
-       </choice>
-      </element>
-     </define>
+      <!-- end non-generated device definitions -->
+
+   <!-- end node fence specific devices -->
+   </choice>
+  </element>
+ </define>
+<!-- end node fence definitions -->
+
 </grammar>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]