public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: STABLE3 - config: Add data type checkers for some attrs
@ 2009-09-08 17:16 Lon Hohberger
  0 siblings, 0 replies; only message in thread
From: Lon Hohberger @ 2009-09-08 17:16 UTC (permalink / raw)
  To: cluster-cvs-relay

Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=878cff5f7168575422a1339295723141989e60bc
Commit:        878cff5f7168575422a1339295723141989e60bc
Parent:        e13262aa941b2686236853810d3f5463de31d733
Author:        Lon Hohberger <lhh@redhat.com>
AuthorDate:    Tue Sep 8 13:13:01 2009 -0400
Committer:     Lon Hohberger <lhh@redhat.com>
CommitterDate: Tue Sep 8 13:13:01 2009 -0400

config: Add data type checkers for some attrs

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

diff --git a/config/tools/xml/cluster.rng.in b/config/tools/xml/cluster.rng.in
index 04e6cc1..801b3da 100644
--- a/config/tools/xml/cluster.rng.in
+++ b/config/tools/xml/cluster.rng.in
@@ -80,18 +80,24 @@ To validate your cluster.conf against this schema, run:
          is present. If qdisk takes more time to send a hello message
          to cman and ais than by quorum_dev_poll, then cman declares
          qdisk dead and prints a message indicating that connection to
-         the quorum device has been lost." rha:sample="50000"/>
+         the quorum device has been lost." rha:sample="50000">
+      <data type="nonNegativeInteger"/>
+     </attribute>
     </optional>
     <!--FIXME: Clarify the following. What is meant by "service"? Also, is
      there a default value? What is a good sample value?-->
     <optional>
      <attribute name="shutdown_timeout" rha:description="Timeout period,
          in milliseconds, to allow a service to respond during a
-         shutdown." rha:sample="5000"/>
+         shutdown." rha:sample="5000">
+      <data type="nonNegativeInteger"/>
+     </attribute>
     </optional>
     <optional>
      <attribute name="ccsd_poll" rha:description="" rha:sample=""
-         rha:default="1000"/>
+         rha:default="1000">
+      <data type="nonNegativeInteger"/>
+     </attribute>
     </optional>
     <optional>
      <attribute name="debug_mask" rha:description="" rha:sample=""/>


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-09-08 17:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-08 17:16 cluster: STABLE3 - config: Add data type checkers for some attrs Lon Hohberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).