xref: /titanic_44/usr/src/lib/libzonecfg/dtd/zonecfg.dtd.1 (revision 9acbbeaf2a1ffe5c14b244867d427714fab43c5c)
17c478bd9Sstevel@tonic-gate<?xml version='1.0' encoding='UTF-8' ?>
27c478bd9Sstevel@tonic-gate
37c478bd9Sstevel@tonic-gate<!--
47c478bd9Sstevel@tonic-gate CDDL HEADER START
57c478bd9Sstevel@tonic-gate
67c478bd9Sstevel@tonic-gate The contents of this file are subject to the terms of the
7ee519a1fSgjelinek Common Development and Distribution License (the "License").
8ee519a1fSgjelinek You may not use this file except in compliance with the License.
97c478bd9Sstevel@tonic-gate
107c478bd9Sstevel@tonic-gate You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
117c478bd9Sstevel@tonic-gate or http://www.opensolaris.org/os/licensing.
127c478bd9Sstevel@tonic-gate See the License for the specific language governing permissions
137c478bd9Sstevel@tonic-gate and limitations under the License.
147c478bd9Sstevel@tonic-gate
157c478bd9Sstevel@tonic-gate When distributing Covered Code, include this CDDL HEADER in each
167c478bd9Sstevel@tonic-gate file and include the License file at usr/src/OPENSOLARIS.LICENSE.
177c478bd9Sstevel@tonic-gate If applicable, add the following below this CDDL HEADER, with the
187c478bd9Sstevel@tonic-gate fields enclosed by brackets "[]" replaced with your own identifying
197c478bd9Sstevel@tonic-gate information: Portions Copyright [yyyy] [name of copyright owner]
207c478bd9Sstevel@tonic-gate
217c478bd9Sstevel@tonic-gate CDDL HEADER END
227c478bd9Sstevel@tonic-gate
23ee519a1fSgjelinek Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
24fa9e4066Sahrens Use is subject to license terms.
25fa9e4066Sahrens
267c478bd9Sstevel@tonic-gate ident	"%Z%%M%	%I%	%E% SMI"
277c478bd9Sstevel@tonic-gate-->
287c478bd9Sstevel@tonic-gate
297c478bd9Sstevel@tonic-gate<!--Element Definitions-->
307c478bd9Sstevel@tonic-gate
317c478bd9Sstevel@tonic-gate<!ELEMENT fsoption	EMPTY>
327c478bd9Sstevel@tonic-gate<!ATTLIST fsoption	name		CDATA #REQUIRED>
337c478bd9Sstevel@tonic-gate
347c478bd9Sstevel@tonic-gate<!ELEMENT filesystem	(fsoption)* >
357c478bd9Sstevel@tonic-gate
367c478bd9Sstevel@tonic-gate<!ATTLIST filesystem	special		CDATA #REQUIRED
377c478bd9Sstevel@tonic-gate			raw		CDATA ""
387c478bd9Sstevel@tonic-gate			directory	CDATA #REQUIRED
397c478bd9Sstevel@tonic-gate			type		CDATA #REQUIRED>
407c478bd9Sstevel@tonic-gate
417c478bd9Sstevel@tonic-gate<!ELEMENT inherited-pkg-dir	EMPTY>
427c478bd9Sstevel@tonic-gate
437c478bd9Sstevel@tonic-gate<!ATTLIST inherited-pkg-dir	directory	CDATA #REQUIRED>
447c478bd9Sstevel@tonic-gate
457c478bd9Sstevel@tonic-gate<!ELEMENT network	EMPTY>
467c478bd9Sstevel@tonic-gate
477c478bd9Sstevel@tonic-gate<!ATTLIST network	address		CDATA #REQUIRED
487c478bd9Sstevel@tonic-gate			physical	CDATA #REQUIRED>
497c478bd9Sstevel@tonic-gate
507c478bd9Sstevel@tonic-gate<!ELEMENT device	EMPTY>
517c478bd9Sstevel@tonic-gate
527c478bd9Sstevel@tonic-gate<!ATTLIST device	match		CDATA #REQUIRED>
537c478bd9Sstevel@tonic-gate
545749802bSdp<!--
55facf4a8dSllai1	Historically, the deleted-device element denoted a used-to-be
56facf4a8dSllai1	device element.  This was used to keep track of device elements
57facf4a8dSllai1	deleted or modified by the user, and to cleanse /dev of such
58facf4a8dSllai1	entries at next zone boot.
595749802bSdp
60facf4a8dSllai1	With the ability to now configure devices dynamically, this
61facf4a8dSllai1	requirement no longer exists, but this element MUST remain in
62facf4a8dSllai1	perpetuity, since it is possible that an upgraded zone could
63facf4a8dSllai1	carry a deleted-device element, and would therefore fail XML
64facf4a8dSllai1	validation if removed
655749802bSdp-->
665749802bSdp<!ELEMENT deleted-device	EMPTY>
675749802bSdp
685749802bSdp<!ATTLIST deleted-device	match		CDATA #REQUIRED>
695749802bSdp
707c478bd9Sstevel@tonic-gate<!ELEMENT rctl-value	EMPTY>
717c478bd9Sstevel@tonic-gate
727c478bd9Sstevel@tonic-gate<!ATTLIST rctl-value	priv		CDATA #REQUIRED
737c478bd9Sstevel@tonic-gate			limit		CDATA #REQUIRED
747c478bd9Sstevel@tonic-gate			action		CDATA #REQUIRED>
757c478bd9Sstevel@tonic-gate
767c478bd9Sstevel@tonic-gate<!ELEMENT rctl		(rctl-value)*>
777c478bd9Sstevel@tonic-gate
787c478bd9Sstevel@tonic-gate<!ATTLIST rctl		name		CDATA #REQUIRED>
797c478bd9Sstevel@tonic-gate
807c478bd9Sstevel@tonic-gate<!ELEMENT attr		EMPTY>
817c478bd9Sstevel@tonic-gate
827c478bd9Sstevel@tonic-gate<!ATTLIST attr		name		CDATA #REQUIRED
837c478bd9Sstevel@tonic-gate			type		(boolean | int | string | uint)
847c478bd9Sstevel@tonic-gate					#REQUIRED
857c478bd9Sstevel@tonic-gate			value		CDATA #REQUIRED>
867c478bd9Sstevel@tonic-gate
87fa9e4066Sahrens<!ELEMENT dataset	EMPTY>
88fa9e4066Sahrens
89fa9e4066Sahrens<!ATTLIST dataset	name		CDATA #REQUIRED>
90fa9e4066Sahrens
91ee519a1fSgjelinek<!ELEMENT package	EMPTY>
92ee519a1fSgjelinek
93ee519a1fSgjelinek<!ATTLIST package	name		CDATA #REQUIRED
94ee519a1fSgjelinek			version		CDATA #REQUIRED>
95ee519a1fSgjelinek
96ee519a1fSgjelinek<!ELEMENT obsoletes	EMPTY>
97ee519a1fSgjelinek<!ATTLIST obsoletes	id		CDATA #REQUIRED>
98ee519a1fSgjelinek
99ee519a1fSgjelinek<!ELEMENT incompatible	EMPTY>
100ee519a1fSgjelinek<!ATTLIST incompatible	id		CDATA #REQUIRED>
101ee519a1fSgjelinek
102ee519a1fSgjelinek<!ELEMENT patch	(obsoletes | incompatible)* >
103ee519a1fSgjelinek
104ee519a1fSgjelinek<!ATTLIST patch		id		CDATA #REQUIRED>
105ee519a1fSgjelinek
106ee519a1fSgjelinek<!ELEMENT dev-perm	EMPTY>
107ee519a1fSgjelinek
108ee519a1fSgjelinek<!ATTLIST dev-perm	name		CDATA #REQUIRED
109ee519a1fSgjelinek			uid		CDATA #REQUIRED
110ee519a1fSgjelinek			gid		CDATA #REQUIRED
111ee519a1fSgjelinek			mode		CDATA #REQUIRED
112ee519a1fSgjelinek			acl		CDATA #REQUIRED>
113ee519a1fSgjelinek
1145749802bSdp<!ELEMENT zone		(filesystem | inherited-pkg-dir | network | device | deleted-device | rctl | attr | dataset | package | patch | dev-perm)*>
1157c478bd9Sstevel@tonic-gate
1167c478bd9Sstevel@tonic-gate<!ATTLIST zone		name		CDATA #REQUIRED
1177c478bd9Sstevel@tonic-gate			zonepath	CDATA #REQUIRED
1187c478bd9Sstevel@tonic-gate			autoboot	(true | false) #REQUIRED
1197c478bd9Sstevel@tonic-gate			pool		CDATA ""
120ffbafc53Scomay			limitpriv	CDATA ""
1213f2f09c1Sdp			bootargs	CDATA ""
122*9acbbeafSnn35248			brand		CDATA ""
1237c478bd9Sstevel@tonic-gate			version		NMTOKEN #FIXED '1'>
124