2N/A<?xml version='1.0' encoding='UTF-8' ?>
2N/A
2N/A<!--
2N/A CDDL HEADER START
2N/A
2N/A The contents of this file are subject to the terms of the
2N/A Common Development and Distribution License (the "License").
2N/A You may not use this file except in compliance with the License.
2N/A
2N/A You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2N/A or http://www.opensolaris.org/os/licensing.
2N/A See the License for the specific language governing permissions
2N/A and limitations under the License.
2N/A
2N/A When distributing Covered Code, include this CDDL HEADER in each
2N/A file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2N/A If applicable, add the following below this CDDL HEADER, with the
2N/A fields enclosed by brackets "[]" replaced with your own identifying
2N/A information: Portions Copyright [yyyy] [name of copyright owner]
2N/A
2N/A CDDL HEADER END
2N/A
2N/A Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
2N/A
2N/A-->
2N/A
2N/A<!--Element Definitions-->
2N/A
2N/A<!ELEMENT fsoption EMPTY>
2N/A<!ATTLIST fsoption name CDATA #REQUIRED>
2N/A
2N/A<!ELEMENT filesystem (fsoption)* >
2N/A
2N/A<!ATTLIST filesystem special CDATA #REQUIRED
2N/A raw CDATA ""
2N/A directory CDATA #REQUIRED
2N/A type CDATA #REQUIRED>
2N/A
2N/A<!--
2N/A The following is no longer valid for any supported zone brands, but we retain
2N/Athe definition to aid with migration of existing configurations.
2N/A-->
2N/A
2N/A<!ELEMENT inherited-pkg-dir EMPTY>
2N/A
2N/A<!ATTLIST inherited-pkg-dir directory CDATA #REQUIRED>
2N/A
2N/A<!ELEMENT package EMPTY>
2N/A<!ATTLIST package name CDATA #REQUIRED
2N/A version CDATA #REQUIRED>
2N/A
2N/A<!ELEMENT obsoletes EMPTY>
2N/A<!ATTLIST obsoletes id CDATA #REQUIRED>
2N/A
2N/A<!ELEMENT incompatible EMPTY>
2N/A<!ATTLIST incompatible id CDATA #REQUIRED>
2N/A
2N/A<!ELEMENT patch (obsoletes | incompatible)* >
2N/A
2N/A<!ATTLIST patch id CDATA #REQUIRED>
2N/A
2N/A<!--
2N/A End of obsolete elements.
2N/A -->
2N/A
2N/A<!ELEMENT network EMPTY>
2N/A
2N/A<!ATTLIST network address CDATA ""
2N/A allowed-address CDATA ""
2N/A defrouter CDATA ""
2N/A configure-allowed-address (true | false) "true"
2N/A physical CDATA #REQUIRED>
2N/A
2N/A<!ELEMENT automatic-network EMPTY>
2N/A
2N/A<!ATTLIST automatic-network linkname CDATA #REQUIRED
2N/A allowed-address CDATA ""
2N/A defrouter CDATA ""
2N/A allowed-dhcp-cids CDATA ""
2N/A auto-mac-address CDATA ""
2N/A mac-address CDATA ""
2N/A mac-prefix CDATA ""
2N/A mac-slot CDATA ""
2N/A maxbw CDATA ""
2N/A priority CDATA ""
2N/A vlan-id CDATA ""
2N/A rxrings CDATA ""
2N/A txrings CDATA ""
2N/A link-protection CDATA ""
2N/A mtu CDATA ""
2N/A configure-allowed-address (true | false)
2N/A "true"
2N/A lower-link CDATA #REQUIRED
2N/A rxfanout CDATA ""
2N/A vsi-typeid CDATA ""
2N/A vsi-vers CDATA ""
2N/A vsi-mgrid CDATA ""
2N/A etsbw-lcl CDATA ""
2N/A cos CDATA ""
2N/A pkey CDATA ""
2N/A linkmode CDATA "">
2N/A
2N/A
2N/A<!ELEMENT device EMPTY>
2N/A
2N/A<!ATTLIST device match CDATA #REQUIRED
2N/A allow-partition CDATA ""
2N/A allow-raw-io CDATA "">
2N/A
2N/A<!--
2N/A Historically, the deleted-device element denoted a used-to-be
2N/A device element. This was used to keep track of device elements
2N/A deleted or modified by the user, and to cleanse /dev of such
2N/A entries at next zone boot.
2N/A
2N/A With the ability to now configure devices dynamically, this
2N/A requirement no longer exists, but this element MUST remain in
2N/A perpetuity, since it is possible that an upgraded zone could
2N/A carry a deleted-device element, and would therefore fail XML
2N/A validation if removed
2N/A-->
2N/A<!ELEMENT deleted-device EMPTY>
2N/A
2N/A<!ATTLIST deleted-device match CDATA #REQUIRED>
2N/A
2N/A<!ELEMENT rctl-value EMPTY>
2N/A
2N/A<!ATTLIST rctl-value priv CDATA #REQUIRED
2N/A limit CDATA #REQUIRED
2N/A action CDATA #REQUIRED>
2N/A
2N/A<!ELEMENT rctl (rctl-value)*>
2N/A
2N/A<!ATTLIST rctl name CDATA #REQUIRED>
2N/A
2N/A<!ELEMENT attr EMPTY>
2N/A
2N/A<!ATTLIST attr name CDATA #REQUIRED
2N/A type (boolean | int | string | uint)
2N/A #REQUIRED
2N/A value CDATA #REQUIRED>
2N/A
2N/A<!ELEMENT dataset EMPTY>
2N/A
2N/A<!--
2N/A If alias isn't specified, the default alias (`basename $name`) is
2N/A used. To allow for zones that were configured prior to dataset
2N/A aliases, the alias is optional. Note, however, that with the
2N/A introduction of dataset aliases, zonecfg automatically populates
2N/A the alias attribute if it is not specified by the administrator.
2N/A-->
2N/A<!ATTLIST dataset name CDATA #REQUIRED
2N/A alias CDATA "">
2N/A
2N/A<!--
2N/A The tmp_pool element is separate from the pset element so that
2N/A we can track the importance value at the pool level, where it
2N/A belongs, instead of at the pset level. Once we have msets this
2N/A will be important since tmp psets and tmp msets will share a common
2N/A pool-level importance.
2N/A-->
2N/A<!ELEMENT tmp_pool EMPTY>
2N/A
2N/A<!ATTLIST tmp_pool importance CDATA #REQUIRED>
2N/A
2N/A<!ELEMENT pset EMPTY>
2N/A
2N/A<!ATTLIST pset ncpu_min CDATA #REQUIRED
2N/A ncpu_max CDATA #REQUIRED>
2N/A
2N/A<!ELEMENT mcap EMPTY>
2N/A
2N/A<!ATTLIST mcap physcap CDATA #REQUIRED>
2N/A
2N/A<!ELEMENT admin EMPTY>
2N/A
2N/A<!ATTLIST admin user CDATA #REQUIRED
2N/A auths CDATA #REQUIRED>
2N/A
2N/A<!ELEMENT storage EMPTY>
2N/A<!ATTLIST storage uri CDATA #REQUIRED>
2N/A
2N/A<!ELEMENT rootzpool (storage)+>
2N/A<!ATTLIST rootzpool install-size CDATA "">
2N/A
2N/A<!ELEMENT zpool (storage)+>
2N/A<!ATTLIST zpool name CDATA #REQUIRED
2N/A install-size CDATA "">
2N/A
2N/A<!ELEMENT zone (filesystem | inherited-pkg-dir | network | device |
2N/A deleted-device | rctl | attr | dataset | package |
2N/A patch | tmp_pool | pset |
2N/A mcap | admin | automatic-network |
2N/A rootzpool | zpool)*>
2N/A
2N/A<!ATTLIST zone name CDATA #REQUIRED
2N/A zonepath CDATA #REQUIRED
2N/A autoboot (true | false) #REQUIRED
2N/A file-mac-profile CDATA ""
2N/A ip-type CDATA ""
2N/A hostid CDATA ""
2N/A pool CDATA ""
2N/A limitpriv CDATA ""
2N/A bootargs CDATA ""
2N/A brand CDATA ""
2N/A scheduling-class CDATA ""
2N/A fs-allowed CDATA ""
2N/A version NMTOKEN #FIXED '1'>