4 CDDL HEADER START
5
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.
9
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.
14
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]
20
21 CDDL HEADER END
22
23 Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
24
25 -->
26
27 <!--Element Definitions-->
28
29 <!ELEMENT fsoption EMPTY>
30 <!ATTLIST fsoption name CDATA #REQUIRED>
31
32 <!ELEMENT filesystem (fsoption)* >
33
34 <!ATTLIST filesystem special CDATA #REQUIRED
35 raw CDATA ""
36 directory CDATA #REQUIRED
37 type CDATA #REQUIRED>
38
39 <!--
40 The "inherited-pkg-dir" element may no longer be specified in a
41 configuration, however we retain the definition to aid with migration
42 of existing configurations.
43 -->
44
45 <!ELEMENT inherited-pkg-dir EMPTY>
46
47 <!ATTLIST inherited-pkg-dir directory CDATA #REQUIRED>
48
49 <!ELEMENT network EMPTY>
50
51 <!ATTLIST network address CDATA ""
52 allowed-address CDATA ""
53 defrouter CDATA ""
54 physical CDATA #REQUIRED>
55
56 <!ELEMENT device EMPTY>
57
58 <!ATTLIST device match CDATA #REQUIRED>
59
60 <!--
61 Historically, the deleted-device element denoted a used-to-be
62 device element. This was used to keep track of device elements
63 deleted or modified by the user, and to cleanse /dev of such
64 entries at next zone boot.
65
66 With the ability to now configure devices dynamically, this
67 requirement no longer exists, but this element MUST remain in
68 perpetuity, since it is possible that an upgraded zone could
69 carry a deleted-device element, and would therefore fail XML
70 validation if removed
71 -->
72 <!ELEMENT deleted-device EMPTY>
73
74 <!ATTLIST deleted-device match CDATA #REQUIRED>
75
76 <!ELEMENT rctl-value EMPTY>
139
140 <!ELEMENT admin EMPTY>
141
142 <!ATTLIST admin user CDATA #REQUIRED
143 auths CDATA #REQUIRED>
144
145 <!ELEMENT zone (filesystem | inherited-pkg-dir | network | device |
146 deleted-device | rctl | attr | dataset | package |
147 patch | dev-perm | tmp_pool | pset |
148 mcap | admin)*>
149
150 <!ATTLIST zone name CDATA #REQUIRED
151 zonepath CDATA #REQUIRED
152 autoboot (true | false) #REQUIRED
153 ip-type CDATA ""
154 hostid CDATA ""
155 pool CDATA ""
156 limitpriv CDATA ""
157 bootargs CDATA ""
158 brand CDATA ""
159 scheduling-class CDATA ""
160 fs-allowed CDATA ""
161 version NMTOKEN #FIXED '1'>
|
4 CDDL HEADER START
5
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.
9
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.
14
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]
20
21 CDDL HEADER END
22
23 Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
24 Copyright (c) 2011, Joyent Inc. All rights reserved.
25
26 -->
27
28 <!--Element Definitions-->
29
30 <!ELEMENT fsoption EMPTY>
31 <!ATTLIST fsoption name CDATA #REQUIRED>
32
33 <!ELEMENT filesystem (fsoption)* >
34
35 <!ATTLIST filesystem special CDATA #REQUIRED
36 raw CDATA ""
37 directory CDATA #REQUIRED
38 type CDATA #REQUIRED>
39
40 <!--
41 The "inherited-pkg-dir" element may no longer be specified in a
42 configuration, however we retain the definition to aid with migration
43 of existing configurations.
44 -->
45
46 <!ELEMENT inherited-pkg-dir EMPTY>
47
48 <!ATTLIST inherited-pkg-dir directory CDATA #REQUIRED>
49
50 <!ELEMENT net-attr EMPTY>
51 <!ATTLIST net-attr name CDATA #REQUIRED
52 value CDATA #REQUIRED>
53
54 <!ELEMENT network (net-attr)*>
55
56 <!ATTLIST network address CDATA ""
57 allowed-address CDATA ""
58 defrouter CDATA ""
59 global-nic CDATA ""
60 mac-addr CDATA ""
61 physical CDATA #REQUIRED
62 vlan-id CDATA "">
63
64 <!ELEMENT device (net-attr)*>
65
66 <!ATTLIST device match CDATA #REQUIRED>
67
68 <!--
69 Historically, the deleted-device element denoted a used-to-be
70 device element. This was used to keep track of device elements
71 deleted or modified by the user, and to cleanse /dev of such
72 entries at next zone boot.
73
74 With the ability to now configure devices dynamically, this
75 requirement no longer exists, but this element MUST remain in
76 perpetuity, since it is possible that an upgraded zone could
77 carry a deleted-device element, and would therefore fail XML
78 validation if removed
79 -->
80 <!ELEMENT deleted-device EMPTY>
81
82 <!ATTLIST deleted-device match CDATA #REQUIRED>
83
84 <!ELEMENT rctl-value EMPTY>
147
148 <!ELEMENT admin EMPTY>
149
150 <!ATTLIST admin user CDATA #REQUIRED
151 auths CDATA #REQUIRED>
152
153 <!ELEMENT zone (filesystem | inherited-pkg-dir | network | device |
154 deleted-device | rctl | attr | dataset | package |
155 patch | dev-perm | tmp_pool | pset |
156 mcap | admin)*>
157
158 <!ATTLIST zone name CDATA #REQUIRED
159 zonepath CDATA #REQUIRED
160 autoboot (true | false) #REQUIRED
161 ip-type CDATA ""
162 hostid CDATA ""
163 pool CDATA ""
164 limitpriv CDATA ""
165 bootargs CDATA ""
166 brand CDATA ""
167 debugid CDATA ""
168 scheduling-class CDATA ""
169 fs-allowed CDATA ""
170 version NMTOKEN #FIXED '1'>
|