xref: /titanic_50/usr/src/lib/libzonecfg/dtd/zonecfg.dtd.1 (revision 3470957343f37ed9baa957980891dbbe4c2d7092)
1<?xml version='1.0' encoding='UTF-8' ?>
2
3<!--
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 2006 Sun Microsystems, Inc.  All rights reserved.
24 Use is subject to license terms.
25
26 ident	"%Z%%M%	%I%	%E% SMI"
27-->
28
29<!--Element Definitions-->
30
31<!ELEMENT fsoption	EMPTY>
32<!ATTLIST fsoption	name		CDATA #REQUIRED>
33
34<!ELEMENT filesystem	(fsoption)* >
35
36<!ATTLIST filesystem	special		CDATA #REQUIRED
37			raw		CDATA ""
38			directory	CDATA #REQUIRED
39			type		CDATA #REQUIRED>
40
41<!ELEMENT inherited-pkg-dir	EMPTY>
42
43<!ATTLIST inherited-pkg-dir	directory	CDATA #REQUIRED>
44
45<!ELEMENT network	EMPTY>
46
47<!ATTLIST network	address		CDATA #REQUIRED
48			physical	CDATA #REQUIRED>
49
50<!ELEMENT device	EMPTY>
51
52<!ATTLIST device	match		CDATA #REQUIRED>
53
54<!ELEMENT rctl-value	EMPTY>
55
56<!ATTLIST rctl-value	priv		CDATA #REQUIRED
57			limit		CDATA #REQUIRED
58			action		CDATA #REQUIRED>
59
60<!ELEMENT rctl		(rctl-value)*>
61
62<!ATTLIST rctl		name		CDATA #REQUIRED>
63
64<!ELEMENT attr		EMPTY>
65
66<!ATTLIST attr		name		CDATA #REQUIRED
67			type		(boolean | int | string | uint)
68					#REQUIRED
69			value		CDATA #REQUIRED>
70
71<!ELEMENT dataset	EMPTY>
72
73<!ATTLIST dataset	name		CDATA #REQUIRED>
74
75<!ELEMENT package	EMPTY>
76
77<!ATTLIST package	name		CDATA #REQUIRED
78			version		CDATA #REQUIRED>
79
80<!ELEMENT obsoletes	EMPTY>
81<!ATTLIST obsoletes	id		CDATA #REQUIRED>
82
83<!ELEMENT incompatible	EMPTY>
84<!ATTLIST incompatible	id		CDATA #REQUIRED>
85
86<!ELEMENT patch	(obsoletes | incompatible)* >
87
88<!ATTLIST patch		id		CDATA #REQUIRED>
89
90<!ELEMENT dev-perm	EMPTY>
91
92<!ATTLIST dev-perm	name		CDATA #REQUIRED
93			uid		CDATA #REQUIRED
94			gid		CDATA #REQUIRED
95			mode		CDATA #REQUIRED
96			acl		CDATA #REQUIRED>
97
98<!ELEMENT zone		(filesystem | inherited-pkg-dir | network | device | rctl | attr | dataset | package | patch | dev-perm)*>
99
100<!ATTLIST zone		name		CDATA #REQUIRED
101			zonepath	CDATA #REQUIRED
102			autoboot	(true | false) #REQUIRED
103			pool		CDATA ""
104			limitpriv	CDATA ""
105			version		NMTOKEN #FIXED '1'>
106