blob: f8ae6ebd4e873e95fd7e741de127205dbb0319c0 (
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
|
<?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-resource-list"/>
</start>
<define name="element-resource-list">
<interleave>
<zeroOrMore>
<ref name="element-bundle" />
</zeroOrMore>
<zeroOrMore>
<ref name="element-clone" />
</zeroOrMore>
<zeroOrMore>
<ref name="element-group" />
</zeroOrMore>
<zeroOrMore>
<ref name="element-resource" />
</zeroOrMore>
</interleave>
</define>
<define name="element-bundle">
<element name="bundle">
<attribute name="id"> <text/> </attribute>
<attribute name="type">
<choice>
<value>docker</value>
<value>rkt</value>
<value>podman</value>
</choice>
</attribute>
<attribute name="image"> <text/> </attribute>
<attribute name="unique"> <data type="boolean" /> </attribute>
<attribute name="managed"> <data type="boolean" /> </attribute>
<attribute name="failed"> <data type="boolean" /> </attribute>
<zeroOrMore>
<element name="replica">
<attribute name="id"> <data type="nonNegativeInteger" /> </attribute>
<zeroOrMore>
<ref name="element-resource" />
</zeroOrMore>
</element>
</zeroOrMore>
</element>
</define>
<define name="element-clone">
<element name="clone">
<attribute name="id"> <text/> </attribute>
<attribute name="multi_state"> <data type="boolean" /> </attribute>
<attribute name="unique"> <data type="boolean" /> </attribute>
<attribute name="managed"> <data type="boolean" /> </attribute>
<attribute name="disabled"> <data type="boolean" /> </attribute>
<attribute name="failed"> <data type="boolean" /> </attribute>
<attribute name="failure_ignored"> <data type="boolean" /> </attribute>
<optional>
<attribute name="target_role"> <text/> </attribute>
</optional>
<ref name="element-resource-list" />
</element>
</define>
<define name="element-group">
<element name="group">
<attribute name="id"> <text/> </attribute>
<attribute name="number_resources"> <data type="nonNegativeInteger" /> </attribute>
<attribute name="managed"> <data type="boolean" /> </attribute>
<attribute name="disabled"> <data type="boolean" /> </attribute>
<ref name="element-resource-list" />
</element>
</define>
<define name="element-resource">
<element name="resource">
<attribute name="id"> <text/> </attribute>
<attribute name="resource_agent"> <text/> </attribute>
<attribute name="role"> <text/> </attribute>
<optional>
<attribute name="target_role"> <text/> </attribute>
</optional>
<attribute name="active"> <data type="boolean" /> </attribute>
<attribute name="orphaned"> <data type="boolean" /> </attribute>
<optional>
<attribute name="blocked"> <data type="boolean" /> </attribute>
</optional>
<attribute name="managed"> <data type="boolean" /> </attribute>
<attribute name="failed"> <data type="boolean" /> </attribute>
<attribute name="failure_ignored"> <data type="boolean" /> </attribute>
<attribute name="nodes_running_on"> <data type="nonNegativeInteger" /> </attribute>
<optional>
<attribute name="pending"> <text/> </attribute>
</optional>
<optional>
<attribute name="locked_to"> <text/> </attribute>
</optional>
<zeroOrMore>
<element name="node">
<attribute name="name"> <text/> </attribute>
<attribute name="id"> <text/> </attribute>
<attribute name="cached"> <data type="boolean" /> </attribute>
</element>
</zeroOrMore>
<optional>
<element name="xml"> <text/> </element>
</optional>
</element>
</define>
</grammar>
|