diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 07:45:40 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 07:45:40 +0000 |
commit | 07d7f4cfa4b10de87a31b68191036ff446add675 (patch) | |
tree | 7162524d8aaf1aef62d2f4fa51f595ed113981ff /xml/api | |
parent | Adding upstream version 2.1.6. (diff) | |
download | pacemaker-upstream/2.1.7.tar.xz pacemaker-upstream/2.1.7.zip |
Adding upstream version 2.1.7.upstream/2.1.7
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'xml/api')
-rw-r--r-- | xml/api/crm_node-2.32.rng | 53 |
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> |