[Globus Packages] / playground / java / glue / schema / base / glue / ce.xsd Repository:
ViewVC logotype

Diff of /playground/java/glue/schema/base/glue/ce.xsd

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.3, Sun Mar 9 21:21:15 2003 UTC revision 1.4, Wed Apr 16 00:49:42 2003 UTC
# Line 4  Line 4 
4    
5  <!-- $Id$ -->  <!-- $Id$ -->
6    
7  <schema targetNamespace="http://glue.base.ogsa.globus.org/ce/v_1_0_20020824"  <schema targetNamespace="http://glue.base.ogsa.globus.org/ce/1.1"
8               xmlns:ce="http://glue.base.ogsa.globus.org/ce/v_1_0_20020824"               xmlns:ce="http://glue.base.ogsa.globus.org/ce/1.1"
9               attributeFormDefault="qualified"               attributeFormDefault="qualified"
10               elementFormDefault="qualified"               elementFormDefault="qualified"
11               xmlns="http://www.w3.org/2001/XMLSchema"               xmlns="http://www.w3.org/2001/XMLSchema"
# Line 45  Line 45 
45    
46    </documentation></annotation>    </documentation></annotation>
47    
48  <element name="Glue" type="ce:GlueType" />  <element name="Cluster" type="ce:ClusterType" />
49    
50  <complexType name="GlueType">  <element name="ComputingElement" type="ce:ComputingElementType" />
51    
52    
53    
54    <attributeGroup name="IdentifiableEntity">
55    <annotation><documentation>    <annotation><documentation>
56      Contains all of the Cluster and ComputeElement elements that the      Named identifiable entities should have this attribute group.
     document contains information about.  
57    </documentation></annotation>    </documentation></annotation>
58    <sequence>    <attribute name="Name" type="string"/>
59      <element name="Cluster" type="ce:InfoType" minOccurs="0" maxOccurs="unbounded" />    <attribute name="UniqueID" type="string"/>
60      <element name="ComputingElement" type="ce:ComputingElementType" minOccurs="0" maxOccurs="unbounded" />    <attribute name="InformationServiceURL" type="anyURI"/>
61      <any namespace="##any" minOccurs="0" maxOccurs="unbounded"/>  </attributeGroup>
   </sequence>  
   <anyAttribute namespace="##any"/>  
 </complexType>  
   
62    
63    
64  <!-- ========== ComputingElement bits ========== -->  <!-- ========== ComputingElement bits ========== -->
65    
66  <complexType name="ComputingElementType">  <complexType name="ComputingElementType">
67    <annotation><documentation>    <annotation><documentation>
68      Contains information about a ComputeElement.      Contains information about a ComputeElement.
# Line 73  Line 73 
73      <element name="Policy" type="ce:PolicyType" minOccurs="0" maxOccurs="1" />      <element name="Policy" type="ce:PolicyType" minOccurs="0" maxOccurs="1" />
74      <element name="Job" type="ce:JobType" minOccurs="0" maxOccurs="unbounded" />      <element name="Job" type="ce:JobType" minOccurs="0" maxOccurs="unbounded" />
75      <element name="AccessControlBase" type="ce:AccessControlBaseType" minOccurs="0" maxOccurs="1" />      <element name="AccessControlBase" type="ce:AccessControlBaseType" minOccurs="0" maxOccurs="1" />
76      <any namespace="##any" minOccurs="0" maxOccurs="unbounded"/>      <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
77    </sequence>    </sequence>
78    
79    <attribute name="Name" type="string"/>    <attributeGroup ref="ce:IdentifiableEntity" />
80    <attribute name="UniqueID" type="string"/>    <anyAttribute namespace="##other"/>
   <anyAttribute namespace="##any"/>  
