Gitweb:
http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=...
Commit: 0c01f1dec0c264203ee9736dcf6958c992c2fc88
Parent: 45738d2f92ecb881e77959756d5e9921fd3d1484
Author: Lon Hohberger <lhh(a)redhat.com>
AuthorDate: Fri Mar 18 10:53:20 2011 -0400
Committer: Lon Hohberger <lhh(a)redhat.com>
CommitterDate: Fri Mar 18 14:24:04 2011 -0400
config: Add DRBD 0.8.3 metadata back to schema
Resolves: rhbz#680172
Signed-off-by: Lon Hohberger <lhh(a)redhat.com>
Reviewed-by: Fabio Di Nitto <fdinitto(a)redhat.com>
---
config/tools/xml/cluster.rng.in | 38 ++++++++++++++++++++++++++++++++++++++
1 files changed, 38 insertions(+), 0 deletions(-)
diff --git a/config/tools/xml/cluster.rng.in b/config/tools/xml/cluster.rng.in
index 821fb82..ae85bd4 100644
--- a/config/tools/xml/cluster.rng.in
+++ b/config/tools/xml/cluster.rng.in
@@ -2247,6 +2247,43 @@ To validate your cluster.conf against this schema, run:
</element>
</define>
+
+ <define name="DRBD">
+ <element name="drbd" rha:description="This is a DRBD
resource.">
+ <choice>
+ <group>
+ <!-- rgmanager specific stuff -->
+ <attribute name="ref" rha:description="Reference to existing
drbd resource in the resources section."/>
+ </group>
+ <group>
+ <attribute name="name" rha:description="Cluster resource
name"/>
+ <attribute name="resource" rha:description="DRBD resource
name"/>
+ </group>
+ </choice>
+ <optional>
+ <attribute name="__independent_subtree" rha:description="Treat
this and all children as an independent subtree."/>
+ </optional>
+ <optional>
+ <attribute name="__enforce_timeouts" rha:description="Consider
a timeout for operations as fatal."/>
+ </optional>
+ <optional>
+ <attribute name="__max_failures" rha:description="Maximum
number of failures before returning a failure to a status check."/>
+ </optional>
+ <optional>
+ <attribute name="__failure_expire_time" rha:description="Amount
of time before a failure is forgotten."/>
+ </optional>
+ <optional>
+ <attribute name="__max_restarts" rha:description="Maximum
number restarts for an independent subtree before giving up."/>
+ </optional>
+ <optional>
+ <attribute name="__restart_expire_time" rha:description="Amount
of time before a failure is forgotten for an independent subtree."/>
+ </optional>
+ <optional>
+ <ref name="CHILDREN"/>
+ </optional>
+ </element>
+ </define>
+
<define name="CHILDREN">
<zeroOrMore>
<choice>
@@ -2275,6 +2312,7 @@ To validate your cluster.conf against this schema, run:
<ref name="ORALISTENER"/>
<ref name="FS"/>
<ref name="ORACLEDB"/>
+ <ref name="DRBD"/>
<ref name="RESOURCEACTION"/>
</choice>
</zeroOrMore>