Page Menu
Home
ClusterLabs Projects
Search
Configure Global Search
Log In
Files
F2825250
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
3 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/xml/constraints.rng b/xml/constraints.rng
index ffc064cf4d..42ab90c690 100644
--- a/xml/constraints.rng
+++ b/xml/constraints.rng
@@ -1,108 +1,110 @@
<?xml version="1.0" encoding="utf-8"?>
<grammar xmlns="http://relaxng.org/ns/structure/1.0"
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
<start>
<ref name="element-constraints"/>
</start>
<define name="element-constraints">
<zeroOrMore>
<choice>
<ref name="element-location"/>
<ref name="element-colocation"/>
<ref name="element-order"/>
</choice>
</zeroOrMore>
</define>
<define name="element-location">
<element name="rsc_location">
<attribute name="id"><data type="ID"/></attribute>
<attribute name="rsc"><data type="IDREF"/></attribute>
<choice>
<group>
<externalRef href="score.rng"/>
<attribute name="node"><data type="IDREF"/></attribute>
</group>
- <externalRef href="rule.rng"/>
+ <oneOrMore>
+ <externalRef href="rule.rng"/>
+ </oneOrMore>
</choice>
<optional>
<ref name="element-lifetime"/>
</optional>
</element>
</define>
<define name="element-colocation">
<element name="rsc_colocation">
<attribute name="id"><data type="ID"/></attribute>
<attribute name="from"><data type="IDREF"/></attribute>
<attribute name="to"><data type="IDREF"/></attribute>
<externalRef href="score.rng"/>
<optional>
<ref name="element-lifetime"/>
</optional>
<optional>
<attribute name="from_role">
<ref name="attribute-roles"/>
</attribute>
</optional>
<optional>
<attribute name="to_role">
<ref name="attribute-roles"/>
</attribute>
</optional>
</element>
</define>
<define name="element-order">
<element name="rsc_order">
<attribute name="id"><data type="ID"/></attribute>
<attribute name="from"><data type="IDREF"/></attribute>
<attribute name="to"><data type="IDREF"/></attribute>
<externalRef href="score.rng"/>
<optional>
<ref name="element-lifetime"/>
</optional>
<optional>
<attribute name="symmetrical"><data type="boolean"/></attribute>
</optional>
<optional>
<attribute name="action">
<ref name="attribute-actions"/>
</attribute>
</optional>
<optional>
<attribute name="to_action">
<ref name="attribute-actions"/>
</attribute>
</optional>
</element>
</define>
<define name="attribute-actions">
<choice>
<value>start</value>
<value>promote</value>
<value>demote</value>
<value>stop</value>
</choice>
</define>
<define name="attribute-roles">
<choice>
<value>Stopped</value>
<value>Started</value>
<value>Master</value>
<value>Slave</value>
</choice>
</define>
<define name="element-lifetime">
<element name="lifetime">
<oneOrMore>
<externalRef href="rule.rng"/>
</oneOrMore>
</element>
</define>
</grammar>
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sat, Jan 25, 11:55 AM (1 d, 19 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1322459
Default Alt Text
(3 KB)
Attached To
Mode
rP Pacemaker
Attached
Detach File
Event Timeline
Log In to Comment