summaryrefslogtreecommitdiffstats
path: root/xml/nodes-3.10.rng
blob: ac2c5579c2948b0d2d13a639a5d3e2a52a583e58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?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-nodes"/>
  </start>

  <define name="element-nodes">
    <element name="nodes">
      <zeroOrMore>
        <element name="node">
          <attribute name="id"><text/></attribute>
          <attribute name="uname"><text/></attribute>
          <optional>
            <attribute name="type">
              <choice>
                <value>member</value>
                <value>remote</value>

                <!-- @COMPAT ping nodes are deprecated since 2.1.3 -->
                <value>ping</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="description"><text/></attribute>
          </optional>
          <optional>
            <externalRef href="score.rng"/>
          </optional>
          <zeroOrMore>
            <choice>
              <element name="instance_attributes">
                <externalRef href="nvset-3.10.rng"/>
              </element>
              <element name="utilization">
                <externalRef href="nvset-3.10.rng"/>
              </element>
            </choice>
          </zeroOrMore>
        </element>
      </zeroOrMore>
    </element>
  </define>

</grammar>