xref: /titanic_50/usr/src/lib/libzonecfg/dtd/zonecfg.dtd.1 (revision d1a180b0452ce86577a43be3245d2eacdeec1a34)
1<?xml version='1.0' encoding='UTF-8' ?>
2
3<!--
4 CDDL HEADER START
5
6 The contents of this file are subject to the terms of the
7 Common Development and Distribution License, Version 1.0 only
8 (the "License").  You may not use this file except in compliance
9 with the License.
10
11 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
12 or http://www.opensolaris.org/os/licensing.
13 See the License for the specific language governing permissions
14 and limitations under the License.
15
16 When distributing Covered Code, include this CDDL HEADER in each
17 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
18 If applicable, add the following below this CDDL HEADER, with the
19 fields enclosed by brackets "[]" replaced with your own identifying
20 information: Portions Copyright [yyyy] [name of copyright owner]
21
22 CDDL HEADER END
23
24 Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
25 Use is subject to license terms.
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 dataset	EMPTY>
73
74<!ATTLIST dataset	name		CDATA #REQUIRED>
75
76<!ELEMENT zone		(filesystem | inherited-pkg-dir | network | device | rctl | attr | dataset)*>
77
78<!ATTLIST zone		name		CDATA #REQUIRED
79			zonepath	CDATA #REQUIRED
80			autoboot	(true | false) #REQUIRED
81			pool		CDATA ""
82			version		NMTOKEN #FIXED '1'>
83