public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
From: Lon Hohberger <lon@fedoraproject.org>
To: cluster-cvs-relay@redhat.com
Subject: cluster: STABLE3 - config: Add data type checkers for some attrs
Date: Tue, 08 Sep 2009 17:16:00 -0000	[thread overview]
Message-ID: <20090908171543.249C91201F5@lists.fedorahosted.org> (raw)

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=""/>


                 reply	other threads:[~2009-09-08 17:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090908171543.249C91201F5@lists.fedorahosted.org \
    --to=lon@fedoraproject.org \
    --cc=cluster-cvs-relay@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).