Merge commit '1f1540205fa6366266184180654434272c425ac2'
[unleashed.git] / usr / src / lib / libpool / dtd / rm_pool.dtd.1
blob97c5cdc31df9d284bf62a70cb18d363309dbf372
1 <?xml version='1.0' encoding='UTF-8' ?>
3 <!--
4 Copyright 2005 Sun Microsystems, Inc. All rights reserved.
5 Use is subject to license terms.
7 CDDL HEADER START
9 The contents of this file are subject to the terms of the
10 Common Development and Distribution License, Version 1.0 only
11 (the "License"). You may not use this file except in compliance
12 with the License.
14 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
15 or http://www.opensolaris.org/os/licensing.
16 See the License for the specific language governing permissions
17 and limitations under the License.
19 When distributing Covered Code, include this CDDL HEADER in each
20 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
21 If applicable, add the following below this CDDL HEADER, with the
22 fields enclosed by brackets "[]" replaced with your own identifying
23 information: Portions Copyright [yyyy] [name of copyright owner]
25 CDDL HEADER END
27 ident "%Z%%M% %I% %E% SMI"
28 -->
30 <!--Entity Definitions-->
32 <!ENTITY % dynamic_doc "INCLUDE">
34 <!ENTITY % static_doc "IGNORE">
36 <![ %dynamic_doc; [
37 <!ENTITY % core "comment CDATA #IMPLIED
38 ref_id ID #REQUIRED">
39 ]]>
41 <![ %static_doc; [
42 <!ENTITY % core "comment CDATA #IMPLIED
43 ref_id ID #REQUIRED">
44 ]]>
46 <!ENTITY % min_max "min CDATA #REQUIRED
47 max CDATA #REQUIRED">
49 <!--Element Definitions-->
51 <!-- res_comp describes a component resource, this may contain components -->
52 <!ELEMENT res_comp (comp | property)*>
54 <!ATTLIST res_comp %core;
55 %min_max;
56 name CDATA #REQUIRED
57 default (true | false) 'false'
58 units CDATA #REQUIRED
59 sys_id CDATA #REQUIRED
60 type CDATA #REQUIRED
61 a-dtype NMTOKENS 'min uint
62 max uint
63 default boolean
64 units string
65 sys_id int
66 type string'>
67 <!-- res_agg describes an aggregate resource -->
68 <!ELEMENT res_agg (property)*>
70 <!ATTLIST res_agg %core;
71 name CDATA #REQUIRED
72 default (true | false) 'false'
73 units CDATA #REQUIRED
74 sys_id CDATA #REQUIRED
75 type CDATA #REQUIRED
76 a-dtype NMTOKENS 'default boolean
77 units string
78 sys_id int
79 type string'>
81 <!-- comp describes a resource component -->
82 <!ELEMENT comp (#PCDATA | property)*>
84 <!ATTLIST comp %core;
85 type CDATA #REQUIRED
86 sys_id NMTOKEN #REQUIRED
87 a-dtype NMTOKENS 'type string
88 sys_id int'>
90 <!-- pool describes a resource pool -->
91 <!ELEMENT pool (#PCDATA | property)*>
93 <!ATTLIST pool %core;
94 name CDATA #REQUIRED
95 importance CDATA #REQUIRED
96 active (true | false) 'true'
97 default (true | false) 'false'
98 res IDREFS #REQUIRED
99 a-dtype NMTOKENS 'importance int
100 default boolean
101 active boolean' >
103 <!-- property describes a resource property -->
104 <!ELEMENT property (#PCDATA)>
106 <!ATTLIST property name NMTOKEN #REQUIRED
107 type NMTOKEN #REQUIRED
108 a-dtype NMTOKENS 'name string
109 type string'>
111 <!-- system describes a resource system -->
112 <!ELEMENT system (property | res_comp | res_agg | pool)*>
114 <!ATTLIST system %core;
115 name CDATA #REQUIRED
116 bind-default (true | false) 'false'
117 version NMTOKEN #FIXED '1'
118 a-dtype NMTOKENS 'bind-default boolean
119 version int'>