summaryrefslogtreecommitdiffstats
path: root/xml/api
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 07:46:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 07:46:09 +0000
commit043aa641ad4373e96fd748deb1e7fab3cb579a07 (patch)
treef8fde8a97ab5db152043f6c01043672114c0a4df /xml/api
parentReleasing progress-linux version 2.1.6-5~progress7.99u1. (diff)
downloadpacemaker-043aa641ad4373e96fd748deb1e7fab3cb579a07.tar.xz
pacemaker-043aa641ad4373e96fd748deb1e7fab3cb579a07.zip
Merging upstream version 2.1.7.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--xml/api/crm_node-2.32.rng53
1 files changed, 53 insertions, 0 deletions
diff --git a/xml/api/crm_node-2.32.rng b/xml/api/crm_node-2.32.rng
new file mode 100644
index 0000000..402c761
--- /dev/null
+++ b/xml/api/crm_node-2.32.rng
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<grammar xmlns="http://relaxng.org/ns/structure/1.0"
+ datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
+
+ <!-- Output of the crm_node command -->
+ <start>
+ <ref name="element-crm-node" />
+ </start>
+
+ <define name="element-crm-node">
+ <choice>
+ <ref name="cluster-info" />
+ <ref name="node-info" />
+ <ref name="node-list" />
+ </choice>
+ </define>
+
+ <define name="cluster-info">
+ <element name="cluster-info">
+ <attribute name="quorum"> <data type="boolean" /> </attribute>
+ </element>
+ </define>
+
+ <define name="node-info">
+ <element name="node-info">
+ <attribute name="nodeid"> <data type="nonNegativeInteger" /> </attribute>
+ <optional>
+ <attribute name="uname"> <text/> </attribute>
+ </optional>
+ </element>
+ </define>
+
+ <define name="node-list">
+ <element name="nodes">
+ <oneOrMore>
+ <ref name="element-node" />
+ </oneOrMore>
+ </element>
+ </define>
+
+ <define name="element-node">
+ <element name="node">
+ <attribute name="id"> <data type="nonNegativeInteger" /> </attribute>
+ <optional>
+ <attribute name="name"> <text/> </attribute>
+ </optional>
+ <optional>
+ <attribute name="state"> <text/> </attribute>
+ </optional>
+ </element>
+ </define>
+
+</grammar>