Print this page
OS-192 zone_create() warning on headnode
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/lib/libzonecfg/dtd/zonecfg.dtd.1
+++ new/usr/src/lib/libzonecfg/dtd/zonecfg.dtd.1
1 1 <?xml version='1.0' encoding='UTF-8' ?>
2 2
3 3 <!--
4 4 CDDL HEADER START
5 5
6 6 The contents of this file are subject to the terms of the
7 7 Common Development and Distribution License (the "License").
8 8 You may not use this file except in compliance with the License.
9 9
10 10 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
11 11 or http://www.opensolaris.org/os/licensing.
12 12 See the License for the specific language governing permissions
13 13 and limitations under the License.
↓ open down ↓ |
13 lines elided |
↑ open up ↑ |
14 14
15 15 When distributing Covered Code, include this CDDL HEADER in each
16 16 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
17 17 If applicable, add the following below this CDDL HEADER, with the
18 18 fields enclosed by brackets "[]" replaced with your own identifying
19 19 information: Portions Copyright [yyyy] [name of copyright owner]
20 20
21 21 CDDL HEADER END
22 22
23 23 Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
24 + Copyright (c) 2011, Joyent Inc. All rights reserved.
24 25
25 26 -->
26 27
27 28 <!--Element Definitions-->
28 29
29 30 <!ELEMENT fsoption EMPTY>
30 31 <!ATTLIST fsoption name CDATA #REQUIRED>
31 32
32 33 <!ELEMENT filesystem (fsoption)* >
33 34
34 35 <!ATTLIST filesystem special CDATA #REQUIRED
35 36 raw CDATA ""
36 37 directory CDATA #REQUIRED
37 38 type CDATA #REQUIRED>
38 39
39 40 <!--
40 41 The "inherited-pkg-dir" element may no longer be specified in a
41 42 configuration, however we retain the definition to aid with migration
42 43 of existing configurations.
43 44 -->
44 45
45 46 <!ELEMENT inherited-pkg-dir EMPTY>
46 47
47 48 <!ATTLIST inherited-pkg-dir directory CDATA #REQUIRED>
48 49
49 50 <!ELEMENT network EMPTY>
50 51
51 52 <!ATTLIST network address CDATA ""
52 53 allowed-address CDATA ""
53 54 defrouter CDATA ""
54 55 physical CDATA #REQUIRED>
55 56
56 57 <!ELEMENT device EMPTY>
57 58
58 59 <!ATTLIST device match CDATA #REQUIRED>
59 60
60 61 <!--
61 62 Historically, the deleted-device element denoted a used-to-be
62 63 device element. This was used to keep track of device elements
63 64 deleted or modified by the user, and to cleanse /dev of such
64 65 entries at next zone boot.
65 66
66 67 With the ability to now configure devices dynamically, this
67 68 requirement no longer exists, but this element MUST remain in
68 69 perpetuity, since it is possible that an upgraded zone could
69 70 carry a deleted-device element, and would therefore fail XML
70 71 validation if removed
71 72 -->
72 73 <!ELEMENT deleted-device EMPTY>
73 74
74 75 <!ATTLIST deleted-device match CDATA #REQUIRED>
75 76
76 77 <!ELEMENT rctl-value EMPTY>
77 78
78 79 <!ATTLIST rctl-value priv CDATA #REQUIRED
79 80 limit CDATA #REQUIRED
80 81 action CDATA #REQUIRED>
81 82
82 83 <!ELEMENT rctl (rctl-value)*>
83 84
84 85 <!ATTLIST rctl name CDATA #REQUIRED>
85 86
86 87 <!ELEMENT attr EMPTY>
87 88
88 89 <!ATTLIST attr name CDATA #REQUIRED
89 90 type (boolean | int | string | uint)
90 91 #REQUIRED
91 92 value CDATA #REQUIRED>
92 93
93 94 <!ELEMENT dataset EMPTY>
94 95
95 96 <!ATTLIST dataset name CDATA #REQUIRED>
96 97
97 98 <!ELEMENT package EMPTY>
98 99
99 100 <!ATTLIST package name CDATA #REQUIRED
100 101 version CDATA #REQUIRED>
101 102
102 103 <!ELEMENT obsoletes EMPTY>
103 104 <!ATTLIST obsoletes id CDATA #REQUIRED>
104 105
105 106 <!ELEMENT incompatible EMPTY>
106 107 <!ATTLIST incompatible id CDATA #REQUIRED>
107 108
108 109 <!ELEMENT patch (obsoletes | incompatible)* >
109 110
110 111 <!ATTLIST patch id CDATA #REQUIRED>
111 112
112 113 <!ELEMENT dev-perm EMPTY>
113 114
114 115 <!ATTLIST dev-perm name CDATA #REQUIRED
115 116 uid CDATA #REQUIRED
116 117 gid CDATA #REQUIRED
117 118 mode CDATA #REQUIRED
118 119 acl CDATA #REQUIRED>
119 120
120 121 <!--
121 122 The tmp_pool element is separate from the pset element so that
122 123 we can track the importance value at the pool level, where it
123 124 belongs, instead of at the pset level. Once we have msets this
124 125 will be important since tmp psets and tmp msets will share a common
125 126 pool-level importance.
126 127 -->
127 128 <!ELEMENT tmp_pool EMPTY>
128 129
129 130 <!ATTLIST tmp_pool importance CDATA #REQUIRED>
130 131
131 132 <!ELEMENT pset EMPTY>
132 133
133 134 <!ATTLIST pset ncpu_min CDATA #REQUIRED
134 135 ncpu_max CDATA #REQUIRED>
135 136
136 137 <!ELEMENT mcap EMPTY>
137 138
138 139 <!ATTLIST mcap physcap CDATA #REQUIRED>
139 140
140 141 <!ELEMENT admin EMPTY>
141 142
142 143 <!ATTLIST admin user CDATA #REQUIRED
143 144 auths CDATA #REQUIRED>
144 145
145 146 <!ELEMENT security-flags EMPTY>
146 147
147 148 <!ATTLIST security-flags default CDATA ""
148 149 lower CDATA ""
149 150 upper CDATA "">
150 151
151 152 <!ELEMENT zone (filesystem | inherited-pkg-dir | network | device |
152 153 deleted-device | rctl | attr | dataset | package |
153 154 patch | dev-perm | tmp_pool | pset |
154 155 mcap | admin | security-flags)*>
↓ open down ↓ |
121 lines elided |
↑ open up ↑ |
155 156
156 157 <!ATTLIST zone name CDATA #REQUIRED
157 158 zonepath CDATA #REQUIRED
158 159 autoboot (true | false) #REQUIRED
159 160 ip-type CDATA ""
160 161 hostid CDATA ""
161 162 pool CDATA ""
162 163 limitpriv CDATA ""
163 164 bootargs CDATA ""
164 165 brand CDATA ""
166 + debugid CDATA ""
165 167 scheduling-class CDATA ""
166 168 fs-allowed CDATA ""
167 169 version NMTOKEN #FIXED '1'>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX