cluster: STABLE3 - fence_na: add support to the validation schema

Fabio M. Di Nitto fabbione at fedoraproject.org
Thu Sep 2 04:45:22 UTC 2010


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=d2e88b84eb6878e310ec4c2bfba67f601157f02a
Commit:        d2e88b84eb6878e310ec4c2bfba67f601157f02a
Parent:        9be5618adfbd6d3c1c36b9d38a09df47517ca618
Author:        Fabio M. Di Nitto <fdinitto at redhat.com>
AuthorDate:    Tue Aug 24 13:12:53 2010 +0200
Committer:     Fabio M. Di Nitto <fdinitto at redhat.com>
CommitterDate: Thu Sep 2 06:44:10 2010 +0200

fence_na: add support to the validation schema

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>
Signed-off-by: Lon Hohberger <lhh at 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 06fd5b0..a9366d9 100644
--- a/config/tools/xml/cluster.rng.in
+++ b/config/tools/xml/cluster.rng.in
@@ -2433,6 +2433,36 @@ To validate your cluster.conf against this schema, run:
         </optional>
        </group>
 
+       <!-- fence_na -->
+       <group>
+         <optional>
+           <attribute name="option"/> <!-- deprecated; for compatibility.  use "action" -->
+         </optional>
+ 	<!-- I don't think I need this yet.
+         <optional>
+           <attribute name="auth" rha:description="Node Assassin Auth type (password or none)" />
+         </optional>
+ 	-->
+         <optional>
+           <attribute name="ipaddr" rha:description="Node Assassin IP or name to talk to" />
+         </optional>
+         <optional>
+           <attribute name="passwd" rha:description="Password needed to access the Node Assassin(s)" />
+         </optional>
+         <optional>
+           <attribute name="passwd_script" rha:description="Script to retrieve password (not implemented)" />
+         </optional>
+         <optional>
+           <attribute name="login" rha:description="Login name used to log into the Node Assassin(s)" />
+         </optional>
+         <optional>
+           <attribute name="action" rha:description="Operation to perform. Valid operations: on, off, reboot, status, list, release, boot or shutdown" />
+         </optional>
+         <optional>
+           <attribute name="quiet" rha:description="Supress output" />
+         </optional>
+       </group>
+ 
        <!-- end non-generated device definitions -->
 
        <!-- begin auto-generated device definitions -->


More information about the cluster-commits mailing list