xref: /titanic_41/usr/src/lib/libzonecfg/dtd/zonecfg.dtd.1 (revision de860bd9529e1034e1666f74f7bc0ec8cd5ca701)
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
23*de860bd9Sgfaden Copyright 2008 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
47f4b3ec61Sdh155122<!ATTLIST network	address		CDATA ""
48*de860bd9Sgfaden			defrouter	CDATA ""
497c478bd9Sstevel@tonic-gate			physical	CDATA #REQUIRED>
507c478bd9Sstevel@tonic-gate
517c478bd9Sstevel@tonic-gate<!ELEMENT device	EMPTY>
527c478bd9Sstevel@tonic-gate
537c478bd9Sstevel@tonic-gate<!ATTLIST device	match		CDATA #REQUIRED>
547c478bd9Sstevel@tonic-gate
555749802bSdp<!--
56facf4a8dSllai1	Historically, the deleted-device element denoted a used-to-be
57facf4a8dSllai1	device element.  This was used to keep track of device elements
58facf4a8dSllai1	deleted or modified by the user, and to cleanse /dev of such
59facf4a8dSllai1	entries at next zone boot.
605749802bSdp
61facf4a8dSllai1	With the ability to now configure devices dynamically, this
62facf4a8dSllai1	requirement no longer exists, but this element MUST remain in
63facf4a8dSllai1	perpetuity, since it is possible that an upgraded zone could
64facf4a8dSllai1	carry a deleted-device element, and would therefore fail XML
65facf4a8dSllai1	validation if removed
665749802bSdp-->
675749802bSdp<!ELEMENT deleted-device	EMPTY>
685749802bSdp
695749802bSdp<!ATTLIST deleted-device	match		CDATA #REQUIRED>
705749802bSdp
717c478bd9Sstevel@tonic-gate<!ELEMENT rctl-value	EMPTY>
727c478bd9Sstevel@tonic-gate
737c478bd9Sstevel@tonic-gate<!ATTLIST rctl-value	priv		CDATA #REQUIRED
747c478bd9Sstevel@tonic-gate			limit		CDATA #REQUIRED
757c478bd9Sstevel@tonic-gate			action		CDATA #REQUIRED>
767c478bd9Sstevel@tonic-gate
777c478bd9Sstevel@tonic-gate<!ELEMENT rctl		(rctl-value)*>
787c478bd9Sstevel@tonic-gate
797c478bd9Sstevel@tonic-gate<!ATTLIST rctl		name		CDATA #REQUIRED>
807c478bd9Sstevel@tonic-gate
817c478bd9Sstevel@tonic-gate<!ELEMENT attr		EMPTY>
827c478bd9Sstevel@tonic-gate
837c478bd9Sstevel@tonic-gate<!ATTLIST attr		name		CDATA #REQUIRED
847c478bd9Sstevel@tonic-gate			type		(boolean | int | string | uint)
857c478bd9Sstevel@tonic-gate					#REQUIRED
867c478bd9Sstevel@tonic-gate			value		CDATA #REQUIRED>
877c478bd9Sstevel@tonic-gate
88fa9e4066Sahrens<!ELEMENT dataset	EMPTY>
89fa9e4066Sahrens
90fa9e4066Sahrens<!ATTLIST dataset	name		CDATA #REQUIRED>
91fa9e4066Sahrens
92ee519a1fSgjelinek<!ELEMENT package	EMPTY>
93ee519a1fSgjelinek
94ee519a1fSgjelinek<!ATTLIST package	name		CDATA #REQUIRED
95ee519a1fSgjelinek			version		CDATA #REQUIRED>
96ee519a1fSgjelinek
97ee519a1fSgjelinek<!ELEMENT obsoletes	EMPTY>
98ee519a1fSgjelinek<!ATTLIST obsoletes	id		CDATA #REQUIRED>
99ee519a1fSgjelinek
100ee519a1fSgjelinek<!ELEMENT incompatible	EMPTY>
101ee519a1fSgjelinek<!ATTLIST incompatible	id		CDATA #REQUIRED>
102ee519a1fSgjelinek
103ee519a1fSgjelinek<!ELEMENT patch	(obsoletes | incompatible)* >
104ee519a1fSgjelinek
105ee519a1fSgjelinek<!ATTLIST patch		id		CDATA #REQUIRED>
106ee519a1fSgjelinek
107ee519a1fSgjelinek<!ELEMENT dev-perm	EMPTY>
108ee519a1fSgjelinek
109ee519a1fSgjelinek<!ATTLIST dev-perm	name		CDATA #REQUIRED
110ee519a1fSgjelinek			uid		CDATA #REQUIRED
111ee519a1fSgjelinek			gid		CDATA #REQUIRED
112ee519a1fSgjelinek			mode		CDATA #REQUIRED
113ee519a1fSgjelinek			acl		CDATA #REQUIRED>
114ee519a1fSgjelinek
1150209230bSgjelinek<!--
1160209230bSgjelinek	The tmp_pool element is separate from the pset element so that
1170209230bSgjelinek	we can track the importance value at the pool level, where it
1180209230bSgjelinek	belongs, instead of at the pset level.  Once we have msets this
1190209230bSgjelinek	will be important since tmp psets and tmp msets will share a common
1200209230bSgjelinek	pool-level importance.
1210209230bSgjelinek-->
1220209230bSgjelinek<!ELEMENT tmp_pool	EMPTY>
1230209230bSgjelinek
1240209230bSgjelinek<!ATTLIST tmp_pool	importance	CDATA #REQUIRED>
1250209230bSgjelinek
1260209230bSgjelinek<!ELEMENT pset		EMPTY>
1270209230bSgjelinek
1280209230bSgjelinek<!ATTLIST pset		ncpu_min	CDATA #REQUIRED
1290209230bSgjelinek			ncpu_max	CDATA #REQUIRED>
1300209230bSgjelinek
1310209230bSgjelinek<!ELEMENT mcap		EMPTY>
1320209230bSgjelinek
1330209230bSgjelinek<!ATTLIST mcap		physcap		CDATA #REQUIRED>
1340209230bSgjelinek
1350209230bSgjelinek<!ELEMENT zone		(filesystem | inherited-pkg-dir | network | device | deleted-device | rctl | attr | dataset | package | patch | dev-perm | tmp_pool | pset | mcap)*>
1367c478bd9Sstevel@tonic-gate
1377c478bd9Sstevel@tonic-gate<!ATTLIST zone		name		CDATA #REQUIRED
1387c478bd9Sstevel@tonic-gate			zonepath	CDATA #REQUIRED
1397c478bd9Sstevel@tonic-gate			autoboot	(true | false) #REQUIRED
140f4b3ec61Sdh155122			ip-type		CDATA ""
1417c478bd9Sstevel@tonic-gate			pool		CDATA ""
142ffbafc53Scomay			limitpriv	CDATA ""
1433f2f09c1Sdp			bootargs	CDATA ""
1449acbbeafSnn35248			brand		CDATA ""
1450209230bSgjelinek			scheduling-class	CDATA ""
1467c478bd9Sstevel@tonic-gate			version		NMTOKEN #FIXED '1'>
147