PSARC 2010/144 lofi(7D) in non global zones
[unleashed.git] / usr / src / lib / libzonecfg / dtd / zonecfg.dtd.1
blob89ffe59f2e8a626a851702305f1f0b6e625b9c86
1 <?xml version='1.0' encoding='UTF-8' ?>
3 <!--
4 CDDL HEADER START
6 The contents of this file are subject to the terms of the
7 Common Development and Distribution License (the "License").
8 You may not use this file except in compliance with the License.
10 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
11 or http://www.opensolaris.org/os/licensing.
12 See the License for the specific language governing permissions
13 and limitations under the License.
15 When distributing Covered Code, include this CDDL HEADER in each
16 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
17 If applicable, add the following below this CDDL HEADER, with the
18 fields enclosed by brackets "[]" replaced with your own identifying
19 information: Portions Copyright [yyyy] [name of copyright owner]
21 CDDL HEADER END
23 Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
25 -->
27 <!--Element Definitions-->
29 <!ELEMENT fsoption EMPTY>
30 <!ATTLIST fsoption name CDATA #REQUIRED>
32 <!ELEMENT filesystem (fsoption)* >
34 <!ATTLIST filesystem special CDATA #REQUIRED
35 raw CDATA ""
36 directory CDATA #REQUIRED
37 type CDATA #REQUIRED>
39 <!ELEMENT inherited-pkg-dir EMPTY>
41 <!ATTLIST inherited-pkg-dir directory CDATA #REQUIRED>
43 <!ELEMENT network EMPTY>
45 <!ATTLIST network address CDATA ""
46 defrouter CDATA ""
47 physical CDATA #REQUIRED>
49 <!ELEMENT device EMPTY>
51 <!ATTLIST device match CDATA #REQUIRED>
53 <!--
54 Historically, the deleted-device element denoted a used-to-be
55 device element. This was used to keep track of device elements
56 deleted or modified by the user, and to cleanse /dev of such
57 entries at next zone boot.
59 With the ability to now configure devices dynamically, this
60 requirement no longer exists, but this element MUST remain in
61 perpetuity, since it is possible that an upgraded zone could
62 carry a deleted-device element, and would therefore fail XML
63 validation if removed
64 -->
65 <!ELEMENT deleted-device EMPTY>
67 <!ATTLIST deleted-device match CDATA #REQUIRED>
69 <!ELEMENT rctl-value EMPTY>
71 <!ATTLIST rctl-value priv CDATA #REQUIRED
72 limit CDATA #REQUIRED
73 action CDATA #REQUIRED>
75 <!ELEMENT rctl (rctl-value)*>
77 <!ATTLIST rctl name CDATA #REQUIRED>
79 <!ELEMENT attr EMPTY>
81 <!ATTLIST attr name CDATA #REQUIRED
82 type (boolean | int | string | uint)
83 #REQUIRED
84 value CDATA #REQUIRED>
86 <!ELEMENT dataset EMPTY>
88 <!ATTLIST dataset name CDATA #REQUIRED>
90 <!ELEMENT package EMPTY>
92 <!ATTLIST package name CDATA #REQUIRED
93 version CDATA #REQUIRED>
95 <!ELEMENT obsoletes EMPTY>
96 <!ATTLIST obsoletes id CDATA #REQUIRED>
98 <!ELEMENT incompatible EMPTY>
99 <!ATTLIST incompatible id CDATA #REQUIRED>
101 <!ELEMENT patch (obsoletes | incompatible)* >
103 <!ATTLIST patch id CDATA #REQUIRED>
105 <!ELEMENT dev-perm EMPTY>
107 <!ATTLIST dev-perm name CDATA #REQUIRED
108 uid CDATA #REQUIRED
109 gid CDATA #REQUIRED
110 mode CDATA #REQUIRED
111 acl CDATA #REQUIRED>
113 <!--
114 The tmp_pool element is separate from the pset element so that
115 we can track the importance value at the pool level, where it
116 belongs, instead of at the pset level. Once we have msets this
117 will be important since tmp psets and tmp msets will share a common
118 pool-level importance.
120 <!ELEMENT tmp_pool EMPTY>
122 <!ATTLIST tmp_pool importance CDATA #REQUIRED>
124 <!ELEMENT pset EMPTY>
126 <!ATTLIST pset ncpu_min CDATA #REQUIRED
127 ncpu_max CDATA #REQUIRED>
129 <!ELEMENT mcap EMPTY>
131 <!ATTLIST mcap physcap CDATA #REQUIRED>
133 <!ELEMENT admin EMPTY>
135 <!ATTLIST admin user CDATA #REQUIRED
136 auths CDATA #REQUIRED>
138 <!ELEMENT zone (filesystem | inherited-pkg-dir | network | device |
139 deleted-device | rctl | attr | dataset | package |
140 patch | dev-perm | tmp_pool | pset |
141 mcap | admin)*>
143 <!ATTLIST zone name CDATA #REQUIRED
144 zonepath CDATA #REQUIRED
145 autoboot (true | false) #REQUIRED
146 ip-type CDATA ""
147 hostid CDATA ""
148 pool CDATA ""
149 limitpriv CDATA ""
150 bootargs CDATA ""
151 brand CDATA ""
152 scheduling-class CDATA ""
153 fs-allowed CDATA ""
154 version NMTOKEN #FIXED '1'>