1 () () 2 3 4 5 <?xml version='1.0' encoding='UTF-8' ?> 6 7 <!-- 8 CDDL HEADER START 9 10 The contents of this file are subject to the terms of the 11 Common Development and Distribution License (the "License"). 12 You may not use this file except in compliance 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 Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. 28 29 --> 30 31 <!--Element Definitions--> 32 33 <!ELEMENT fsoption EMPTY> <!ATTLIST fsoption name CDATA #REQUIRED> 34 35 <!ELEMENT filesystem (fsoption)* > 36 37 <!ATTLIST filesystem special CDATA #REQUIRED raw 38 CDATA "" directory CDATA #REQUIRED type CDATA 39 #REQUIRED> 40 41 <!-- 42 The "inherited-pkg-dir" element may no longer be specified in a 43 configuration, however we retain the definition to aid with migration 44 of existing configurations. --> 45 46 <!ELEMENT inherited-pkg-dir EMPTY> 47 48 <!ATTLIST inherited-pkg-dir directory CDATA #REQUIRED> 49 50 <!ELEMENT network EMPTY> 51 52 <!ATTLIST network address CDATA "" allowed-address 53 CDATA "" defrouter CDATA "" physical CDATA #REQUIRED> 54 55 <!ELEMENT device EMPTY> 56 57 <!ATTLIST device match CDATA #REQUIRED> 58 59 <!-- Historically, the deleted-device element denoted a used-to-be 60 device element. This was used to keep track of device elements deleted or 61 modified by the user, and to cleanse /dev of such entries at next zone 62 boot. 63 64 With the ability to now configure devices dynamically, this 65 requirement no longer exists, but this element MUST remain in perpetuity, 66 since it is possible that an upgraded zone could carry a deleted-device 67 element, and would therefore fail XML validation if removed --> <!ELEMENT 68 deleted-device EMPTY> 69 70 <!ATTLIST deleted-device match CDATA #REQUIRED> 71 72 <!ELEMENT rctl-value EMPTY> 73 74 <!ATTLIST rctl-value priv CDATA #REQUIRED limit 75 CDATA #REQUIRED action CDATA #REQUIRED> 76 77 <!ELEMENT rctl (rctl-value)*> 78 79 <!ATTLIST rctl name CDATA #REQUIRED> 80 81 <!ELEMENT attr EMPTY> 82 83 <!ATTLIST attr name CDATA #REQUIRED type (boolean 84 | int | string | uint) #REQUIRED value 85 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 version 94 CDATA #REQUIRED> 95 96 <!ELEMENT obsoletes EMPTY> <!ATTLIST obsoletes id CDATA #REQUIRED> 97 98 <!ELEMENT incompatible EMPTY> <!ATTLIST incompatible id CDATA 99 #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 uid CDATA 108 #REQUIRED gid CDATA #REQUIRED mode 109 CDATA #REQUIRED acl CDATA #REQUIRED> 110 111 <!-- The tmp_pool element is separate from the pset element so that we 112 can track the importance value at the pool level, where it belongs, instead 113 of at the pset level. Once we have msets this will be important since tmp 114 psets and tmp msets will share a common pool-level importance. --> 115 <!ELEMENT tmp_pool EMPTY> 116 117 <!ATTLIST tmp_pool importance CDATA #REQUIRED> 118 119 <!ELEMENT pset EMPTY> 120 121 <!ATTLIST pset ncpu_min CDATA #REQUIRED ncpu_max CDATA 122 #REQUIRED> 123 124 <!ELEMENT mcap EMPTY> 125 126 <!ATTLIST mcap physcap CDATA #REQUIRED> 127 128 <!ELEMENT admin EMPTY> 129 130 <!ATTLIST admin user CDATA #REQUIRED 131 auths CDATA #REQUIRED> 132 133 <!ELEMENT security-flags EMPTY> 134 135 <!ATTLIST security-flags default CDATA "" lower 136 CDATA "" upper CDATA ""> 137 138 <!ELEMENT zone (filesystem | inherited-pkg-dir | network | device | 139 deleted-device | rctl | attr | dataset | package | patch | dev- 140 perm | tmp_pool | pset | mcap | admin | security-flags)*> 141 142 <!ATTLIST zone name CDATA #REQUIRED zonepath CDATA 143 #REQUIRED autoboot (true | false) #REQUIRED ip- 144 type CDATA "" hostid CDATA "" pool 145 CDATA "" limitpriv CDATA "" bootargs CDATA "" 146 brand CDATA "" scheduling-class CDATA "" fs- 147 allowed CDATA "" version NMTOKEN #FIXED '1'> 148 149 150 151 June 2, 2016 ()