Page Menu
Home
ClusterLabs Projects
Search
Configure Global Search
Log In
Files
F3687550
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/options-4.0.rng b/xml/options-4.0.rng
index 5966e1a96b..38fab3991c 100644
--- a/xml/options-4.0.rng
+++ b/xml/options-4.0.rng
@@ -1,117 +1,115 @@
<?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="options"/>
</start>
<!--
Include rule definitions so that we can override element-nvset.rule based on
context
-->
<include href="rule-4.0.rng">
<start combine="choice">
<notAllowed/>
</start>
</include>
<!--
Disallow cluster property name-value pairs for which support was recently
dropped. The idea is to prevent a user from adding the option under the
belief that it will still affect behavior. Sometime in the future, re-allow
these as custom properties or values.
-->
<define name="cluster_property_set.nvpair.unsupported">
<choice>
<group>
<attribute name="name">
<data type="string">
<except>
<choice>
<value>crmd-finalization-timeout</value>
<value>crmd-integration-timeout</value>
<value>crmd-transition-delay</value>
<value>remove-after-stop</value>
<value>stonith-action</value>
</choice>
</except>
</data>
</attribute>
- <optional>
- <attribute name="value"><text/></attribute>
- </optional>
+ <attribute name="value"><text/></attribute>
</group>
<!-- stonith-action is allowed with value other than "poweroff" -->
<group>
<attribute name="name">
<value type="string">stonith-action</value>
</attribute>
<attribute name="value">
<data type="string">
<except>
<choice>
<value>poweroff</value>
</choice>
</except>
</data>
</attribute>
</group>
</choice>
</define>
<define name="options">
<interleave>
<element name="crm_config">
<zeroOrMore>
<element name="cluster_property_set">
<grammar>
<include href="nvset-4.0.rng">
<define name="element-nvset.name-value">
<parentRef name="cluster_property_set.nvpair.unsupported"/>
</define>
</include>
</grammar>
</element>
</zeroOrMore>
</element>
<optional>
<element name="rsc_defaults">
<zeroOrMore>
<element name="meta_attributes">
<grammar>
<include href="nvset-4.0.rng">
<define name="element-nvset.name-value">
<ref name="rsc_meta_attributes.nvpair.unsupported"/>
</define>
<define name="element-nvset.rule">
<parentRef name="element-rule-rsc_defaults"/>
</define>
</include>
</grammar>
</element>
</zeroOrMore>
</element>
</optional>
<optional>
<element name="op_defaults">
<zeroOrMore>
<element name="meta_attributes">
<grammar>
<include href="nvset-4.0.rng">
<define name="element-nvset.name-value">
<ref name="op_meta_attributes.nvpair.unsupported"/>
</define>
<define name="element-nvset.rule">
<parentRef name="element-rule-op_defaults"/>
</define>
</include>
</grammar>
</element>
</zeroOrMore>
</element>
</optional>
</interleave>
</define>
</grammar>
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Mon, Apr 21, 7:55 PM (11 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1665620
Default Alt Text
(3 KB)
Attached To
Mode
rP Pacemaker
Attached
Detach File
Event Timeline
Log In to Comment