xref: /onnv-gate/usr/src/lib/libzonecfg/dtd/zonecfg.dtd.1 (revision 3448:aaf16568054b)
10Sstevel@tonic-gate<?xml version='1.0' encoding='UTF-8' ?>
20Sstevel@tonic-gate
30Sstevel@tonic-gate<!--
40Sstevel@tonic-gate CDDL HEADER START
50Sstevel@tonic-gate
60Sstevel@tonic-gate The contents of this file are subject to the terms of the
71507Sgjelinek Common Development and Distribution License (the "License").
81507Sgjelinek You may not use this file except in compliance with the License.
90Sstevel@tonic-gate
100Sstevel@tonic-gate You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
110Sstevel@tonic-gate or http://www.opensolaris.org/os/licensing.
120Sstevel@tonic-gate See the License for the specific language governing permissions
130Sstevel@tonic-gate and limitations under the License.
140Sstevel@tonic-gate
150Sstevel@tonic-gate When distributing Covered Code, include this CDDL HEADER in each
160Sstevel@tonic-gate file and include the License file at usr/src/OPENSOLARIS.LICENSE.
170Sstevel@tonic-gate If applicable, add the following below this CDDL HEADER, with the
180Sstevel@tonic-gate fields enclosed by brackets "[]" replaced with your own identifying
190Sstevel@tonic-gate information: Portions Copyright [yyyy] [name of copyright owner]
200Sstevel@tonic-gate
210Sstevel@tonic-gate CDDL HEADER END
220Sstevel@tonic-gate
23*3448Sdh155122 Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
24789Sahrens Use is subject to license terms.
25789Sahrens
261645Scomay ident	"%Z%%M%	%I%	%E% SMI"
270Sstevel@tonic-gate-->
280Sstevel@tonic-gate
290Sstevel@tonic-gate<!--Element Definitions-->
300Sstevel@tonic-gate
310Sstevel@tonic-gate<!ELEMENT fsoption	EMPTY>
320Sstevel@tonic-gate<!ATTLIST fsoption	name		CDATA #REQUIRED>
330Sstevel@tonic-gate
340Sstevel@tonic-gate<!ELEMENT filesystem	(fsoption)* >
350Sstevel@tonic-gate
360Sstevel@tonic-gate<!ATTLIST filesystem	special		CDATA #REQUIRED
370Sstevel@tonic-gate			raw		CDATA ""
380Sstevel@tonic-gate			directory	CDATA #REQUIRED
390Sstevel@tonic-gate			type		CDATA #REQUIRED>
400Sstevel@tonic-gate
410Sstevel@tonic-gate<!ELEMENT inherited-pkg-dir	EMPTY>
420Sstevel@tonic-gate
430Sstevel@tonic-gate<!ATTLIST inherited-pkg-dir	directory	CDATA #REQUIRED>
440Sstevel@tonic-gate
450Sstevel@tonic-gate<!ELEMENT network	EMPTY>
460Sstevel@tonic-gate
47*3448Sdh155122<!ATTLIST network	address		CDATA ""
480Sstevel@tonic-gate			physical	CDATA #REQUIRED>
490Sstevel@tonic-gate
500Sstevel@tonic-gate<!ELEMENT device	EMPTY>
510Sstevel@tonic-gate
520Sstevel@tonic-gate<!ATTLIST device	match		CDATA #REQUIRED>
530Sstevel@tonic-gate
542503Sdp<!--
552621Sllai1	Historically, the deleted-device element denoted a used-to-be
562621Sllai1	device element.  This was used to keep track of device elements
572621Sllai1	deleted or modified by the user, and to cleanse /dev of such
582621Sllai1	entries at next zone boot.
592503Sdp
602621Sllai1	With the ability to now configure devices dynamically, this
612621Sllai1	requirement no longer exists, but this element MUST remain in
622621Sllai1	perpetuity, since it is possible that an upgraded zone could
632621Sllai1	carry a deleted-device element, and would therefore fail XML
642621Sllai1	validation if removed
652503Sdp-->
662503Sdp<!ELEMENT deleted-device	EMPTY>
672503Sdp
682503Sdp<!ATTLIST deleted-device	match		CDATA #REQUIRED>
692503Sdp
700Sstevel@tonic-gate<!ELEMENT rctl-value	EMPTY>
710Sstevel@tonic-gate
720Sstevel@tonic-gate<!ATTLIST rctl-value	priv		CDATA #REQUIRED
730Sstevel@tonic-gate			limit		CDATA #REQUIRED
740Sstevel@tonic-gate			action		CDATA #REQUIRED>
750Sstevel@tonic-gate
761645Scomay<!ELEMENT rctl		(rctl-value)*>
770Sstevel@tonic-gate
780Sstevel@tonic-gate<!ATTLIST rctl		name		CDATA #REQUIRED>
790Sstevel@tonic-gate
800Sstevel@tonic-gate<!ELEMENT attr		EMPTY>
810Sstevel@tonic-gate
820Sstevel@tonic-gate<!ATTLIST attr		name		CDATA #REQUIRED
830Sstevel@tonic-gate			type		(boolean | int | string | uint)
840Sstevel@tonic-gate					#REQUIRED
850Sstevel@tonic-gate			value		CDATA #REQUIRED>
860Sstevel@tonic-gate
87789Sahrens<!ELEMENT dataset	EMPTY>
88789Sahrens
89789Sahrens<!ATTLIST dataset	name		CDATA #REQUIRED>
90789Sahrens
911507Sgjelinek<!ELEMENT package	EMPTY>
921507Sgjelinek
931507Sgjelinek<!ATTLIST package	name		CDATA #REQUIRED
941507Sgjelinek			version		CDATA #REQUIRED>
951507Sgjelinek
961507Sgjelinek<!ELEMENT obsoletes	EMPTY>
971507Sgjelinek<!ATTLIST obsoletes	id		CDATA #REQUIRED>
981507Sgjelinek
991507Sgjelinek<!ELEMENT incompatible	EMPTY>
1001507Sgjelinek<!ATTLIST incompatible	id		CDATA #REQUIRED>
1011507Sgjelinek
1021507Sgjelinek<!ELEMENT patch	(obsoletes | incompatible)* >
1031507Sgjelinek
1041507Sgjelinek<!ATTLIST patch		id		CDATA #REQUIRED>
1051507Sgjelinek
1061507Sgjelinek<!ELEMENT dev-perm	EMPTY>
1071507Sgjelinek
1081507Sgjelinek<!ATTLIST dev-perm	name		CDATA #REQUIRED
1091507Sgjelinek			uid		CDATA #REQUIRED
1101507Sgjelinek			gid		CDATA #REQUIRED
1111507Sgjelinek			mode		CDATA #REQUIRED
1121507Sgjelinek			acl		CDATA #REQUIRED>
1131507Sgjelinek
1143247Sgjelinek<!--
1153247Sgjelinek	The tmp_pool element is separate from the pset element so that
1163247Sgjelinek	we can track the importance value at the pool level, where it
1173247Sgjelinek	belongs, instead of at the pset level.  Once we have msets this
1183247Sgjelinek	will be important since tmp psets and tmp msets will share a common
1193247Sgjelinek	pool-level importance.
1203247Sgjelinek-->
1213247Sgjelinek<!ELEMENT tmp_pool	EMPTY>
1223247Sgjelinek
1233247Sgjelinek<!ATTLIST tmp_pool	importance	CDATA #REQUIRED>
1243247Sgjelinek
1253247Sgjelinek<!ELEMENT pset		EMPTY>
1263247Sgjelinek
1273247Sgjelinek<!ATTLIST pset		ncpu_min	CDATA #REQUIRED
1283247Sgjelinek			ncpu_max	CDATA #REQUIRED>
1293247Sgjelinek
1303247Sgjelinek<!ELEMENT mcap		EMPTY>
1313247Sgjelinek
1323247Sgjelinek<!ATTLIST mcap		physcap		CDATA #REQUIRED>
1333247Sgjelinek
1343247Sgjelinek<!ELEMENT zone		(filesystem | inherited-pkg-dir | network | device | deleted-device | rctl | attr | dataset | package | patch | dev-perm | tmp_pool | pset | mcap)*>
1350Sstevel@tonic-gate
1360Sstevel@tonic-gate<!ATTLIST zone		name		CDATA #REQUIRED
1370Sstevel@tonic-gate			zonepath	CDATA #REQUIRED
1380Sstevel@tonic-gate			autoboot	(true | false) #REQUIRED
139*3448Sdh155122			ip-type		CDATA ""
1400Sstevel@tonic-gate			pool		CDATA ""
1411645Scomay			limitpriv	CDATA ""
1422267Sdp			bootargs	CDATA ""
1432712Snn35248			brand		CDATA ""
1443247Sgjelinek			scheduling-class	CDATA ""
1450Sstevel@tonic-gate			version		NMTOKEN #FIXED '1'>
146