8 CDDL HEADER START
9
10 The contents of this file are subject to the terms of the
11 Common Development and Distribution License (the "License").
12 You may not use this file except in compliance with the License.
13
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.
18
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]
24
25 CDDL HEADER END
26
27 Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
28
29 -->
30
31 <!--Element Definitions-->
32
33 <!ELEMENT fsoption EMPTY> <!ATTLIST fsoption name CDATA #REQUIRED>
34
35 <!ELEMENT filesystem (fsoption)* >
36
37 <!ATTLIST filesystem special CDATA #REQUIRED raw
38 CDATA "" directory CDATA #REQUIRED type CDATA
39 #REQUIRED>
40
41 <!--
42 The "inherited-pkg-dir" element may no longer be specified in a
43 configuration, however we retain the definition to aid with migration
44 of existing configurations. -->
45
46 <!ELEMENT inherited-pkg-dir EMPTY>
47
48 <!ATTLIST inherited-pkg-dir directory CDATA #REQUIRED>
49
50 <!ELEMENT network EMPTY>
51
52 <!ATTLIST network address CDATA "" allowed-address
53 CDATA "" defrouter CDATA "" physical CDATA #REQUIRED>
54
55 <!ELEMENT device EMPTY>
56
57 <!ATTLIST device match CDATA #REQUIRED>
58
59 <!-- Historically, the deleted-device element denoted a used-to-be
60 device element. This was used to keep track of device elements deleted or
61 modified by the user, and to cleanse /dev of such entries at next zone
62 boot.
63
64 With the ability to now configure devices dynamically, this
65 requirement no longer exists, but this element MUST remain in perpetuity,
66 since it is possible that an upgraded zone could carry a deleted-device
67 element, and would therefore fail XML validation if removed --> <!ELEMENT
68 deleted-device EMPTY>
69
70 <!ATTLIST deleted-device match CDATA #REQUIRED>
71
72 <!ELEMENT rctl-value EMPTY>
73
74 <!ATTLIST rctl-value priv CDATA #REQUIRED limit
75 CDATA #REQUIRED action CDATA #REQUIRED>
121 <!ATTLIST pset ncpu_min CDATA #REQUIRED ncpu_max CDATA
122 #REQUIRED>
123
124 <!ELEMENT mcap EMPTY>
125
126 <!ATTLIST mcap physcap CDATA #REQUIRED>
127
128 <!ELEMENT admin EMPTY>
129
130 <!ATTLIST admin user CDATA #REQUIRED
131 auths CDATA #REQUIRED>
132
133 <!ELEMENT zone (filesystem | inherited-pkg-dir | network | device |
134 deleted-device | rctl | attr | dataset | package | patch | dev-
135 perm | tmp_pool | pset | mcap | admin)*>
136
137 <!ATTLIST zone name CDATA #REQUIRED zonepath CDATA
138 #REQUIRED autoboot (true | false) #REQUIRED ip-
139 type CDATA "" hostid CDATA "" pool
140 CDATA "" limitpriv CDATA "" bootargs CDATA ""
141 brand CDATA "" scheduling-class CDATA "" fs-
142 allowed CDATA "" version NMTOKEN #FIXED '1'>
143
144
145
146 October 5, 2016 ()
|
8 CDDL HEADER START
9
10 The contents of this file are subject to the terms of the
11 Common Development and Distribution License (the "License").
12 You may not use this file except in compliance with the License.
13
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.
18
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]
24
25 CDDL HEADER END
26
27 Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
28 Copyright (c) 2011, Joyent Inc. All rights reserved.
29
30 -->
31
32 <!--Element Definitions-->
33
34 <!ELEMENT fsoption EMPTY> <!ATTLIST fsoption name CDATA #REQUIRED>
35
36 <!ELEMENT filesystem (fsoption)* >
37
38 <!ATTLIST filesystem special CDATA #REQUIRED raw
39 CDATA "" directory CDATA #REQUIRED type CDATA
40 #REQUIRED>
41
42 <!--
43 The "inherited-pkg-dir" element may no longer be specified in a
44 configuration, however we retain the definition to aid with migration
45 of existing configurations. -->
46
47 <!ELEMENT inherited-pkg-dir EMPTY>
48
49 <!ATTLIST inherited-pkg-dir directory CDATA #REQUIRED>
50
51 <!ELEMENT net-attr EMPTY> <!ATTLIST net-attr name CDATA #REQUIRED
52 value CDATA #REQUIRED>
53
54 <!ELEMENT network (net-attr)*>
55
56 <!ATTLIST network address CDATA "" allowed-address
57 CDATA "" defrouter CDATA "" global-nic CDATA ""
58 mac-addr CDATA "" physical CDATA #REQUIRED vlan-id
59 CDATA "">
60
61 <!ELEMENT device (net-attr)*>
62
63 <!ATTLIST device match CDATA #REQUIRED>
64
65 <!-- Historically, the deleted-device element denoted a used-to-be
66 device element. This was used to keep track of device elements deleted or
67 modified by the user, and to cleanse /dev of such entries at next zone
68 boot.
69
70 With the ability to now configure devices dynamically, this
71 requirement no longer exists, but this element MUST remain in perpetuity,
72 since it is possible that an upgraded zone could carry a deleted-device
73 element, and would therefore fail XML validation if removed --> <!ELEMENT
74 deleted-device EMPTY>
75
76 <!ATTLIST deleted-device match CDATA #REQUIRED>
77
78 <!ELEMENT rctl-value EMPTY>
79
80 <!ATTLIST rctl-value priv CDATA #REQUIRED limit
81 CDATA #REQUIRED action CDATA #REQUIRED>
127 <!ATTLIST pset ncpu_min CDATA #REQUIRED ncpu_max CDATA
128 #REQUIRED>
129
130 <!ELEMENT mcap EMPTY>
131
132 <!ATTLIST mcap physcap CDATA #REQUIRED>
133
134 <!ELEMENT admin EMPTY>
135
136 <!ATTLIST admin user CDATA #REQUIRED
137 auths CDATA #REQUIRED>
138
139 <!ELEMENT zone (filesystem | inherited-pkg-dir | network | device |
140 deleted-device | rctl | attr | dataset | package | patch | dev-
141 perm | tmp_pool | pset | mcap | admin)*>
142
143 <!ATTLIST zone name CDATA #REQUIRED zonepath CDATA
144 #REQUIRED autoboot (true | false) #REQUIRED ip-
145 type CDATA "" hostid CDATA "" pool
146 CDATA "" limitpriv CDATA "" bootargs CDATA ""
147 brand CDATA "" debugid CDATA ""
148 scheduling-class CDATA "" fs-allowed CDATA ""
149 version NMTOKEN #FIXED '1'>
150
151
152
153 October 5, 2016 ()
|