Gitweb:
http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=...
Commit: 1c3cc2a3ad2713bcd9d518cf70d7b045af0df598
Parent: 9897e9cc034cae278c66c358a4265ae668e45e9f
Author: Lon Hohberger <lhh(a)redhat.com>
AuthorDate: Wed Sep 16 11:57:48 2009 -0400
Committer: Lon Hohberger <lhh(a)redhat.com>
CommitterDate: Wed Sep 16 11:57:48 2009 -0400
config: Add missing stuff to schema
Signed-off-by: Lon Hohberger <lhh(a)redhat.com>
---
config/tools/xml/cluster.rng.in | 30 ++++++++++++++++++++++++++++++
1 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/config/tools/xml/cluster.rng.in b/config/tools/xml/cluster.rng.in
index 801b3da..871d44e 100644
--- a/config/tools/xml/cluster.rng.in
+++ b/config/tools/xml/cluster.rng.in
@@ -1990,6 +1990,9 @@ To validate your cluster.conf against this schema, run:
<attribute name="migrate"/>
</optional>
<optional>
+ <attribute name="path"/>
+ </optional>
+ <optional>
<attribute name="snapshot"/>
</optional>
<optional>
@@ -2223,6 +2226,32 @@ To validate your cluster.conf against this schema, run:
</define>
+ <define name="DRBD">
+ <element name="drbd">
+ <!-- This is a DRBD resource. -->
+ <choice>
+ <group>
+ <!-- rgmanager specific stuff -->
+ <attribute name="ref"/>
+ </group>
+ <group>
+ <attribute name="name"/>
+ <attribute name="resource"/>
+ </group>
+ </choice>
+ <optional>
+ <attribute name="__independent_subtree"/>
+ </optional>
+ <optional>
+ <attribute name="__enforce_timeouts"/>
+ </optional>
+ <optional>
+ <ref name="CHILDREN"/>
+ </optional>
+ </element>
+ </define>
+
+
<define name="FS">
<element name="fs">
<!-- Defines a file system mount. -->
@@ -2334,6 +2363,7 @@ To validate your cluster.conf against this schema, run:
<ref name="SAPDATABASE"/>
<ref name="NAMED"/>
<ref name="ASEHAAGENT"/>
+ <ref name="DRBD"/>
<ref name="FS"/>
<ref name="ORACLEDB"/>
<ref name="RESOURCEACTION"/>