81  </complexType>  </complexType>
82    
83    
84  <complexType name="InfoType">  <complexType name="InfoType">
85    <sequence>    <sequence>
86      <any namespace="##any" minOccurs="0" maxOccurs="unbounded"/>      <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
87    </sequence>    </sequence>
88    <attribute name="LRMSType" type="string"/>    <attribute name="LRMSType" type="string"/>
89    <attribute name="LRMSVersion" type="string"/>    <attribute name="LRMSVersion" type="string"/>
# Line 92  Line 91 
91    <attribute name="HostName" type="string"/>    <attribute name="HostName" type="string"/>
92    <attribute name="GatekeeperPort" type="string"/>    <attribute name="GatekeeperPort" type="string"/>
93    <attribute name="TotalCPUs" type="string"/>    <attribute name="TotalCPUs" type="string"/>
94    <anyAttribute namespace="##any"/>    <anyAttribute namespace="##other"/>
95  </complexType>  </complexType>
96    
97    
98  <complexType name="StateType">  <complexType name="StateType">
99    <sequence>    <sequence>
100      <any namespace="##any" minOccurs="0" maxOccurs="unbounded"/>      <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
101    </sequence>    </sequence>
102    
103    <attribute name="Status" type="string">    <attribute name="Status" type="string">
# Line 123  Line 122 
122    </attribute>    </attribute>
123    
124    <attribute name="FreeCPUs" type="int"/>    <attribute name="FreeCPUs" type="int"/>
125    <anyAttribute namespace="##any"/>    <anyAttribute namespace="##other"/>
126  </complexType>  </complexType>
127    
128    
129  <complexType name="PolicyType">  <complexType name="PolicyType">
130    <sequence>    <sequence>
131      <any namespace="##any" minOccurs="0" maxOccurs="unbounded"/>      <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
132    </sequence>    </sequence>
133    
134    <attribute name="MaxWallClockTime" type="int">    <attribute name="MaxWallClockTime" type="int">
# Line 143  Line 142 
142    <attribute name="MaxTotalTime" type="int"/>    <attribute name="MaxTotalTime" type="int"/>
143    <attribute name="MaxRunningJobs" type="int"/>    <attribute name="MaxRunningJobs" type="int"/>
144    <attribute name="Priority" type="int"/>    <attribute name="Priority" type="int"/>
145    <anyAttribute namespace="##any"/>    <anyAttribute namespace="##other"/>
146  </complexType>  </complexType>
147    
148    
149  <complexType name="JobType">  <complexType name="JobType">
150    <sequence>    <sequence>
151      <any namespace="##any" minOccurs="0" maxOccurs="unbounded"/>      <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
152    </sequence>    </sequence>
153    <attribute name="GlobalID" type="string"/>    <attribute name="GlobalID" type="string"/>
154    <attribute name="LocalID" type="string"/>    <attribute name="LocalID" type="string"/>
# Line 162  Line 161 
161      </documentation></annotation>      </documentation></annotation>
162    </attribute>    </attribute>
163    <attribute name="SchedulerSpecific" type="string"/>    <attribute name="SchedulerSpecific" type="string"/>
164    <anyAttribute namespace="##any"/>    <anyAttribute namespace="##other"/>
165  </complexType>  </complexType>
166    
167    
168  <complexType name="AccessControlBaseType" >  <complexType name="AccessControlBaseType" >
169    <sequence>    <sequence>
170      <element name="Rule" type="string" minOccurs="0" maxOccurs="unbounded" />      <element name="Rule" type="string" minOccurs="0" maxOccurs="unbounded" />
171      <any namespace="##any" minOccurs="0" maxOccurs="unbounded"/>      <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
172    </sequence>    </sequence>
173    <anyAttribute namespace="##any"/>    <anyAttribute namespace="##other"/>
174  </complexType>  </complexType>
175    
176    
# Line 183  Line 182 
182      unique ID, and one or more subclusters.      unique ID, and one or more subclusters.
183    </documentation></annotation>    </documentation></annotation>
184    <sequence>    <sequence>
185      <element name="SubCluster" type="ce:SubClusterType" minOccurs="1" maxOccurs="unbounded"/>      <element name="SubCluster" type="ce:SubClusterType" minOccurs="0" maxOccurs="unbounded"/>
186      <any namespace="##any" minOccurs="0" maxOccurs="unbounded"/>      <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
187    </sequence>    </sequence>
188    <attribute name="Name" type="string"/>    <attributeGroup ref="ce:IdentifiableEntity" />
189    <attribute name="UniqueID" type="string"/>    <anyAttribute namespace="##other"/>
   <anyAttribute namespace="##any"/>  
