Revision f66e022b

View differences:

share/doc/xsd/acct.xsd
78 78
          MONITOR_ACTION          = 44
79 79
        -->
80 80
        <xs:element name="ACTION" type="xs:integer"/>
81

  
81
        <xs:element name="UID" type="xs:integer"/>
82
        <xs:element name="GID" type="xs:integer"/>
83
        <xs:element name="REQUEST_ID" type="xs:string"/>
82 84
        <xs:element name="VM">
83 85
          <xs:complexType>
84 86
            <xs:sequence>
share/doc/xsd/host.xsd
31 31
              <!-- ^^ KB, Usage of MEMORY calculated by ONE as the summatory MEMORY requested by all VMs running in the host   -->
32 32
              <xs:element name="CPU_USAGE" type="xs:integer"/>
33 33
              <!-- ^^ Percentage, Usage of CPU calculated by ONE as the summatory CPU requested by all VMs running in the host   -->
34
              <xs:element name="TOTAL_MEM" type="xs:integer"/>
35
              <xs:element name="TOTAL_CPU" type="xs:integer"/>
34 36
              <xs:element name="MAX_DISK" type="xs:integer"/>
35 37
              <xs:element name="MAX_MEM" type="xs:integer"/>
36 38
              <!-- ^^ KB, Total memory in the host   -->
......
46 48
              <!-- ^^ KB, Memory used by all host processes (including VMs) over a total of MAX_MEM   -->
47 49
              <xs:element name="USED_CPU" type="xs:integer"/>
48 50
              <!-- ^^ Percentage of CPU used by all host processes (including VMs) over a total of # cores * 100   -->
51

  
52

  
49 53
              <xs:element name="RUNNING_VMS" type="xs:integer"/>
50 54
              <xs:element name="DATASTORES">
51 55
                <xs:complexType>
share/doc/xsd/image.xsd
78 78
        <xs:element name="SNAPSHOTS">
79 79
          <xs:complexType>
80 80
            <xs:sequence>
81
              <xs:element name="ALLOW_ORPHANS" type="xs:string" minOccurs="0" maxOccurs="1"/>
81 82
              <xs:element name="SNAPSHOT" minOccurs="0" maxOccurs="unbounded">
82 83
                <xs:complexType>
83 84
                  <xs:sequence>
share/doc/xsd/test.sh
41 41
onehost create host02 --im dummy --vm dummy
42 42
onehost create host03 --im dummy --vm dummy
43 43

  
44
#Wait to monitor hosts
45
sleep 30
46

  
44 47
onecluster addhost newcluster host03
45 48

  
46 49
for i in `onehost list | tail -n +2 | tr -s ' ' | cut -f2 -d ' '`; do
share/doc/xsd/vm.xsd
72 72
                  <xs:sequence>
73 73
                    <xs:element name="OID" type="xs:integer"/>
74 74
                    <xs:element name="SEQ" type="xs:integer"/>
75
                    <xs:element name="UID" type="xs:integer"/>
76
                    <xs:element name="GID" type="xs:integer"/>
77
                    <xs:element name="REQUEST_ID" type="xs:string"/>
78 75
                    <xs:element name="HOSTNAME" type="xs:string"/>
79 76
                    <xs:element name="HID" type="xs:integer"/>
80 77
                    <xs:element name="CID" type="xs:integer"/>
......
138 135
                      MONITOR_ACTION          = 44
139 136
                    -->
140 137
                    <xs:element name="ACTION" type="xs:integer"/>
138
                    <xs:element name="UID" type="xs:integer"/>
139
                    <xs:element name="GID" type="xs:integer"/>
140
                    <xs:element name="REQUEST_ID" type="xs:string"/>
141 141
                  </xs:sequence>
142 142
                </xs:complexType>
143 143
              </xs:element>

Also available in: Unified diff