xref: /onnv-gate/usr/src/lib/libzonecfg/dtd/zonecfg.dtd.1 (revision 12748:40c62600acd3)
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
2312734Sgary.pennington@oracle.com Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
24789Sahrens
250Sstevel@tonic-gate-->
260Sstevel@tonic-gate
270Sstevel@tonic-gate<!--Element Definitions-->
280Sstevel@tonic-gate
290Sstevel@tonic-gate<!ELEMENT fsoption	EMPTY>
300Sstevel@tonic-gate<!ATTLIST fsoption	name		CDATA #REQUIRED>
310Sstevel@tonic-gate
320Sstevel@tonic-gate<!ELEMENT filesystem	(fsoption)* >
330Sstevel@tonic-gate
340Sstevel@tonic-gate<!ATTLIST filesystem	special		CDATA #REQUIRED
350Sstevel@tonic-gate			raw		CDATA ""
360Sstevel@tonic-gate			directory	CDATA #REQUIRED
370Sstevel@tonic-gate			type		CDATA #REQUIRED>
380Sstevel@tonic-gate
3912734Sgary.pennington@oracle.com<!--
4012734Sgary.pennington@oracle.com The "inherited-pkg-dir" element may no longer be specified in a
4112734Sgary.pennington@oracle.com configuration, however we retain the definition to aid with migration
4212734Sgary.pennington@oracle.com of existing configurations.
4312734Sgary.pennington@oracle.com-->
4412734Sgary.pennington@oracle.com
450Sstevel@tonic-gate<!ELEMENT inherited-pkg-dir	EMPTY>
460Sstevel@tonic-gate
470Sstevel@tonic-gate<!ATTLIST inherited-pkg-dir	directory	CDATA #REQUIRED>
480Sstevel@tonic-gate
490Sstevel@tonic-gate<!ELEMENT network	EMPTY>
500Sstevel@tonic-gate
513448Sdh155122<!ATTLIST network	address		CDATA ""
52*12748SSowmini.Varadhan@oracle.COM			allowed-address	CDATA ""
536076Sgfaden			defrouter	CDATA ""
540Sstevel@tonic-gate			physical	CDATA #REQUIRED>
550Sstevel@tonic-gate
560Sstevel@tonic-gate<!ELEMENT device	EMPTY>
570Sstevel@tonic-gate
580Sstevel@tonic-gate<!ATTLIST device	match		CDATA #REQUIRED>
590Sstevel@tonic-gate
602503Sdp<!--
612621Sllai1	Historically, the deleted-device element denoted a used-to-be
622621Sllai1	device element.  This was used to keep track of device elements
632621Sllai1	deleted or modified by the user, and to cleanse /dev of such
642621Sllai1	entries at next zone boot.
652503Sdp
662621Sllai1	With the ability to now configure devices dynamically, this
672621Sllai1	requirement no longer exists, but this element MUST remain in
682621Sllai1	perpetuity, since it is possible that an upgraded zone could
692621Sllai1	carry a deleted-device element, and would therefore fail XML
702621Sllai1	validation if removed
712503Sdp-->
722503Sdp<!ELEMENT deleted-device	EMPTY>
732503Sdp
742503Sdp<!ATTLIST deleted-device	match		CDATA #REQUIRED>
752503Sdp
760Sstevel@tonic-gate<!ELEMENT rctl-value	EMPTY>
770Sstevel@tonic-gate
780Sstevel@tonic-gate<!ATTLIST rctl-value	priv		CDATA #REQUIRED
790Sstevel@tonic-gate			limit		CDATA #REQUIRED
800Sstevel@tonic-gate			action		CDATA #REQUIRED>
810Sstevel@tonic-gate
821645Scomay<!ELEMENT rctl		(rctl-value)*>
830Sstevel@tonic-gate
840Sstevel@tonic-gate<!ATTLIST rctl		name		CDATA #REQUIRED>
850Sstevel@tonic-gate
860Sstevel@tonic-gate<!ELEMENT attr		EMPTY>
870Sstevel@tonic-gate
880Sstevel@tonic-gate<!ATTLIST attr		name		CDATA #REQUIRED
890Sstevel@tonic-gate			type		(boolean | int | string | uint)
900Sstevel@tonic-gate					#REQUIRED
910Sstevel@tonic-gate			value		CDATA #REQUIRED>
920Sstevel@tonic-gate
93789Sahrens<!ELEMENT dataset	EMPTY>
94789Sahrens
95789Sahrens<!ATTLIST dataset	name		CDATA #REQUIRED>
96789Sahrens
971507Sgjelinek<!ELEMENT package	EMPTY>
981507Sgjelinek
991507Sgjelinek<!ATTLIST package	name		CDATA #REQUIRED
1001507Sgjelinek			version		CDATA #REQUIRED>
1011507Sgjelinek
1021507Sgjelinek<!ELEMENT obsoletes	EMPTY>
1031507Sgjelinek<!ATTLIST obsoletes	id		CDATA #REQUIRED>
1041507Sgjelinek
1051507Sgjelinek<!ELEMENT incompatible	EMPTY>
1061507Sgjelinek<!ATTLIST incompatible	id		CDATA #REQUIRED>
1071507Sgjelinek
1081507Sgjelinek<!ELEMENT patch	(obsoletes | incompatible)* >
1091507Sgjelinek
1101507Sgjelinek<!ATTLIST patch		id		CDATA #REQUIRED>
1111507Sgjelinek
1121507Sgjelinek<!ELEMENT dev-perm	EMPTY>
1131507Sgjelinek
1141507Sgjelinek<!ATTLIST dev-perm	name		CDATA #REQUIRED
1151507Sgjelinek			uid		CDATA #REQUIRED
1161507Sgjelinek			gid		CDATA #REQUIRED
1171507Sgjelinek			mode		CDATA #REQUIRED
1181507Sgjelinek			acl		CDATA #REQUIRED>
1191507Sgjelinek
1203247Sgjelinek<!--
1213247Sgjelinek	The tmp_pool element is separate from the pset element so that
1223247Sgjelinek	we can track the importance value at the pool level, where it
1233247Sgjelinek	belongs, instead of at the pset level.  Once we have msets this
1243247Sgjelinek	will be important since tmp psets and tmp msets will share a common
1253247Sgjelinek	pool-level importance.
1263247Sgjelinek-->
1273247Sgjelinek<!ELEMENT tmp_pool	EMPTY>
1283247Sgjelinek
1293247Sgjelinek<!ATTLIST tmp_pool	importance	CDATA #REQUIRED>
1303247Sgjelinek
1313247Sgjelinek<!ELEMENT pset		EMPTY>
1323247Sgjelinek
1333247Sgjelinek<!ATTLIST pset		ncpu_min	CDATA #REQUIRED
1343247Sgjelinek			ncpu_max	CDATA #REQUIRED>
1353247Sgjelinek
1363247Sgjelinek<!ELEMENT mcap		EMPTY>
1373247Sgjelinek
1383247Sgjelinek<!ATTLIST mcap		physcap		CDATA #REQUIRED>
1393247Sgjelinek
14012578SGlenn.Faden@Sun.COM<!ELEMENT admin 	EMPTY>
14112578SGlenn.Faden@Sun.COM
14212578SGlenn.Faden@Sun.COM<!ATTLIST admin     	user		CDATA #REQUIRED
14312578SGlenn.Faden@Sun.COM                    	auths		CDATA #REQUIRED>
14412578SGlenn.Faden@Sun.COM
1458662SJordan.Vaughan@Sun.com<!ELEMENT zone		(filesystem | inherited-pkg-dir | network | device |
1468662SJordan.Vaughan@Sun.com			deleted-device | rctl | attr | dataset | package |
14712578SGlenn.Faden@Sun.COM			patch | dev-perm | tmp_pool | pset |
14812578SGlenn.Faden@Sun.COM			mcap | admin)*>
1490Sstevel@tonic-gate
1500Sstevel@tonic-gate<!ATTLIST zone		name		CDATA #REQUIRED
1510Sstevel@tonic-gate			zonepath	CDATA #REQUIRED
1520Sstevel@tonic-gate			autoboot	(true | false) #REQUIRED
1533448Sdh155122			ip-type		CDATA ""
1548662SJordan.Vaughan@Sun.com			hostid		CDATA ""
1550Sstevel@tonic-gate			pool		CDATA ""
1561645Scomay			limitpriv	CDATA ""
1572267Sdp			bootargs	CDATA ""
1582712Snn35248			brand		CDATA ""
1593247Sgjelinek			scheduling-class	CDATA ""
16012633Sjohn.levon@sun.com			fs-allowed	CDATA ""
1610Sstevel@tonic-gate			version		NMTOKEN #FIXED '1'>
162