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
          +++ new/usr/src/lib/libzonecfg/dtd/zonecfg.dtd.1
↓ open down ↓ 13 lines elided ↑ open up ↑
  14   14  
  15   15   When distributing Covered Code, include this CDDL HEADER in each
  16   16   file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  17   17   If applicable, add the following below this CDDL HEADER, with the
  18   18   fields enclosed by brackets "[]" replaced with your own identifying
  19   19   information: Portions Copyright [yyyy] [name of copyright owner]
  20   20  
  21   21   CDDL HEADER END
  22   22  
  23   23   Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
       24 + Copyright (c) 2011, Joyent Inc. All rights reserved.
  24   25  
  25   26  -->
  26   27  
  27   28  <!--Element Definitions-->
  28   29  
  29   30  <!ELEMENT fsoption      EMPTY>
  30   31  <!ATTLIST fsoption      name            CDATA #REQUIRED>
  31   32  
  32   33  <!ELEMENT filesystem    (fsoption)* >
  33   34  
↓ open down ↓ 5 lines elided ↑ open up ↑
  39   40  <!--
  40   41   The "inherited-pkg-dir" element may no longer be specified in a
  41   42   configuration, however we retain the definition to aid with migration
  42   43   of existing configurations.
  43   44  -->
  44   45  
  45   46  <!ELEMENT inherited-pkg-dir     EMPTY>
  46   47  
  47   48  <!ATTLIST inherited-pkg-dir     directory       CDATA #REQUIRED>
  48   49  
  49      -<!ELEMENT network       EMPTY>
       50 +<!ELEMENT net-attr      EMPTY>
       51 +<!ATTLIST net-attr      name            CDATA #REQUIRED
       52 +                        value           CDATA #REQUIRED>
  50   53  
       54 +<!ELEMENT network       (net-attr)*>
       55 +
  51   56  <!ATTLIST network       address         CDATA ""
  52   57                          allowed-address CDATA ""
  53   58                          defrouter       CDATA ""
  54      -                        physical        CDATA #REQUIRED>
       59 +                        global-nic      CDATA ""
       60 +                        mac-addr        CDATA ""
       61 +                        physical        CDATA #REQUIRED
       62 +                        vlan-id         CDATA "">
  55   63  
  56      -<!ELEMENT device        EMPTY>
       64 +<!ELEMENT device        (net-attr)*>
  57   65  
  58   66  <!ATTLIST device        match           CDATA #REQUIRED>
  59   67  
  60   68  <!--
  61   69          Historically, the deleted-device element denoted a used-to-be
  62   70          device element.  This was used to keep track of device elements
  63   71          deleted or modified by the user, and to cleanse /dev of such
  64   72          entries at next zone boot.
  65   73  
  66   74          With the ability to now configure devices dynamically, this
↓ open down ↓ 82 lines elided ↑ open up ↑
 149  157  
 150  158  <!ATTLIST zone          name            CDATA #REQUIRED
 151  159                          zonepath        CDATA #REQUIRED
 152  160                          autoboot        (true | false) #REQUIRED
 153  161                          ip-type         CDATA ""
 154  162                          hostid          CDATA ""
 155  163                          pool            CDATA ""
 156  164                          limitpriv       CDATA ""
 157  165                          bootargs        CDATA ""
 158  166                          brand           CDATA ""
      167 +                        debugid         CDATA ""
 159  168                          scheduling-class        CDATA ""
 160  169                          fs-allowed      CDATA ""
 161  170                          version         NMTOKEN #FIXED '1'>
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX