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 - config: Fix up a couple things in cluster.rng


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=29dc34349cf0952234db11e1b702b850af900bde
Commit:        29dc34349cf0952234db11e1b702b850af900bde
Parent:        6c1ca6b9a7f5e8f0329a0e66cf7947a8b09f7916
Author:        Lon Hohberger <lhh@redhat.com>
AuthorDate:    Wed Mar 25 22:25:42 2009 -0400
Committer:     Lon Hohberger <lhh@redhat.com>
CommitterDate: Wed Mar 25 22:27:00 2009 -0400

config: Fix up a couple things in cluster.rng

* Add fence_xvmd parameters
* Allow no heuristics w/ quorumd tag
* Add missing rgmanager fields

Signed-off-by: Lon Hohberger <lhh@redhat.com>
---
 config/tools/xml/cluster.rng |   77 ++++++++++++++++++++++++++++++++++++++----
 1 files changed, 70 insertions(+), 7 deletions(-)

diff --git a/config/tools/xml/cluster.rng b/config/tools/xml/cluster.rng
index 62d9b3b..24b6ee8 100644
--- a/config/tools/xml/cluster.rng
+++ b/config/tools/xml/cluster.rng
@@ -641,7 +641,52 @@ To validate your cluster.conf against this schema, run:
 
  <optional>
   <element name="fence_xvmd">
-   <empty/>
+    <optional>
+      <attribute name="debug">
+	<data type="integer"/>
+      </attribute>
+    </optional>
+    <optional>
+      <attribute name="port">
+	<data type="integer"/>
+      </attribute>
+    </optional>
+    <optional>
+      <attribute name="use_uuid">
+	<data type="boolean"/>
+      </attribute>
+    </optional>
+    <optional>
+      <attribute name="multicast_address">
+	<data type="string"/>
+      </attribute>
+    </optional>
+    <optional>
+      <attribute name="auth">
+	<data type="string"/>
+      </attribute>
+    </optional>
+    <optional>
+      <attribute name="hash">
+	<data type="string"/>
+      </attribute>
+    </optional>
+    <optional>
+      <attribute name="uri">
+	<data type="string"/>
+      </attribute>
+    </optional>
+    <optional>
+      <attribute name="key_file">
+	<data type="string"/>
+      </attribute>
+    </optional>
+    <optional>
+      <attribute name="multicast_interface">
+	<data type="string"/>
+      </attribute>
+    </optional>
+
   </element>
  </optional>
 
@@ -727,16 +772,34 @@ To validate your cluster.conf against this schema, run:
  <optional>
   <element name="rm">
    <optional>
-    <attribute name="log_level"/>
+    <attribute name="log_level">
+     <data type="integer"/>
+    </attribute>
    </optional>
    <optional>
-    <attribute name="statusmax"/>
+    <attribute name="statusmax">
+     <data type="integer"/>
+    </attribute>
    </optional>
    <optional>
-    <attribute name="central_processing"/>
+    <attribute name="status_poll_interval">
+     <data type="integer"/>
+    </attribute>
    </optional>
    <optional>
-    <attribute name="log_facility"/>
+    <attribute name="transition_throttling">
+     <data type="integer"/>
+    </attribute>
+   </optional>
+   <optional>
+    <attribute name="central_processing">
+     <data type="integer"/>
+    </attribute>
+   </optional>
+   <optional>
+    <attribute name="log_facility">
+     <data type="string"/>
+    </attribute>
    </optional>
    <interleave>
    <optional>
@@ -896,7 +959,7 @@ To validate your cluster.conf against this schema, run:
     <attribute name="max_error_cycles"/>
    </optional>
 
-   <oneOrMore>
+   <zeroOrMore>
     <element name="heuristic">
      <attribute name="program"/>
      <optional>
@@ -909,7 +972,7 @@ To validate your cluster.conf against this schema, run:
       <attribute name="tko"/>
      </optional>
     </element>
-   </oneOrMore>
+   </zeroOrMore>
   </element>
  </optional>
 


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