~ubuntu-branches/ubuntu/utopic/gridengine/utopic

« back to all changes in this revision

Viewing changes to source/dist/util/resources/schemas/qhost/qhost.xsd

  • Committer: Bazaar Package Importer
  • Author(s): Mark Hymers
  • Date: 2008-06-25 22:36:13 UTC
  • Revision ID: james.westby@ubuntu.com-20080625223613-tvd9xlhuoct9kyhm
Tags: upstream-6.2~beta2
ImportĀ upstreamĀ versionĀ 6.2~beta2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<!--___INFO__MARK_BEGIN__
 
3
/*************************************************************************
 
4
 * 
 
5
 *  The Contents of this file are made available subject to the terms of
 
6
 *  the Sun Industry Standards Source License Version 1.2
 
7
 * 
 
8
 *  Sun Microsystems Inc., March, 2001
 
9
 * 
 
10
 * 
 
11
 *  Sun Industry Standards Source License Version 1.2
 
12
 *  =================================================
 
13
 *  The contents of this file are subject to the Sun Industry Standards
 
14
 *  Source License Version 1.2 (the "License"); You may not use this file
 
15
 *  except in compliance with the License. You may obtain a copy of the
 
16
 *  License at http://gridengine.sunsource.net/Gridengine_SISSL_license.html
 
17
 * 
 
18
 *  Software provided under this License is provided on an "AS IS" basis,
 
19
 *  WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
 
20
 *  WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
 
21
 *  MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
 
22
 *  See the License for the specific provisions governing your rights and
 
23
 *  obligations concerning the Software.
 
24
 * 
 
25
 *   The Initial Developer of the Original Code is: Sun Microsystems, Inc.
 
26
 * 
 
27
 *   Copyright: 2001 by Sun Microsystems, Inc.
 
28
 * 
 
29
 *   All Rights Reserved.
 
30
 * 
 
31
 ************************************************************************/
 
32
___INFO__MARK_END__-->
 
33
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
 
34
            targetNamespace="http://gridengine.sunsource.net/61/qhost"
 
35
            xmlns="http://gridengine.sunsource.net/61/qhost"
 
36
            elementFormDefault="qualified">
 
37
    
 
38
    <xsd:element name="qhost" type="QHostType"/>
 
39
    
 
40
    <xsd:complexType name="QHostType">
 
41
        <xsd:sequence>
 
42
            <xsd:element name="host" type="HostType" minOccurs="0" maxOccurs="unbounded"/>
 
43
        </xsd:sequence>
 
44
    </xsd:complexType>
 
45
    
 
46
    <xsd:complexType name="HostType">
 
47
        <xsd:sequence>
 
48
            <xsd:element name="hostvalue" type="NamedValueType" minOccurs="0" maxOccurs="unbounded"/>
 
49
            <xsd:element name="resourcevalue" type="ResourceValueType" minOccurs="0" maxOccurs="unbounded"/>
 
50
            <xsd:element name="queuevalue" type="NamedValueType" minOccurs="0" maxOccurs="unbounded"/>
 
51
        </xsd:sequence>
 
52
        <xsd:attribute name="name" type="xsd:string" use="required"/>
 
53
    </xsd:complexType>
 
54
    
 
55
    <xsd:complexType name="NamedValueType">
 
56
        <xsd:simpleContent>
 
57
            <xsd:extension base="xsd:string">
 
58
                <xsd:attribute name="name" type="xsd:string" use="required"/>
 
59
            </xsd:extension>
 
60
        </xsd:simpleContent>
 
61
    </xsd:complexType>
 
62
    
 
63
    <xsd:complexType name="ResourceValueType">
 
64
        <xsd:complexContent>
 
65
            <xsd:extension base="NamedValueType">
 
66
                <xsd:attribute name="dominance" type="DominanceType" use="required"/>
 
67
            </xsd:extension>
 
68
        </xsd:complexContent>
 
69
    </xsd:complexType>
 
70
    
 
71
    <!-- 
 
72
       The DominanceType reflect the dominance of a resource value. This string 
 
73
       contains always two charaters. 
 
74
       
 
75
       The first character specifies the dominance layer 
 
76
          g = global
 
77
          h = host
 
78
          q = queue, 
 
79
          ? = unknown
 
80
          
 
81
       The second character specifies domninance type
 
82
          v = value from complex template
 
83
          f = fixed value from object configuration 
 
84
          l = load value
 
85
          L = corrected load value
 
86
          c = consumable, 
 
87
          ? = unknown dominance type
 
88
    -->
 
89
    <xsd:simpleType name="DominanceType">
 
90
        <xsd:restriction base="xsd:string">
 
91
            <xsd:pattern value="[ghq?][vflLc?]"/>
 
92
        </xsd:restriction>
 
93
    </xsd:simpleType>
 
94
    
 
95
</xsd:schema>