blob: 4d01d1c29a0d6fb5ef6aafd520ce43e30131f6df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
|
<?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-crm-mon"/>
</start>
<define name="element-crm-mon">
<optional>
<ref name="element-summary" />
</optional>
<optional>
<ref name="nodes-list" />
</optional>
<optional>
<ref name="resources-list" />
</optional>
<optional>
<ref name="node-attributes-list" />
</optional>
<optional>
<externalRef href="node-history-2.12.rng"/>
</optional>
<optional>
<ref name="failures-list" />
</optional>
<optional>
<ref name="fence-event-list" />
</optional>
<optional>
<ref name="tickets-list" />
</optional>
<optional>
<ref name="bans-list" />
</optional>
</define>
<define name="element-summary">
<element name="summary">
<optional>
<element name="stack">
<attribute name="type"> <text /> </attribute>
</element>
</optional>
<optional>
<element name="current_dc">
<attribute name="present"> <data type="boolean" /> </attribute>
<optional>
<group>
<attribute name="version"> <text /> </attribute>
<attribute name="name"> <text /> </attribute>
<attribute name="id"> <text /> </attribute>
<attribute name="with_quorum"> <data type="boolean" /> </attribute>
</group>
</optional>
</element>
</optional>
<optional>
<element name="last_update">
<attribute name="time"> <text /> </attribute>
</element>
<element name="last_change">
<attribute name="time"> <text /> </attribute>
<attribute name="user"> <text /> </attribute>
<attribute name="client"> <text /> </attribute>
<attribute name="origin"> <text /> </attribute>
</element>
</optional>
<optional>
<element name="nodes_configured">
<attribute name="number"> <data type="nonNegativeInteger" /> </attribute>
</element>
<element name="resources_configured">
<attribute name="number"> <data type="nonNegativeInteger" /> </attribute>
<attribute name="disabled"> <data type="nonNegativeInteger" /> </attribute>
<attribute name="blocked"> <data type="nonNegativeInteger" /> </attribute>
</element>
</optional>
<optional>
<element name="cluster_options">
<attribute name="stonith-enabled"> <data type="boolean" /> </attribute>
<attribute name="symmetric-cluster"> <data type="boolean" /> </attribute>
<attribute name="no-quorum-policy"> <text /> </attribute>
<attribute name="maintenance-mode"> <data type="boolean" /> </attribute>
<attribute name="stop-all-resources"> <data type="boolean" /> </attribute>
<attribute name="stonith-timeout-ms"> <data type="integer" /> </attribute>
<attribute name="priority-fencing-delay-ms"> <data type="integer" /> </attribute>
</element>
</optional>
</element>
</define>
<define name="resources-list">
<element name="resources">
<zeroOrMore>
<externalRef href="resources-2.4.rng" />
</zeroOrMore>
</element>
</define>
<define name="nodes-list">
<element name="nodes">
<zeroOrMore>
<externalRef href="nodes-2.19.rng" />
</zeroOrMore>
</element>
</define>
<define name="node-attributes-list">
<element name="node_attributes">
<zeroOrMore>
<externalRef href="node-attrs-2.8.rng" />
</zeroOrMore>
</element>
</define>
<define name="failures-list">
<element name="failures">
<zeroOrMore>
<externalRef href="failure-2.8.rng" />
</zeroOrMore>
</element>
</define>
<define name="fence-event-list">
<element name="fence_history">
<optional>
<attribute name="status"> <data type="integer" /> </attribute>
</optional>
<zeroOrMore>
<externalRef href="fence-event-2.15.rng" />
</zeroOrMore>
</element>
</define>
<define name="tickets-list">
<element name="tickets">
<zeroOrMore>
<ref name="element-ticket" />
</zeroOrMore>
</element>
</define>
<define name="bans-list">
<element name="bans">
<zeroOrMore>
<ref name="element-ban" />
</zeroOrMore>
</element>
</define>
<define name="element-ticket">
<element name="ticket">
<attribute name="id"> <text /> </attribute>
<attribute name="status">
<choice>
<value>granted</value>
<value>revoked</value>
</choice>
</attribute>
<attribute name="standby"> <data type="boolean" /> </attribute>
<optional>
<attribute name="last-granted"> <text /> </attribute>
</optional>
</element>
</define>
<define name="element-ban">
<element name="ban">
<attribute name="id"> <text /> </attribute>
<attribute name="resource"> <text /> </attribute>
<attribute name="node"> <text /> </attribute>
<attribute name="weight"> <data type="integer" /> </attribute>
<attribute name="promoted-only"> <data type="boolean" /> </attribute>
<!-- DEPRECATED: master_only is a duplicate of promoted-only that is
provided solely for API backward compatibility. It will be
removed in a future release. Check promoted-only instead.
-->
<attribute name="master_only"> <data type="boolean" /> </attribute>
</element>
</define>
</grammar>
|