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 (the "License"). 8 You may not use this file except in compliance with the License. 9 10 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 11 or http://www.opensolaris.org/os/licensing. 12 See the License for the specific language governing permissions 13 and limitations under the License. 14 15 When distributing Covered Code, include this CDDL HEADER in each 16 file and include the License file at usr/src/OPENSOLARIS.LICENSE. 17 If applicable, add the following below this CDDL HEADER, with the 18 fields enclosed by brackets "[]" replaced with your own identifying 19 information: Portions Copyright [yyyy] [name of copyright owner] 20 21 CDDL HEADER END 22 23 Copyright 2006 Sun Microsystems, Inc. All rights reserved. 24 Use is subject to license terms. 25 26 ident "%Z%%M% %I% %E% SMI" 27--> 28 29<!--Element Definitions--> 30 31<!ELEMENT fsoption EMPTY> 32<!ATTLIST fsoption name CDATA #REQUIRED> 33 34<!ELEMENT filesystem (fsoption)* > 35 36<!ATTLIST filesystem special CDATA #REQUIRED 37 raw CDATA "" 38 directory CDATA #REQUIRED 39 type CDATA #REQUIRED> 40 41<!ELEMENT inherited-pkg-dir EMPTY> 42 43<!ATTLIST inherited-pkg-dir directory CDATA #REQUIRED> 44 45<!ELEMENT network EMPTY> 46 47<!ATTLIST network address CDATA #REQUIRED 48 physical CDATA #REQUIRED> 49 50<!ELEMENT device EMPTY> 51 52<!ATTLIST device match CDATA #REQUIRED> 53 54<!-- 55 Historically, the deleted-device element denoted a used-to-be 56 device element. This was used to keep track of device elements 57 deleted or modified by the user, and to cleanse /dev of such 58 entries at next zone boot. 59 60 With the ability to now configure devices dynamically, this 61 requirement no longer exists, but this element MUST remain in 62 perpetuity, since it is possible that an upgraded zone could 63 carry a deleted-device element, and would therefore fail XML 64 validation if removed 65--> 66<!ELEMENT deleted-device EMPTY> 67 68<!ATTLIST deleted-device match CDATA #REQUIRED> 69 70<!ELEMENT rctl-value EMPTY> 71 72<!ATTLIST rctl-value priv CDATA #REQUIRED 73 limit CDATA #REQUIRED 74 action CDATA #REQUIRED> 75 76<!ELEMENT rctl (rctl-value)*> 77 78<!ATTLIST rctl name CDATA #REQUIRED> 79 80<!ELEMENT attr EMPTY> 81 82<!ATTLIST attr name CDATA #REQUIRED 83 type (boolean | int | string | uint) 84 #REQUIRED 85 value CDATA #REQUIRED> 86 87<!ELEMENT dataset EMPTY> 88 89<!ATTLIST dataset name CDATA #REQUIRED> 90 91<!ELEMENT package EMPTY> 92 93<!ATTLIST package name CDATA #REQUIRED 94 version CDATA #REQUIRED> 95 96<!ELEMENT obsoletes EMPTY> 97<!ATTLIST obsoletes id CDATA #REQUIRED> 98 99<!ELEMENT incompatible EMPTY> 100<!ATTLIST incompatible id CDATA #REQUIRED> 101 102<!ELEMENT patch (obsoletes | incompatible)* > 103 104<!ATTLIST patch id CDATA #REQUIRED> 105 106<!ELEMENT dev-perm EMPTY> 107 108<!ATTLIST dev-perm name CDATA #REQUIRED 109 uid CDATA #REQUIRED 110 gid CDATA #REQUIRED 111 mode CDATA #REQUIRED 112 acl CDATA #REQUIRED> 113 114<!ELEMENT zone (filesystem | inherited-pkg-dir | network | device | deleted-device | rctl | attr | dataset | package | patch | dev-perm)*> 115 116<!ATTLIST zone name CDATA #REQUIRED 117 zonepath CDATA #REQUIRED 118 autoboot (true | false) #REQUIRED 119 pool CDATA "" 120 limitpriv CDATA "" 121 bootargs CDATA "" 122 brand CDATA "" 123 version NMTOKEN #FIXED '1'> 124