LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File config_update_schema.patch of Package cluster (Project home:sschapiro:openstack:upstream)

commit 2688aaefcb107f2174d334d34dbb7fffb76ac131
Author: Lon Hohberger <lhh@redhat.com>
Date:   Fri Jul 9 14:36:44 2010 -0400

    config: Update cluster schema
    
    Resolves: rhbz#595547 rhbz#593015
    
    Signed-off-by: Lon Hohberger <lhh@redhat.com>

diff --git a/config/tools/xml/cluster.rng.in b/config/tools/xml/cluster.rng.in
index cc29617..dad3191 100644
--- a/config/tools/xml/cluster.rng.in
+++ b/config/tools/xml/cluster.rng.in
@@ -1872,6 +1872,42 @@ To validate your cluster.conf against this schema, run:
   </define>
 
 
+  <define name="NFSSERVER">
+    <element name="nfsserver" rha:description="This defines an NFS server resource.">
+      <choice>
+      <group>
+        <!-- rgmanager specific stuff -->
+        <attribute name="ref" rha:description="Reference to existing nfsserver resource in the resources section."/>
+      </group>
+      <group>
+        <attribute name="name" rha:description="Name"/>
+        <optional>
+          <attribute name="path" rha:description="This is the path you intend to export."/>
+        </optional>
+        <optional>
+          <attribute name="nfspath" rha:description="This is the path containing shared NFS recovery information, relative to the path parameter."/>
+        </optional>
+      </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>
+        <ref name="CHILDREN"/>
+      </optional>
+    </element>
+  </define>
+
+
   <define name="FS">
     <element name="fs" rha:description="Defines a file system mount.">
       <choice>
@@ -1991,6 +2027,7 @@ To validate your cluster.conf against this schema, run:
         <ref name="SAPDATABASE"/>
         <ref name="NAMED"/>
         <ref name="ASEHAAGENT"/>
+        <ref name="NFSSERVER"/>
         <ref name="FS"/>
         <ref name="ORACLEDB"/>
       <ref name="RESOURCEACTION"/>