Print this page
OS-200 need a better mechanism for storing persistent zone_did
OS-511 make zonecfg device resource extensible, like the net resource
OS-224 add more zonecfg net properties
OS-216 store all net config info on zone

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libzonecfg/dtd/zonecfg.dtd.1.man.txt
          +++ new/usr/src/lib/libzonecfg/dtd/zonecfg.dtd.1.man.txt
↓ open down ↓ 17 lines elided ↑ open up ↑
  18   18  
  19   19   When distributing Covered Code, include this CDDL HEADER in each
  20   20   file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  21   21   If applicable, add the following below this CDDL HEADER, with the
  22   22   fields enclosed by brackets "[]" replaced with your own identifying
  23   23   information: Portions Copyright [yyyy] [name of copyright owner]
  24   24  
  25   25   CDDL HEADER END
  26   26  
  27   27   Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
       28 + Copyright (c) 2011, Joyent Inc. All rights reserved.
  28   29  
  29   30  -->
  30   31  
  31   32  <!--Element Definitions-->
  32   33  
  33   34  <!ELEMENT fsoption  EMPTY> <!ATTLIST fsoption     name      CDATA #REQUIRED>
  34   35  
  35   36  <!ELEMENT filesystem     (fsoption)* >
  36   37  
  37   38  <!ATTLIST filesystem     special        CDATA #REQUIRED               raw
↓ open down ↓ 2 lines elided ↑ open up ↑
  40   41  
  41   42  <!--
  42   43   The "inherited-pkg-dir" element may no longer be specified in a
  43   44   configuration, however we retain the definition to aid with migration
  44   45   of existing configurations.  -->
  45   46  
  46   47  <!ELEMENT inherited-pkg-dir   EMPTY>
  47   48  
  48   49  <!ATTLIST inherited-pkg-dir   directory CDATA #REQUIRED>
  49   50  
  50      -<!ELEMENT network   EMPTY>
       51 +<!ELEMENT net-attr  EMPTY> <!ATTLIST net-attr     name      CDATA #REQUIRED
       52 +               value          CDATA #REQUIRED>
  51   53  
       54 +<!ELEMENT network   (net-attr)*>
       55 +
  52   56  <!ATTLIST network   address        CDATA ""            allowed-address
  53      -     CDATA ""            defrouter CDATA ""            physical  CDATA #REQUIRED>
       57 +     CDATA ""            defrouter CDATA ""            global-nic     CDATA ""
       58 +               mac-addr  CDATA ""            physical  CDATA #REQUIRED               vlan-id
       59 +          CDATA "">
  54   60  
  55      -<!ELEMENT device    EMPTY>
       61 +<!ELEMENT device    (net-attr)*>
  56   62  
  57   63  <!ATTLIST device    match          CDATA #REQUIRED>
  58   64  
  59   65  <!--      Historically, the deleted-device element denoted a used-to-be
  60   66       device element.  This was used to keep track of device elements  deleted or
  61   67  modified by the user, and to cleanse /dev of such      entries at next zone
  62   68  boot.
  63   69  
  64   70       With the ability to now configure devices dynamically, this
  65   71       requirement no longer exists, but this element MUST remain in    perpetuity,
↓ open down ↓ 65 lines elided ↑ open up ↑
 131  137                           auths          CDATA #REQUIRED>
 132  138  
 133  139  <!ELEMENT zone      (filesystem | inherited-pkg-dir | network | device |
 134  140                 deleted-device | rctl | attr | dataset | package |               patch | dev-
 135  141  perm | tmp_pool | pset |                mcap | admin)*>
 136  142  
 137  143  <!ATTLIST zone      name      CDATA #REQUIRED               zonepath  CDATA
 138  144  #REQUIRED                autoboot  (true | false) #REQUIRED                ip-
 139  145  type      CDATA ""            hostid         CDATA ""            pool
 140  146            CDATA ""            limitpriv CDATA ""            bootargs  CDATA ""
 141      -               brand          CDATA ""            scheduling-class    CDATA ""            fs-
 142      -allowed   CDATA ""            version        NMTOKEN #FIXED '1'>
      147 +               brand          CDATA ""            debugid        CDATA ""
      148 +               scheduling-class    CDATA ""            fs-allowed     CDATA ""
      149 +               version        NMTOKEN #FIXED '1'>
 143  150  
 144  151  
 145  152  
 146  153                                  October 5, 2016                             ()
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX