Skip to content

Commit 1302b77

Browse files
committed
Low: tools: update crm_mon RNG schema for bundles
1 parent a755fb0 commit 1302b77

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

xml/crm_mon.rng

+26
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,9 @@
241241
<zeroOrMore>
242242
<ref name="element-clone" />
243243
</zeroOrMore>
244+
<zeroOrMore>
245+
<ref name="element-bundle" />
246+
</zeroOrMore>
244247
</interleave>
245248
</define>
246249

@@ -298,4 +301,27 @@
298301
</element>
299302
</define>
300303

304+
<define name="element-bundle">
305+
<element name="bundle">
306+
<attribute name="id"> <text/> </attribute>
307+
<attribute name="type">
308+
<choice>
309+
<value>docker</value>
310+
</choice>
311+
</attribute>
312+
<attribute name="image"> <text/> </attribute>
313+
<attribute name="unique"> <data type="boolean" /> </attribute>
314+
<attribute name="managed"> <data type="boolean" /> </attribute>
315+
<attribute name="failed"> <data type="boolean" /> </attribute>
316+
<zeroOrMore>
317+
<element name="replica">
318+
<attribute name="id"> <data type="int" /> </attribute>
319+
<zeroOrMore>
320+
<ref name="element-resource" />
321+
</zeroOrMore>
322+
</element>
323+
</zeroOrMore>
324+
</element>
325+
</define>
326+
301327
</grammar>

0 commit comments

Comments
 (0)