2 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
4 Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
8 The contents of this file are subject to the terms of the
9 Common Development and Distribution License (the "License").
10 You may not use this file except in compliance with the License.
12 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
13 or http://www.opensolaris.org/os/licensing.
14 See the License for the specific language governing permissions
15 and limitations under the License.
17 When distributing Covered Code, include this CDDL HEADER in each
18 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
19 If applicable, add the following below this CDDL HEADER, with the
20 fields enclosed by brackets "[]" replaced with your own identifying
21 information: Portions Copyright [yyyy] [name of copyright owner]
25 NOTE: This service manifest is not editable; its contents will
26 be overwritten by package or patch operations, including
27 operating system upgrade. Make customizations in a different
31 <service_bundle type='manifest' name='SUNWcsr:network-install'>
34 name='network/install'
38 <create_default_instance enabled='false' />
44 grouping='require_all'
47 <service_fmri value='svc:/network/ip-interface-management' />
50 <dependent name='physical_default'
51 grouping='optional_all'
53 <service_fmri value='svc:/network/physical:default' />
59 exec='/lib/svc/method/net-install'
60 timeout_seconds='600' />
66 timeout_seconds='0' />
68 <property_group name='startd' type='framework'>
69 <propval name='duration' type='astring' value='transient' />
72 <!-- The following property group is used only at install time to
73 configure an initial IPv4 network interface -->
74 <property_group name='install_ipv4_interface' type='application'>
75 <propval name='name' type='astring' value='' />
76 <propval name='address_type' type='astring' value='static' />
77 <propval name='static_address' type='net_address_v4'
79 <propval name='dhcp_wait' type='astring' value='120' />
80 <propval name='default_route' type='net_address_v4'
84 <!-- The following property group is used only at install time to
85 configure an initial IPv6 network interface -->
86 <property_group name='install_ipv6_interface' type='application'>
87 <propval name='name' type='astring' value='' />
88 <propval name='address_type' type='astring' value='addrconf' />
89 <propval name='static_address' type='net_address_v6'
91 <propval name='interface_id' type='net_address_v6'
93 <propval name='stateless' type='astring' value='yes' />
94 <propval name='stateful' type='astring' value='yes'/>
95 <propval name='default_route' type='net_address_v6'
99 <stability value='Unstable' />
103 <loctext xml:lang='C'>
104 physical network interfaces install
108 <manpage title='ipadm' section='1M'
109 manpath='/usr/share/man' />
111 <pg_pattern name='install_ipv4_interface' type='application'
112 target='this' required='false'>
113 <description> <loctext xml:lang='C'>
114 Install derived configuration data used to configure an initial IPv4 physical interface.
115 </loctext> </description>
116 <prop_pattern name='name' type='astring'
118 <description> <loctext xml:lang='C'>
119 The "addrobj" value to be passed to the ipadm(1M) "create-addr" command.
120 </loctext> </description>
121 <cardinality min='1' max='1'/>
123 <prop_pattern name='address_type' type='astring'
125 <description> <loctext xml:lang='C'>
126 The "-T" option value to be passed to the ipadm(1M) "create-addr" command.
127 </loctext> </description>
128 <cardinality min='1' max='1'/>
130 <value name='static'>
131 <description> <loctext xml:lang='C'>
132 Signifies that the IPv4 interface will be configured with a static address defined by the "static_address" property.
133 </loctext> </description>
136 <description> <loctext xml:lang='C'>
137 Signifies that the IPv4 interface will be configured by DHCP. The "static_address" property will be ignored.
138 </loctext> </description>
142 <prop_pattern name='static_address'
143 type='net_address_v4' required='false'>
144 <description> <loctext xml:lang='C'>
145 The "local" address value to be passed to the ipadm(1M) "create-addr" command. Only required if "address_type" has a value of "static".
146 </loctext> </description>
147 <cardinality min='1' max='1'/>
149 <prop_pattern name='dhcp_wait' type='astring'
151 <description> <loctext xml:lang='C'>
152 The "-w" option value to be passed to the ipadm(1M) "create-addr" command. Represents the maximum time to wait for DHCP offer.
153 </loctext> </description>
155 <loctext xml:lang='C'>seconds</loctext>
157 <cardinality min='1' max='1'/>
159 <prop_pattern name='default_route'
160 type='net_address_v4' required='false'>
161 <description> <loctext xml:lang='C'>
162 The default route associated with this interface. Used to add a default route using route(1M).
163 </loctext> </description>
164 <cardinality min='1' max='1'/>
167 <pg_pattern name='install_ipv6_interface' type='application'
168 target='this' required='false'>
169 <description> <loctext xml:lang='C'>
170 Install derived configuration data used to configure an initial IPv6 physical interface.
171 </loctext> </description>
172 <prop_pattern name='name' type='astring'
174 <description> <loctext xml:lang='C'>
175 The "addrobj" value to be passed to the ipadm(1M) "create-addr" command.
176 </loctext> </description>
177 <cardinality min='1' max='1'/>
179 <prop_pattern name='address_type' type='astring'
181 <description> <loctext xml:lang='C'>
182 The "-T" option value to be passed to the ipadm(1M) "create-addr" command.
183 </loctext> </description>
184 <cardinality min='1' max='1'/>
186 <value name='static'>
187 <description> <loctext xml:lang='C'>
188 Signifies that the IPv4 interface will be configured with a static address defined by the "static_address" property.
189 </loctext> </description>
191 <value name='addrconf'>
192 <description> <loctext xml:lang='C'>
193 Signifies that the IPv6 interface will be configured by IPv6 auto-configuration. The "static_address" property will be ignored.
194 </loctext> </description>
198 <prop_pattern name='static_address'
199 type='net_address_v6' required='false'>
200 <description> <loctext xml:lang='C'>
201 The "local" address value to be passed to the ipadm(1M) "create-addr" command. Only required if "address_type" has a value of "static".
202 </loctext> </description>
203 <cardinality min='1' max='1'/>
205 <prop_pattern name='interface_id'
206 type='net_address_v6' required='false'>
207 <description> <loctext xml:lang='C'>
208 The "-i" token value to be passed to the ipadm(1M) "create-addr" command. Ignored if "address_type" has a value of "static".
209 </loctext> </description>
210 <cardinality min='1' max='1'/>
213 <prop_pattern name='stateless'
214 type='astring' required='false'>
215 <description> <loctext xml:lang='C'>
216 The "stateless" value to be passed to the ipadm(1M) "create-addr" command. Ignored if "address_type" has a value of "static".
217 </loctext> </description>
218 <cardinality min='1' max='1'/>
224 <prop_pattern name='stateful'
225 type='astring' required='false'>
226 <description> <loctext xml:lang='C'>
227 The "stateful" value to be passed to the ipadm(1M) "create-addr" command. Ignored if "address_type" has a value of "static".
228 </loctext> </description>
229 <cardinality min='1' max='1'/>
235 <prop_pattern name='default_route'
236 type='net_address_v6' required='false'>
237 <description> <loctext xml:lang='C'>
238 The default route associated with this interface. Used to add a default route using route(1M).
239 </loctext> </description>
240 <cardinality min='1' max='1'/>