Page Menu
Home
ClusterLabs Projects
Search
Configure Global Search
Log In
Files
F3153527
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/ra/ra-api-1.rng b/ra/ra-api-1.rng
new file mode 100644
index 0000000..a288997
--- /dev/null
+++ b/ra/ra-api-1.rng
@@ -0,0 +1,103 @@
+<?xml version="1.0" encoding="utf-8"?>
+<grammar xmlns="http://relaxng.org/ns/structure/1.0">
+
+<start><element name="resource-agent">
+ <attribute name="name" />
+ <optional><attribute name="version" /></optional>
+
+ <element name="version"> <text /> </element>
+
+ <element name="parameters"> <oneOrMore>
+ <element name="parameter">
+ <attribute name="name" />
+ <optional>
+ <attribute name="unique"> <ref name="boolean-values" /> </attribute>
+ </optional>
+
+ <oneOrMore> <element name="longdesc">
+ <attribute name="lang" />
+ <ref name="anyElement" />
+ </element> </oneOrMore>
+
+ <oneOrMore> <element name="shortdesc">
+ <attribute name="lang" />
+ <ref name="anyElement" />
+ </element> </oneOrMore>
+
+ <element name="content">
+ <choice>
+ <attribute name="type">
+ <choice>
+ <value>boolean</value>
+ <value>string</value>
+ <value>integer</value>
+ </choice>
+ </attribute>
+ </choice>
+ <optional>
+ <attribute name="default"> <text /> </attribute>
+ </optional>
+ </element>
+ </element>
+ </oneOrMore> </element>
+
+ <element name="actions"> <oneOrMore>
+ <element name="action">
+ <attribute name="name">
+ <choice>
+ <value>start</value>
+ <value>stop</value>
+ <value>recover</value>
+ <value>status</value>
+ <value>reload</value>
+ <value>meta-data</value>
+ <value>verify-all</value>
+ </choice>
+ </attribute>
+ <attribute name="timeout" />
+ <optional><attribute name="interval" /></optional>
+ <optional><attribute name="start-delay" /></optional>
+ <optional><attribute name="depth" /></optional>
+ </element>
+ </oneOrMore> </element>
+ <element name="special">
+ <attribute name="tag" />
+ <ref name="anyElement" />
+ </element>
+</element></start>
+
+<define name="boolean-values">
+ <choice>
+ <value>0</value>
+ <value>1</value>
+ </choice>
+</define>
+
+<define name="any">
+ <zeroOrMore>
+ <choice>
+ <attribute>
+ <anyName/>
+ </attribute>
+ <text/>
+ <element>
+ <anyName/>
+ <ref name="any" />
+ </element>
+ </choice>
+ </zeroOrMore>
+</define>
+
+<define name="anyElement">
+ <zeroOrMore>
+ <choice>
+ <text/>
+ <element>
+ <anyName/>
+ <ref name="any" />
+ </element>
+ </choice>
+ </zeroOrMore>
+ </define>
+
+</grammar>
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Tue, Feb 25, 9:06 PM (1 d, 9 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1464977
Default Alt Text
(2 KB)
Attached To
Mode
rO OCF-spec
Attached
Detach File
Event Timeline
Log In to Comment