| Current File : //usr/share/lib/xml/dtd/zonecfg.dtd.1 |
<?xml version='1.0' encoding='UTF-8' ?>
<!--
Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved.
-->
<!--
tmp-id is a property that should never be present in the <zone>.xml
file, it is only used as a temporary id for a resource that can
contain multiple instances of its kind, with or without differing
property values. Presence of tmp-id in zone's config file constitutes
an error in zonecfg.
Reason for presence of tmp-id in the DTD file is to facilitate
fetching of resource and its properties from the <zone>.xml handle
which has been temporarily infused with tmp-id property. Without
this entry in DTD we would fail at the verification step of fetching
the required resource.
-->
<!--Element Definitions-->
<!ELEMENT fsoption EMPTY>
<!ATTLIST fsoption name CDATA #REQUIRED>
<!ELEMENT filesystem (fsoption)* >
<!ATTLIST filesystem special CDATA #REQUIRED
raw CDATA ""
directory CDATA #REQUIRED
tmp-id CDATA ""
type CDATA #REQUIRED>
<!--
The following is no longer valid for any supported zone brands, but we retain
the definition to aid with migration of existing configurations.
-->
<!ELEMENT inherited-pkg-dir EMPTY>
<!ATTLIST inherited-pkg-dir directory CDATA #REQUIRED>
<!ELEMENT package EMPTY>
<!ATTLIST package name CDATA #REQUIRED
version CDATA #REQUIRED>
<!ELEMENT obsoletes EMPTY>
<!ATTLIST obsoletes id CDATA #REQUIRED>
<!ELEMENT incompatible EMPTY>
<!ATTLIST incompatible id CDATA #REQUIRED>
<!ELEMENT patch (obsoletes | incompatible)* >
<!ATTLIST patch id CDATA #REQUIRED>
<!--
End of obsolete elements.
-->
<!ELEMENT network EMPTY>
<!ATTLIST network address CDATA ""
allowed-address CDATA ""
defrouter CDATA ""
configure-allowed-address (true | false) "true"
id CDATA ""
tmp-id CDATA ""
physical CDATA #REQUIRED>
<!ELEMENT automatic-network (mac | vlan)*>
<!ATTLIST automatic-network linkname CDATA ""
allowed-address CDATA ""
defrouter CDATA ""
allowed-dhcp-cids CDATA ""
auto-mac-address CDATA ""
mac-address CDATA ""
mac-prefix CDATA ""
mac-slot CDATA ""
maxbw CDATA ""
bwshare CDATA ""
priority CDATA ""
vlan-id CDATA ""
rxrings CDATA ""
txrings CDATA ""
link-protection CDATA ""
mtu CDATA ""
configure-allowed-address (true | false)
"true"
lower-link CDATA #REQUIRED
rxfanout CDATA ""
vsi-typeid CDATA ""
vsi-vers CDATA ""
vsi-mgrid CDATA ""
etsbw-lcl CDATA ""
cos CDATA ""
pkey CDATA ""
linkmode CDATA ""
tmp-id CDATA ""
id CDATA ""
evs CDATA ""
vport CDATA ""
iov CDATA ""
lro CDATA "">
<!ELEMENT mac (allowed-mac-address)*>
<!ATTLIST mac mac-address CDATA ""
auto-mac-address CDATA ""
mac-prefix CDATA ""
tmp-id CDATA ""
id CDATA "">
<!ELEMENT allowed-mac-address EMPTY>
<!ATTLIST allowed-mac-address mac-address CDATA #REQUIRED>
<!ELEMENT vlan (allowed-vlan-ids)*>
<!ATTLIST vlan vlan-id CDATA ""
tmp-id CDATA "">
<!ELEMENT allowed-vlan-ids EMPTY>
<!ATTLIST allowed-vlan-ids vlan-id CDATA #REQUIRED>
<!ELEMENT ib-vhca (port*)>
<!ATTLIST ib-vhca over-hca CDATA ""
smi-enabled CDATA ""
vhca CDATA ""
tmp-id CDATA ""
id CDATA "">
<!ELEMENT port EMPTY>
<!ATTLIST port pkey CDATA ""
tmp-id CDATA ""
id CDATA "">
<!ELEMENT device EMPTY>
<!ATTLIST device match CDATA ""
storage CDATA ""
create-size CDATA ""
direct-io CDATA ""
allow-partition CDATA ""
allow-raw-io CDATA ""
bootpri CDATA ""
tmp-id CDATA ""
id CDATA "">
<!--
Historically, the deleted-device element denoted a used-to-be
device element. This was used to keep track of device elements
deleted or modified by the user, and to cleanse /dev of such
entries at next zone boot.
With the ability to now configure devices dynamically, this
requirement no longer exists, but this element MUST remain in
perpetuity, since it is possible that an upgraded zone could
carry a deleted-device element, and would therefore fail XML
validation if removed
-->
<!ELEMENT deleted-device EMPTY>
<!ATTLIST deleted-device match CDATA #REQUIRED>
<!ELEMENT rctl-value EMPTY>
<!ATTLIST rctl-value priv CDATA #REQUIRED
limit CDATA #REQUIRED
action CDATA #REQUIRED>
<!ELEMENT rctl (rctl-value)*>
<!ATTLIST rctl name CDATA #REQUIRED
tmp-id CDATA "">
<!ELEMENT attr EMPTY>
<!ATTLIST attr name CDATA #REQUIRED
type (boolean | int | string | uint)
#REQUIRED
tmp-id CDATA ""
value CDATA #REQUIRED>
<!ELEMENT dataset EMPTY>
<!--
If alias isn't specified, the default alias (`basename $name`) is
used. To allow for zones that were configured prior to dataset
aliases, the alias is optional. Note, however, that with the
introduction of dataset aliases, zonecfg automatically populates
the alias attribute if it is not specified by the administrator.
-->
<!ATTLIST dataset name CDATA #REQUIRED
tmp-id CDATA ""
alias CDATA "">
<!--
The tmp_pool element is separate from the pset element so that
we can track the importance value at the pool level, where it
belongs, instead of at the pset level. Once we have msets this
will be important since tmp psets and tmp msets will share a common
pool-level importance.
-->
<!ELEMENT tmp_pool EMPTY>
<!ATTLIST tmp_pool importance CDATA #REQUIRED>
<!ELEMENT pset EMPTY>
<!ATTLIST pset ncpu_min CDATA ""
ncpu_max CDATA ""
cpus CDATA ""
cores CDATA ""
sockets CDATA "">
<!ELEMENT mcap EMPTY>
<!ATTLIST mcap physcap CDATA #REQUIRED
pagesize-policy CDATA "">
<!ELEMENT admin EMPTY>
<!ATTLIST admin user CDATA #REQUIRED
tmp-id CDATA ""
auths CDATA #REQUIRED>
<!ELEMENT storage EMPTY>
<!ATTLIST storage uri CDATA #REQUIRED>
<!--
The install-size property is no longer valid for rootzpool and zpool, but
we retain the definition to aid with migration of existing configurations.
-->
<!ELEMENT rootzpool (storage)+>
<!ATTLIST rootzpool create-size CDATA ""
install-size CDATA "">
<!ELEMENT zpool (storage)+>
<!ATTLIST zpool name CDATA #REQUIRED
tmp-id CDATA ""
create-size CDATA ""
install-size CDATA "">
<!ELEMENT virtual-cpu EMPTY>
<!ATTLIST virtual-cpu ncpu_min CDATA #REQUIRED
ncpu_max CDATA #REQUIRED>
<!ELEMENT suspend EMPTY>
<!ATTLIST suspend path CDATA "">
<!ATTLIST suspend storage CDATA "">
<!ELEMENT npiv EMPTY>
<!ATTLIST npiv virtual-port-wwn CDATA #REQUIRED
tmp-id CDATA ""
over-hba CDATA "">
<!ELEMENT cert EMPTY>
<!ATTLIST cert uri CDATA #REQUIRED>
<!ELEMENT verified-boot (cert)*>
<!ATTLIST verified-boot policy CDATA #REQUIRED>
<!ELEMENT zone (filesystem | inherited-pkg-dir | network | device |
deleted-device | rctl | attr | dataset | package |
patch | tmp_pool | pset | virtual-cpu |
mcap | admin | automatic-network | ib-vhca | suspend |
rootzpool | zpool | npiv | verified-boot)*>
<!ATTLIST zone name CDATA #REQUIRED
zonepath CDATA #REQUIRED
autoboot (true | false) #REQUIRED
global-time CDATA ""
file-mac-profile CDATA ""
ip-type CDATA ""
hostid CDATA ""
pool CDATA ""
limitpriv CDATA ""
bootargs CDATA ""
cpu-arch CDATA ""
host-compatible CDATA ""
brand CDATA ""
scheduling-class CDATA ""
fs-allowed CDATA ""
tenant CDATA ""
autoshutdown (suspend | shutdown | halt) "shutdown"
version NMTOKEN #FIXED '1'>