xref: /titanic_44/usr/src/lib/libzonecfg/dtd/zonecfg.dtd.1 (revision 550b6e4083768ca350e9e7c3a1ebbf720b23dcad)
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
236e1ae2a3SGary Pennington Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
24fa9e4066Sahrens
257c478bd9Sstevel@tonic-gate-->
267c478bd9Sstevel@tonic-gate
277c478bd9Sstevel@tonic-gate<!--Element Definitions-->
287c478bd9Sstevel@tonic-gate
297c478bd9Sstevel@tonic-gate<!ELEMENT fsoption	EMPTY>
307c478bd9Sstevel@tonic-gate<!ATTLIST fsoption	name		CDATA #REQUIRED>
317c478bd9Sstevel@tonic-gate
327c478bd9Sstevel@tonic-gate<!ELEMENT filesystem	(fsoption)* >
337c478bd9Sstevel@tonic-gate
347c478bd9Sstevel@tonic-gate<!ATTLIST filesystem	special		CDATA #REQUIRED
357c478bd9Sstevel@tonic-gate			raw		CDATA ""
367c478bd9Sstevel@tonic-gate			directory	CDATA #REQUIRED
377c478bd9Sstevel@tonic-gate			type		CDATA #REQUIRED>
387c478bd9Sstevel@tonic-gate
396e1ae2a3SGary Pennington<!--
406e1ae2a3SGary Pennington The "inherited-pkg-dir" element may no longer be specified in a
416e1ae2a3SGary Pennington configuration, however we retain the definition to aid with migration
426e1ae2a3SGary Pennington of existing configurations.
436e1ae2a3SGary Pennington-->
446e1ae2a3SGary Pennington
457c478bd9Sstevel@tonic-gate<!ELEMENT inherited-pkg-dir	EMPTY>
467c478bd9Sstevel@tonic-gate
477c478bd9Sstevel@tonic-gate<!ATTLIST inherited-pkg-dir	directory	CDATA #REQUIRED>
487c478bd9Sstevel@tonic-gate
497c478bd9Sstevel@tonic-gate<!ELEMENT network	EMPTY>
507c478bd9Sstevel@tonic-gate
51f4b3ec61Sdh155122<!ATTLIST network	address		CDATA ""
52*550b6e40SSowmini Varadhan			allowed-address	CDATA ""
53de860bd9Sgfaden			defrouter	CDATA ""
547c478bd9Sstevel@tonic-gate			physical	CDATA #REQUIRED>
557c478bd9Sstevel@tonic-gate
567c478bd9Sstevel@tonic-gate<!ELEMENT device	EMPTY>
577c478bd9Sstevel@tonic-gate
587c478bd9Sstevel@tonic-gate<!ATTLIST device	match		CDATA #REQUIRED>
597c478bd9Sstevel@tonic-gate
605749802bSdp<!--
61facf4a8dSllai1	Historically, the deleted-device element denoted a used-to-be
62facf4a8dSllai1	device element.  This was used to keep track of device elements
63facf4a8dSllai1	deleted or modified by the user, and to cleanse /dev of such
64facf4a8dSllai1	entries at next zone boot.
655749802bSdp
66facf4a8dSllai1	With the ability to now configure devices dynamically, this
67facf4a8dSllai1	requirement no longer exists, but this element MUST remain in
68facf4a8dSllai1	perpetuity, since it is possible that an upgraded zone could
69facf4a8dSllai1	carry a deleted-device element, and would therefore fail XML
70facf4a8dSllai1	validation if removed
715749802bSdp-->
725749802bSdp<!ELEMENT deleted-device	EMPTY>
735749802bSdp
745749802bSdp<!ATTLIST deleted-device	match		CDATA #REQUIRED>
755749802bSdp
767c478bd9Sstevel@tonic-gate<!ELEMENT rctl-value	EMPTY>
777c478bd9Sstevel@tonic-gate
787c478bd9Sstevel@tonic-gate<!ATTLIST rctl-value	priv		CDATA #REQUIRED
797c478bd9Sstevel@tonic-gate			limit		CDATA #REQUIRED
807c478bd9Sstevel@tonic-gate			action		CDATA #REQUIRED>
817c478bd9Sstevel@tonic-gate
827c478bd9Sstevel@tonic-gate<!ELEMENT rctl		(rctl-value)*>
837c478bd9Sstevel@tonic-gate
847c478bd9Sstevel@tonic-gate<!ATTLIST rctl		name		CDATA #REQUIRED>
857c478bd9Sstevel@tonic-gate
867c478bd9Sstevel@tonic-gate<!ELEMENT attr		EMPTY>
877c478bd9Sstevel@tonic-gate
887c478bd9Sstevel@tonic-gate<!ATTLIST attr		name		CDATA #REQUIRED
897c478bd9Sstevel@tonic-gate			type		(boolean | int | string | uint)
907c478bd9Sstevel@tonic-gate					#REQUIRED
917c478bd9Sstevel@tonic-gate			value		CDATA #REQUIRED>
927c478bd9Sstevel@tonic-gate
93fa9e4066Sahrens<!ELEMENT dataset	EMPTY>
94fa9e4066Sahrens
95fa9e4066Sahrens<!ATTLIST dataset	name		CDATA #REQUIRED>
96fa9e4066Sahrens
97ee519a1fSgjelinek<!ELEMENT package	EMPTY>
98ee519a1fSgjelinek
99ee519a1fSgjelinek<!ATTLIST package	name		CDATA #REQUIRED
100ee519a1fSgjelinek			version		CDATA #REQUIRED>
101ee519a1fSgjelinek
102ee519a1fSgjelinek<!ELEMENT obsoletes	EMPTY>
103ee519a1fSgjelinek<!ATTLIST obsoletes	id		CDATA #REQUIRED>
104ee519a1fSgjelinek
105ee519a1fSgjelinek<!ELEMENT incompatible	EMPTY>
106ee519a1fSgjelinek<!ATTLIST incompatible	id		CDATA #REQUIRED>
107ee519a1fSgjelinek
108ee519a1fSgjelinek<!ELEMENT patch	(obsoletes | incompatible)* >
109ee519a1fSgjelinek
110ee519a1fSgjelinek<!ATTLIST patch		id		CDATA #REQUIRED>
111ee519a1fSgjelinek
112ee519a1fSgjelinek<!ELEMENT dev-perm	EMPTY>
113ee519a1fSgjelinek
114ee519a1fSgjelinek<!ATTLIST dev-perm	name		CDATA #REQUIRED
115ee519a1fSgjelinek			uid		CDATA #REQUIRED
116ee519a1fSgjelinek			gid		CDATA #REQUIRED
117ee519a1fSgjelinek			mode		CDATA #REQUIRED
118ee519a1fSgjelinek			acl		CDATA #REQUIRED>
119ee519a1fSgjelinek
1200209230bSgjelinek<!--
1210209230bSgjelinek	The tmp_pool element is separate from the pset element so that
1220209230bSgjelinek	we can track the importance value at the pool level, where it
1230209230bSgjelinek	belongs, instead of at the pset level.  Once we have msets this
1240209230bSgjelinek	will be important since tmp psets and tmp msets will share a common
1250209230bSgjelinek	pool-level importance.
1260209230bSgjelinek-->
1270209230bSgjelinek<!ELEMENT tmp_pool	EMPTY>
1280209230bSgjelinek
1290209230bSgjelinek<!ATTLIST tmp_pool	importance	CDATA #REQUIRED>
1300209230bSgjelinek
1310209230bSgjelinek<!ELEMENT pset		EMPTY>
1320209230bSgjelinek
1330209230bSgjelinek<!ATTLIST pset		ncpu_min	CDATA #REQUIRED
1340209230bSgjelinek			ncpu_max	CDATA #REQUIRED>
1350209230bSgjelinek
1360209230bSgjelinek<!ELEMENT mcap		EMPTY>
1370209230bSgjelinek
1380209230bSgjelinek<!ATTLIST mcap		physcap		CDATA #REQUIRED>
1390209230bSgjelinek
140cb8a054bSGlenn Faden<!ELEMENT admin 	EMPTY>
141cb8a054bSGlenn Faden
142cb8a054bSGlenn Faden<!ATTLIST admin     	user		CDATA #REQUIRED
143cb8a054bSGlenn Faden                    	auths		CDATA #REQUIRED>
144cb8a054bSGlenn Faden
1455679c89fSjv227347<!ELEMENT zone		(filesystem | inherited-pkg-dir | network | device |
1465679c89fSjv227347			deleted-device | rctl | attr | dataset | package |
147cb8a054bSGlenn Faden			patch | dev-perm | tmp_pool | pset |
148cb8a054bSGlenn Faden			mcap | admin)*>
1497c478bd9Sstevel@tonic-gate
1507c478bd9Sstevel@tonic-gate<!ATTLIST zone		name		CDATA #REQUIRED
1517c478bd9Sstevel@tonic-gate			zonepath	CDATA #REQUIRED
1527c478bd9Sstevel@tonic-gate			autoboot	(true | false) #REQUIRED
153f4b3ec61Sdh155122			ip-type		CDATA ""
1545679c89fSjv227347			hostid		CDATA ""
1557c478bd9Sstevel@tonic-gate			pool		CDATA ""
156ffbafc53Scomay			limitpriv	CDATA ""
1573f2f09c1Sdp			bootargs	CDATA ""
1589acbbeafSnn35248			brand		CDATA ""
1590209230bSgjelinek			scheduling-class	CDATA ""
1600fbb751dSJohn Levon			fs-allowed	CDATA ""
1617c478bd9Sstevel@tonic-gate			version		NMTOKEN #FIXED '1'>
162