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