190  </complexType>  </complexType>
191    
192    
193  <complexType name="SubClusterType">  <complexType name="SubClusterOrHostType">
194    <annotation><documentation>    <annotation><documentation>
195       A subcluster contains at least one host, as well as having properties       A subcluster contains at least one host, as well as having properties
196       associated with it that represent the state of every host within the       associated with it that represent the state of every host within the
# Line 206  Line 204 
204       Hosts (eg. /scratch)       Hosts (eg. /scratch)
205    </documentation></annotation>    </documentation></annotation>
206  <sequence>  <sequence>
     <element name="Host" type="ce:HostType" minOccurs="1" maxOccurs="unbounded"/>  
207      <element name="Benchmark" type="ce:BenchmarkType" minOccurs="0" />      <element name="Benchmark" type="ce:BenchmarkType" minOccurs="0" />
208      <element name="Processor" type="ce:ProcessorType" minOccurs="0" />      <element name="Processor" type="ce:ProcessorType" minOccurs="0" />
209      <element name="MainMemory" type="ce:MainMemoryType" minOccurs="0" />      <element name="MainMemory" type="ce:MainMemoryType" minOccurs="0" />
# Line 216  Line 213 
213      <element name="ApplicationSoftware" type="ce:ApplicationSoftwareType" minOccurs="0" />      <element name="ApplicationSoftware" type="ce:ApplicationSoftwareType" minOccurs="0" />
214      <element name="FileSystem" type="ce:FileSystemType" maxOccurs="unbounded" minOccurs="0"/>      <element name="FileSystem" type="ce:FileSystemType" maxOccurs="unbounded" minOccurs="0"/>
215      <element name="NetworkAdapter" type="ce:NetworkAdapterType" maxOccurs="unbounded" minOccurs="0"/>      <element name="NetworkAdapter" type="ce:NetworkAdapterType" maxOccurs="unbounded" minOccurs="0"/>
216      <any namespace="##any" minOccurs="0" maxOccurs="unbounded"/>      <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
217  </sequence>  </sequence>
218    <attribute name="Name" type="string"/>    <attributeGroup ref="ce:IdentifiableEntity" />
219    <attribute name="UniqueID" type="string"/>    <anyAttribute namespace="##other"/>
   <anyAttribute namespace="##any"/>  
