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