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