diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 06:48:59 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 06:48:59 +0000 |
commit | d835b2cae8abc71958b69362162e6a70c3d7ef63 (patch) | |
tree | 81052e3d2ce3e1bcda085f73d925e9d6257dec15 /test/unittests/schemas/fencing.rng | |
parent | Initial commit. (diff) | |
download | crmsh-d835b2cae8abc71958b69362162e6a70c3d7ef63.tar.xz crmsh-d835b2cae8abc71958b69362162e6a70c3d7ef63.zip |
Adding upstream version 4.6.0.upstream/4.6.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | test/unittests/schemas/fencing.rng | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/test/unittests/schemas/fencing.rng b/test/unittests/schemas/fencing.rng new file mode 100644 index 0000000..87de5a8 --- /dev/null +++ b/test/unittests/schemas/fencing.rng @@ -0,0 +1,29 @@ +<?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-stonith"/> + </start> + + <define name="element-stonith"> + <element name="fencing-topology"> + <zeroOrMore> + <ref name="element-level"/> + </zeroOrMore> + </element> + </define> + + <define name="element-level"> + <element name="fencing-level"> + <attribute name="id"><data type="ID"/></attribute> + <attribute name="target"><text/></attribute> + <attribute name="index"><data type="positiveInteger"/></attribute> + <attribute name="devices"> + <data type="string"> + <param name="pattern">([a-zA-Z0-9_\.\-]+)(,[a-zA-Z0-9_\.\-]+)*</param> + </data> + </attribute> + </element> + </define> + +</grammar> |