blob: 34c9ca4307a88668401fc74cc018769d15e22e55 (
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
|
<?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-crmadmin"/>
</start>
<define name="element-crmadmin">
<optional>
<ref name="element-status" />
</optional>
<optional>
<ref name="element-pacemakerd" />
</optional>
<optional>
<ref name="element-dc" />
</optional>
<optional>
<ref name="crmadmin-nodes-list" />
</optional>
</define>
<define name="element-status">
<element name="crmd">
<attribute name="node_name"> <text /> </attribute>
<attribute name="state"> <text /> </attribute>
<attribute name="result"> <text /> </attribute>
</element>
</define>
<define name="element-pacemakerd">
<element name="pacemakerd">
<attribute name="state"> <text /> </attribute>
<attribute name="last_updated"> <text /> </attribute>
</element>
</define>
<define name="element-dc">
<element name="dc">
<attribute name="node_name"> <text /> </attribute>
</element>
</define>
<define name="crmadmin-nodes-list">
<element name="nodes">
<zeroOrMore>
<ref name="element-crmadmin-node" />
</zeroOrMore>
</element>
</define>
<define name="element-crmadmin-node">
<element name="node">
<attribute name="type">
<choice>
<value>unknown</value>
<value>member</value>
<value>remote</value>
<value>ping</value>
</choice>
</attribute>
<attribute name="name"> <text/> </attribute>
<attribute name="id"> <text/> </attribute>
</element>
</define>
</grammar>
|