cluster: STABLE3 - config: Add data type checkers for some attrs
Lon Hohberger
lon@fedoraproject.org
Tue Sep 8 17:16:00 GMT 2009
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=""/>
More information about the Cluster-cvs
mailing list