xref: /titanic_41/usr/src/lib/libzonecfg/dtd/zonecfg.dtd.1 (revision 8461248208fabd3a8230615f8615e5bf1b4dcdcb)
1<?xml version='1.0' encoding='UTF-8' ?>
2
3<!--
4 Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
5 Use is subject to license terms.
6
7 CDDL HEADER START
8
9 The contents of this file are subject to the terms of the
10 Common Development and Distribution License, Version 1.0 only
11 (the "License").  You may not use this file except in compliance
12 with the License.
13
14 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
15 or http://www.opensolaris.org/os/licensing.
16 See the License for the specific language governing permissions
17 and limitations under the License.
18
19 When distributing Covered Code, include this CDDL HEADER in each
20 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
21 If applicable, add the following below this CDDL HEADER, with the
22 fields enclosed by brackets "[]" replaced with your own identifying
23 information: Portions Copyright [yyyy] [name of copyright owner]
24
25 CDDL HEADER END
26
27    ident	"%Z%%M%	%I%	%E% SMI"
28-->
29
30<!--Element Definitions-->
31
32<!ELEMENT fsoption	EMPTY>
33<!ATTLIST fsoption	name		CDATA #REQUIRED>
34
35<!ELEMENT filesystem	(fsoption)* >
36
37<!ATTLIST filesystem	special		CDATA #REQUIRED
38			raw		CDATA ""
39			directory	CDATA #REQUIRED
40			type		CDATA #REQUIRED>
41
42<!ELEMENT inherited-pkg-dir	EMPTY>
43
44<!ATTLIST inherited-pkg-dir	directory	CDATA #REQUIRED>
45
46<!ELEMENT network	EMPTY>
47
48<!ATTLIST network	address		CDATA #REQUIRED
49			physical	CDATA #REQUIRED>
50
51<!ELEMENT device	EMPTY>
52
53<!ATTLIST device	match		CDATA #REQUIRED>
54
55<!ELEMENT rctl-value	EMPTY>
56
57<!ATTLIST rctl-value	priv		CDATA #REQUIRED
58			limit		CDATA #REQUIRED
59			action		CDATA #REQUIRED>
60
61<!ELEMENT rctl          (rctl-value)*>
62
63<!ATTLIST rctl		name		CDATA #REQUIRED>
64
65<!ELEMENT attr		EMPTY>
66
67<!ATTLIST attr		name		CDATA #REQUIRED
68			type		(boolean | int | string | uint)
69					#REQUIRED
70			value		CDATA #REQUIRED>
71
72<!ELEMENT zone		(filesystem | inherited-pkg-dir | network | device | rctl | attr)*>
73
74<!ATTLIST zone		name		CDATA #REQUIRED
75			zonepath	CDATA #REQUIRED
76			autoboot	(true | false) #REQUIRED
77			pool		CDATA ""
78			version		NMTOKEN #FIXED '1'>
79