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 (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. 24 25--> 26 27<!--Element Definitions--> 28 29<!ELEMENT fsoption EMPTY> 30<!ATTLIST fsoption name CDATA #REQUIRED> 31 32<!ELEMENT filesystem (fsoption)* > 33 34<!ATTLIST filesystem special CDATA #REQUIRED 35 raw CDATA "" 36 directory CDATA #REQUIRED 37 type CDATA #REQUIRED> 38 39<!ELEMENT inherited-pkg-dir EMPTY> 40 41<!ATTLIST inherited-pkg-dir directory CDATA #REQUIRED> 42 43<!ELEMENT network EMPTY> 44 45<!ATTLIST network address CDATA "" 46 defrouter CDATA "" 47 physical CDATA #REQUIRED> 48 49<!ELEMENT device EMPTY> 50 51<!ATTLIST device match CDATA #REQUIRED> 52 53<!-- 54 Historically, the deleted-device element denoted a used-to-be 55 device element. This was used to keep track of device elements 56 deleted or modified by the user, and to cleanse /dev of such 57 entries at next zone boot. 58 59 With the ability to now configure devices dynamically, this 60 requirement no longer exists, but this element MUST remain in 61 perpetuity, since it is possible that an upgraded zone could 62 carry a deleted-device element, and would therefore fail XML 63 validation if removed 64--> 65<!ELEMENT deleted-device EMPTY> 66 67<!ATTLIST deleted-device match CDATA #REQUIRED> 68 69<!ELEMENT rctl-value EMPTY> 70 71<!ATTLIST rctl-value priv CDATA #REQUIRED 72 limit CDATA #REQUIRED 73 action CDATA #REQUIRED> 74 75<!ELEMENT rctl (rctl-value)*> 76 77<!ATTLIST rctl name CDATA #REQUIRED> 78 79<!ELEMENT attr EMPTY> 80 81<!ATTLIST attr name CDATA #REQUIRED 82 type (boolean | int | string | uint) 83 #REQUIRED 84 value CDATA #REQUIRED> 85 86<!ELEMENT dataset EMPTY> 87 88<!ATTLIST dataset name CDATA #REQUIRED> 89 90<!ELEMENT package EMPTY> 91 92<!ATTLIST package name CDATA #REQUIRED 93 version CDATA #REQUIRED> 94 95<!ELEMENT obsoletes EMPTY> 96<!ATTLIST obsoletes id CDATA #REQUIRED> 97 98<!ELEMENT incompatible EMPTY> 99<!ATTLIST incompatible id CDATA #REQUIRED> 100 101<!ELEMENT patch (obsoletes | incompatible)* > 102 103<!ATTLIST patch id CDATA #REQUIRED> 104 105<!ELEMENT dev-perm EMPTY> 106 107<!ATTLIST dev-perm name CDATA #REQUIRED 108 uid CDATA #REQUIRED 109 gid CDATA #REQUIRED 110 mode CDATA #REQUIRED 111 acl CDATA #REQUIRED> 112 113<!-- 114 The tmp_pool element is separate from the pset element so that 115 we can track the importance value at the pool level, where it 116 belongs, instead of at the pset level. Once we have msets this 117 will be important since tmp psets and tmp msets will share a common 118 pool-level importance. 119--> 120<!ELEMENT tmp_pool EMPTY> 121 122<!ATTLIST tmp_pool importance CDATA #REQUIRED> 123 124<!ELEMENT pset EMPTY> 125 126<!ATTLIST pset ncpu_min CDATA #REQUIRED 127 ncpu_max CDATA #REQUIRED> 128 129<!ELEMENT mcap EMPTY> 130 131<!ATTLIST mcap physcap CDATA #REQUIRED> 132 133<!ELEMENT admin EMPTY> 134 135<!ATTLIST admin user CDATA #REQUIRED 136 auths CDATA #REQUIRED> 137 138<!ELEMENT zone (filesystem | inherited-pkg-dir | network | device | 139 deleted-device | rctl | attr | dataset | package | 140 patch | dev-perm | tmp_pool | pset | 141 mcap | admin)*> 142 143<!ATTLIST zone name CDATA #REQUIRED 144 zonepath CDATA #REQUIRED 145 autoboot (true | false) #REQUIRED 146 ip-type CDATA "" 147 hostid CDATA "" 148 pool CDATA "" 149 limitpriv CDATA "" 150 bootargs CDATA "" 151 brand CDATA "" 152 scheduling-class CDATA "" 153 fs-allowed CDATA "" 154 version NMTOKEN #FIXED '1'> 155