diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 06:53:20 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 06:53:20 +0000 |
commit | e5a812082ae033afb1eed82c0f2df3d0f6bdc93f (patch) | |
tree | a6716c9275b4b413f6c9194798b34b91affb3cc7 /xml/api/crmadmin-2.4.rng | |
parent | Initial commit. (diff) | |
download | pacemaker-e5a812082ae033afb1eed82c0f2df3d0f6bdc93f.tar.xz pacemaker-e5a812082ae033afb1eed82c0f2df3d0f6bdc93f.zip |
Adding upstream version 2.1.6.upstream/2.1.6
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'xml/api/crmadmin-2.4.rng')
-rw-r--r-- | xml/api/crmadmin-2.4.rng | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/xml/api/crmadmin-2.4.rng b/xml/api/crmadmin-2.4.rng new file mode 100644 index 0000000..34c9ca4 --- /dev/null +++ b/xml/api/crmadmin-2.4.rng @@ -0,0 +1,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> |