220  </complexType>  </complexType>
221    
222    <complexType name="SubClusterType">
223      <annotation><documentation>
224      </documentation></annotation>
225      <complexContent>
226        <extension base="ce:SubClusterOrHostType">
227          <sequence>
228              <element name="Host" type="ce:HostType" minOccurs="0" maxOccurs="unbounded"/>
229          </sequence>
230        </extension>
231      </complexContent>
232    </complexType>
233    
234  <complexType name="HostType">  <complexType name="HostType">
235    <annotation><documentation>    <annotation><documentation>
# Line 233  Line 240 
240      to 0, or some trick like that?      to 0, or some trick like that?
241    </documentation></annotation>    </documentation></annotation>
242    <complexContent>    <complexContent>
243      <extension base="ce:SubClusterType">      <extension base="ce:SubClusterOrHostType">
244        <sequence>        <sequence>
245          <element name="ProcessorLoad" type="ce:LoadType" minOccurs="0" />          <element name="ProcessorLoad" type="ce:LoadType" minOccurs="0" />
246          <element name="SMPLoad" type="ce:LoadType" minOccurs="0" />          <element name="SMPLoad" type="ce:LoadType" minOccurs="0" />
# Line 248  Line 255 
255      Represents the unix-style CPU load-average multiplied by 100.      Represents the unix-style CPU load-average multiplied by 100.
256    </documentation></annotation>    </documentation></annotation>
257      <sequence>      <sequence>
258        <any namespace="##any" minOccurs="0" maxOccurs="unbounded"/>        <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
259      </sequence>      </sequence>
260      <attribute name="Load1Min" type="int"/>      <attribute name="Load1Min" type="int"/>
261      <attribute name="Load5Min" type="int"/>      <attribute name="Load5Min" type="int"/>
262      <attribute name="Load15Min" type="int"/>      <attribute name="Load15Min" type="int"/>
263    <anyAttribute namespace="##any"/>    <anyAttribute namespace="##other"/>
264  </complexType>  </complexType>
265    
266    
267  <complexType name="BenchmarkType">  <complexType name="BenchmarkType">
268      <sequence>      <sequence>
269        <any namespace="##any" minOccurs="0" maxOccurs="unbounded"/>        <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
270      </sequence>      </sequence>
271      <attribute name="SI00" type="float"/>      <attribute name="SI00" type="float"/>
272      <attribute name="SF00" type="float"/>      <attribute name="SF00" type="float"/>
273    <anyAttribute namespace="##any"/>    <anyAttribute namespace="##other"/>
274  </complexType>  </complexType>
275    
276    
277  <complexType name="ProcessorType">  <complexType name="ProcessorType">
278      <sequence>      <sequence>
279        <any namespace="##any" minOccurs="0" maxOccurs="unbounded"/>        <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
280      </sequence>      </sequence>
281      <attribute name="Vendor" type="string"/>      <attribute name="Vendor" type="string"/>
282      <attribute name="Model" type="string"/>      <attribute name="Model" type="string"/>
# Line 293  Line 300 
300        <annotation><documentation>in kb</documentation></annotation>        <annotation><documentation>in kb</documentation></annotation>
301      </attribute>      </attribute>
302    
303      <anyAttribute namespace="##any"/>      <anyAttribute namespace="##other"/>
304  </complexType>  </complexType>
305    
306    
307  <complexType name="MainMemoryType">  <complexType name="MainMemoryType">
308      <sequence>      <sequence>
309        <any namespace="##any" minOccurs="0" maxOccurs="unbounded"/>        <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
310      </sequence>      </sequence>
311      <attribute name="RAMSize" type="long"> <!-- is long big enough here? -->      <attribute name="RAMSize" type="long"> <!-- is long big enough here? -->
312        <annotation><documentation>in MB</documentation></annotation>        <annotation><documentation>in MB</documentation></annotation>
# Line 317  Line 324 
324        <annotation><documentation>in MB</documentation></annotation>        <annotation><documentation>in MB</documentation></annotation>
325      </attribute>      </attribute>
326    
327      <anyAttribute namespace="##any"/>      <anyAttribute namespace="##other"/>
328  </complexType>  </complexType>
329    
330    
331  <complexType name="OperatingSystemType">  <complexType name="OperatingSystemType">
332      <sequence>      <sequence>
333        <any namespace="##any" minOccurs="0" maxOccurs="unbounded"/>        <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
334      </sequence>      </sequence>
335      <attribute name="Name" type="string"/>      <attribute name="Name" type="string"/>
336      <attribute name="Release" type="string"/>      <attribute name="Release" type="string"/>
337      <attribute name="Version" type="string"/>      <attribute name="Version" type="string"/>
338      <anyAttribute namespace="##any"/>      <anyAttribute namespace="##other"/>
339  </complexType>  </complexType>
340    
341    
342  <complexType name="StorageDeviceType">  <complexType name="StorageDeviceType">
343      <sequence>      <sequence>
344        <any namespace="##any" minOccurs="0" maxOccurs="unbounded"/>        <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
345      </sequence>      </sequence>
346      <attribute name="Name" type="string"/>      <attribute name="Name" type="string"/>
347      <attribute name="Type" type="string"/>      <attribute name="Type" type="string"/>
348      <attribute name="TransferRate" type="int"/>      <attribute name="TransferRate" type="int"/>
349      <attribute name="Size" type="int"/>      <attribute name="Size" type="int"/>
350      <attribute name="AvailableSpace" type="int"/>      <attribute name="AvailableSpace" type="int"/>
351    <anyAttribute namespace="##any"/>    <anyAttribute namespace="##other"/>
352  <!-- are these ints big enough? -->  <!-- are these ints big enough? -->
353  </complexType>  </complexType>
354    
355    
356  <complexType name="NetworkAdapterType">  <complexType name="NetworkAdapterType">
357      <sequence>      <sequence>
358        <any namespace="##any" minOccurs="0" maxOccurs="unbounded"/>        <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
359      </sequence>      </sequence>
360      <attribute name="Name" type="string"/>      <attribute name="Name" type="string"/>
361      <attribute name="IPAddress" type="string"/> <!-- restrict syntax here? can it be IPv6? -->      <attribute name="IPAddress" type="string"/> <!-- restrict syntax here? can it be IPv6? -->
# Line 357  Line 364 
364      </attribute>      </attribute>
365      <attribute name="OutboundIP" type="boolean"/>      <attribute name="OutboundIP" type="boolean"/>
366      <attribute name="InboundIP" type="boolean"/>      <attribute name="InboundIP" type="boolean"/>
367    <anyAttribute namespace="##any"/>    <anyAttribute namespace="##other"/>
368  </complexType>  </complexType>
369    
370    
371  <complexType name="ArchitectureType">  <complexType name="ArchitectureType">
372      <sequence>      <sequence>
373        <any namespace="##any" minOccurs="0" maxOccurs="unbounded"/>        <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
374      </sequence>      </sequence>
375      <attribute name="PlatformType" type="string"/>      <attribute name="PlatformType" type="string"/>
376      <attribute name="SMPSize" type="int"/>      <attribute name="SMPSize" type="int"/>
377    <anyAttribute namespace="##any"/>    <anyAttribute namespace="##other"/>
378  </complexType>  </complexType>
379    
380    
# Line 378  Line 385 
385  <complexType name="ApplicationSoftwareType">  <complexType name="ApplicationSoftwareType">
386  <sequence>  <sequence>
387      <element name="RunTimeEnvironment" type="ce:RunTimeEnvironmentType" minOccurs="0" maxOccurs="unbounded"/>      <element name="RunTimeEnvironment" type="ce:RunTimeEnvironmentType" minOccurs="0" maxOccurs="unbounded"/>
388      <any namespace="##any" minOccurs="0" maxOccurs="unbounded"/>      <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
389  </sequence>  </sequence>
390    <anyAttribute namespace="##any"/>    <anyAttribute namespace="##other"/>
391  </complexType>  </complexType>
392    
393    
394  <complexType name="RunTimeEnvironmentType">  <complexType name="RunTimeEnvironmentType">
395     <sequence>     <sequence>
396         <any namespace="##any" minOccurs="0" maxOccurs="unbounded"/>         <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
397     </sequence>     </sequence>
398     <attribute name="Name" type="string" />     <attribute name="Name" type="string" />
399  </complexType>  </complexType>
# Line 395  Line 402 
402  <!-- TODO: other filesystem types need implementing. -->  <!-- TODO: other filesystem types need implementing. -->
403  <complexType name="FileSystemType">  <complexType name="FileSystemType">
404      <sequence>      <sequence>
405        <any namespace="##any" minOccurs="0" maxOccurs="unbounded"/>        <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
406      </sequence>      </sequence>
407    <attribute name="Name" type="string" />    <attribute name="Name" type="string" />
408    <attribute name="Root" type="string" />    <attribute name="Root" type="string" />
# Line 409  Line 416 
416    
417    <attribute name="ReadOnly" type="boolean" />    <attribute name="ReadOnly" type="boolean" />
418    <attribute name="Type" type="string" />    <attribute name="Type" type="string" />
419    <anyAttribute namespace="##any"/>    <anyAttribute namespace="##other"/>
420  </complexType>  </complexType>
421    
422  </schema>  </schema>

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

Webmaster
ViewVC Help
Powered by ViewVC 1.0.1