zone_platform.dtd.1 (9acbbeaf) | zone_platform.dtd.1 (f4b3ec61) |
---|---|
1<?xml version='1.0' encoding='UTF-8' ?> 2 3<!-- 4 CDDL HEADER START 5 6 The contents of this file are subject to the terms of the 7 Common Development and Distribution License (the "License"). 8 You may not use this file except in compliance with the License. --- 6 unchanged lines hidden (view full) --- 15 When distributing Covered Code, include this CDDL HEADER in each 16 file and include the License file at usr/src/OPENSOLARIS.LICENSE. 17 If applicable, add the following below this CDDL HEADER, with the 18 fields enclosed by brackets "[]" replaced with your own identifying 19 information: Portions Copyright [yyyy] [name of copyright owner] 20 21 CDDL HEADER END 22 | 1<?xml version='1.0' encoding='UTF-8' ?> 2 3<!-- 4 CDDL HEADER START 5 6 The contents of this file are subject to the terms of the 7 Common Development and Distribution License (the "License"). 8 You may not use this file except in compliance with the License. --- 6 unchanged lines hidden (view full) --- 15 When distributing Covered Code, include this CDDL HEADER in each 16 file and include the License file at usr/src/OPENSOLARIS.LICENSE. 17 If applicable, add the following below this CDDL HEADER, with the 18 fields enclosed by brackets "[]" replaced with your own identifying 19 information: Portions Copyright [yyyy] [name of copyright owner] 20 21 CDDL HEADER END 22 |
23 Copyright 2006 Sun Microsystems, Inc. All rights reserved. | 23 Copyright 2007 Sun Microsystems, Inc. All rights reserved. |
24 Use is subject to license terms. 25 26 ident "%Z%%M% %I% %E% SMI" 27 28 DO NOT EDIT THIS FILE. 29--> 30 31<!-- --- 8 unchanged lines hidden (view full) --- 40 %z Name of zone 41 42 name Name of device in non-global zone. This is optional; the 43 default is the same name as the global zone. 44 45 arch Identifies devices only available for certain architectures. 46 Can be "sparc" or "i386". 47 | 24 Use is subject to license terms. 25 26 ident "%Z%%M% %I% %E% SMI" 27 28 DO NOT EDIT THIS FILE. 29--> 30 31<!-- --- 8 unchanged lines hidden (view full) --- 40 %z Name of zone 41 42 name Name of device in non-global zone. This is optional; the 43 default is the same name as the global zone. 44 45 arch Identifies devices only available for certain architectures. 46 Can be "sparc" or "i386". 47 |
48 ip-type Optional, identifies devices only available for certain IP 49 types. Can be "shared" or "exclusive". If it's not specified, 50 the default value "all" will be used, which means it's 51 available regardless the IP type. 52 |
|
48 For example, the following entry: 49 <device match="brand/windows/foo" name="bar" arch="sparc" /> 50 would result in mapping the following global zone device: 51 /dev/brand/windows/foo | 53 For example, the following entry: 54 <device match="brand/windows/foo" name="bar" arch="sparc" /> 55 would result in mapping the following global zone device: 56 /dev/brand/windows/foo |
52 into the zone as: | 57 into the zone (disregarding its IP type) as: |
53 /dev/bar 54 but the mapping would only exist on sparc machines. 55 56--> 57<!ELEMENT device EMPTY > 58 59<!ATTLIST device match CDATA #REQUIRED 60 name CDATA "" | 58 /dev/bar 59 but the mapping would only exist on sparc machines. 60 61--> 62<!ELEMENT device EMPTY > 63 64<!ATTLIST device match CDATA #REQUIRED 65 name CDATA "" |
61 arch ( sparc | i386 ) "all" > | 66 arch ( sparc | i386 ) "all" 67 ip-type ( shared | exclusive ) "all" > |
62 63<!-- 64 symlink 65 66 Defines a symlink to be created under /dev. 67 68 Its attributes are 69 --- 63 unchanged lines hidden (view full) --- 133 platform describes the basic elements to bring up the necessary services 134 (filesystems, devices, etc) to boot the zone. 135 136 Its attributes are 137 138 name The name of the brand. This must match the name of the 139 directory in which this file is stored, as well as the name 140 of the brand that refers to it. | 68 69<!-- 70 symlink 71 72 Defines a symlink to be created under /dev. 73 74 Its attributes are 75 --- 63 unchanged lines hidden (view full) --- 139 platform describes the basic elements to bring up the necessary services 140 (filesystems, devices, etc) to boot the zone. 141 142 Its attributes are 143 144 name The name of the brand. This must match the name of the 145 directory in which this file is stored, as well as the name 146 of the brand that refers to it. |
147 allow-exclusive-ip Whether the zones of this brand can have their 148 own exclusive IP stack. It is a boolean value. |
|
141--> 142<!ELEMENT platform (device | global_mount | mount | symlink)* > 143 | 149--> 150<!ELEMENT platform (device | global_mount | mount | symlink)* > 151 |
144<!ATTLIST platform name CDATA #REQUIRED> | 152<!ATTLIST platform name CDATA #REQUIRED 153 allow-exclusive-ip (true | false) #REQUIRED> |