xref: /titanic_52/usr/src/cmd/svc/milestone/network-install.xml (revision 9b5bf10ab04b9be5564d70a57980cfb68b6372e7)
1*9b5bf10aSMark Haywood<?xml version="1.0"?>
2*9b5bf10aSMark Haywood<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3*9b5bf10aSMark Haywood<!--
4*9b5bf10aSMark Haywood Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
5*9b5bf10aSMark Haywood
6*9b5bf10aSMark Haywood CDDL HEADER START
7*9b5bf10aSMark Haywood
8*9b5bf10aSMark Haywood The contents of this file are subject to the terms of the
9*9b5bf10aSMark Haywood Common Development and Distribution License (the "License").
10*9b5bf10aSMark Haywood You may not use this file except in compliance with the License.
11*9b5bf10aSMark Haywood
12*9b5bf10aSMark Haywood You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
13*9b5bf10aSMark Haywood or http://www.opensolaris.org/os/licensing.
14*9b5bf10aSMark Haywood See the License for the specific language governing permissions
15*9b5bf10aSMark Haywood and limitations under the License.
16*9b5bf10aSMark Haywood
17*9b5bf10aSMark Haywood When distributing Covered Code, include this CDDL HEADER in each
18*9b5bf10aSMark Haywood file and include the License file at usr/src/OPENSOLARIS.LICENSE.
19*9b5bf10aSMark Haywood If applicable, add the following below this CDDL HEADER, with the
20*9b5bf10aSMark Haywood fields enclosed by brackets "[]" replaced with your own identifying
21*9b5bf10aSMark Haywood information: Portions Copyright [yyyy] [name of copyright owner]
22*9b5bf10aSMark Haywood
23*9b5bf10aSMark Haywood CDDL HEADER END
24*9b5bf10aSMark Haywood
25*9b5bf10aSMark Haywood	NOTE:  This service manifest is not editable; its contents will
26*9b5bf10aSMark Haywood	be overwritten by package or patch operations, including
27*9b5bf10aSMark Haywood	operating system upgrade.  Make customizations in a different
28*9b5bf10aSMark Haywood	file.
29*9b5bf10aSMark Haywood-->
30*9b5bf10aSMark Haywood
31*9b5bf10aSMark Haywood<service_bundle type='manifest' name='SUNWcsr:network-install'>
32*9b5bf10aSMark Haywood
33*9b5bf10aSMark Haywood<service
34*9b5bf10aSMark Haywood	name='network/install'
35*9b5bf10aSMark Haywood	type='service'
36*9b5bf10aSMark Haywood	version='1'>
37*9b5bf10aSMark Haywood
38*9b5bf10aSMark Haywood	<create_default_instance enabled='false' />
39*9b5bf10aSMark Haywood
40*9b5bf10aSMark Haywood	<single_instance />
41*9b5bf10aSMark Haywood
42*9b5bf10aSMark Haywood	<dependency
43*9b5bf10aSMark Haywood		name='ipmgmt'
44*9b5bf10aSMark Haywood		grouping='require_all'
45*9b5bf10aSMark Haywood		restart_on='none'
46*9b5bf10aSMark Haywood		type='service'>
47*9b5bf10aSMark Haywood		<service_fmri value='svc:/network/ip-interface-management' />
48*9b5bf10aSMark Haywood	</dependency>
49*9b5bf10aSMark Haywood
50*9b5bf10aSMark Haywood	<dependent name='physical_default'
51*9b5bf10aSMark Haywood		grouping='optional_all'
52*9b5bf10aSMark Haywood		restart_on='none'>
53*9b5bf10aSMark Haywood		<service_fmri value='svc:/network/physical:default' />
54*9b5bf10aSMark Haywood	</dependent>
55*9b5bf10aSMark Haywood
56*9b5bf10aSMark Haywood	<exec_method
57*9b5bf10aSMark Haywood		type='method'
58*9b5bf10aSMark Haywood		name='start'
59*9b5bf10aSMark Haywood		exec='/lib/svc/method/net-install'
60*9b5bf10aSMark Haywood		timeout_seconds='600' />
61*9b5bf10aSMark Haywood
62*9b5bf10aSMark Haywood	<exec_method
63*9b5bf10aSMark Haywood		type='method'
64*9b5bf10aSMark Haywood		name='stop'
65*9b5bf10aSMark Haywood		exec=':true'
66*9b5bf10aSMark Haywood		timeout_seconds='0' />
67*9b5bf10aSMark Haywood
68*9b5bf10aSMark Haywood	<property_group name='startd' type='framework'>
69*9b5bf10aSMark Haywood		<propval name='duration' type='astring' value='transient' />
70*9b5bf10aSMark Haywood	</property_group>
71*9b5bf10aSMark Haywood
72*9b5bf10aSMark Haywood	<!-- The following property group is used only at install time to
73*9b5bf10aSMark Haywood	     configure an initial IPv4 network interface -->
74*9b5bf10aSMark Haywood	<property_group name='install_ipv4_interface' type='application'>
75*9b5bf10aSMark Haywood		<propval name='name' type='astring' value='' />
76*9b5bf10aSMark Haywood		<propval name='address_type' type='astring' value='static' />
77*9b5bf10aSMark Haywood		<propval name='static_address' type='net_address_v4'
78*9b5bf10aSMark Haywood		    value='0.0.0.0/0' />
79*9b5bf10aSMark Haywood		<propval name='dhcp_wait' type='astring' value='120' />
80*9b5bf10aSMark Haywood		<propval name='default_route' type='net_address_v4'
81*9b5bf10aSMark Haywood		    value='0.0.0.0' />
82*9b5bf10aSMark Haywood	</property_group>
83*9b5bf10aSMark Haywood
84*9b5bf10aSMark Haywood	<!-- The following property group is used only at install time to
85*9b5bf10aSMark Haywood	     configure an initial IPv6 network interface -->
86*9b5bf10aSMark Haywood	<property_group name='install_ipv6_interface' type='application'>
87*9b5bf10aSMark Haywood		<propval name='name' type='astring' value='' />
88*9b5bf10aSMark Haywood		<propval name='address_type' type='astring' value='addrconf' />
89*9b5bf10aSMark Haywood		<propval name='static_address' type='net_address_v6'
90*9b5bf10aSMark Haywood		    value='::0/0' />
91*9b5bf10aSMark Haywood		<propval name='interface_id' type='net_address_v6'
92*9b5bf10aSMark Haywood		    value='::0/0' />
93*9b5bf10aSMark Haywood		<propval name='stateless' type='astring' value='yes' />
94*9b5bf10aSMark Haywood		<propval name='stateful' type='astring' value='yes'/>
95*9b5bf10aSMark Haywood		<propval name='default_route' type='net_address_v6'
96*9b5bf10aSMark Haywood		    value='::0' />
97*9b5bf10aSMark Haywood	</property_group>
98*9b5bf10aSMark Haywood
99*9b5bf10aSMark Haywood	<stability value='Unstable' />
100*9b5bf10aSMark Haywood
101*9b5bf10aSMark Haywood	<template>
102*9b5bf10aSMark Haywood		<common_name>
103*9b5bf10aSMark Haywood			<loctext xml:lang='C'>
104*9b5bf10aSMark Haywood				physical network interfaces install
105*9b5bf10aSMark Haywood			</loctext>
106*9b5bf10aSMark Haywood		</common_name>
107*9b5bf10aSMark Haywood		<documentation>
108*9b5bf10aSMark Haywood			<manpage title='ipadm' section='1M'
109*9b5bf10aSMark Haywood				manpath='/usr/share/man' />
110*9b5bf10aSMark Haywood		</documentation>
111*9b5bf10aSMark Haywood		<pg_pattern name='install_ipv4_interface' type='application'
112*9b5bf10aSMark Haywood		    target='this' required='false'>
113*9b5bf10aSMark Haywood			<description> <loctext xml:lang='C'>
114*9b5bf10aSMark Haywood			    Install derived configuration data used to configure an initial IPv4 physical interface.
115*9b5bf10aSMark Haywood			 </loctext> </description>
116*9b5bf10aSMark Haywood			<prop_pattern name='name' type='astring'
117*9b5bf10aSMark Haywood			    required='true'>
118*9b5bf10aSMark Haywood				<description> <loctext xml:lang='C'>
119*9b5bf10aSMark Haywood				    The "addrobj" value to be passed to the ipadm(1M) "create-addr" command.
120*9b5bf10aSMark Haywood				</loctext> </description>
121*9b5bf10aSMark Haywood				<cardinality min='1' max='1'/>
122*9b5bf10aSMark Haywood			</prop_pattern>
123*9b5bf10aSMark Haywood			<prop_pattern name='address_type' type='astring'
124*9b5bf10aSMark Haywood			    required='true'>
125*9b5bf10aSMark Haywood				<description> <loctext xml:lang='C'>
126*9b5bf10aSMark Haywood				    The "-T" option value to be passed to the ipadm(1M) "create-addr" command.
127*9b5bf10aSMark Haywood				</loctext> </description>
128*9b5bf10aSMark Haywood				<cardinality min='1' max='1'/>
129*9b5bf10aSMark Haywood				<constraints>
130*9b5bf10aSMark Haywood				<value name='static'>
131*9b5bf10aSMark Haywood					<description> <loctext xml:lang='C'>
132*9b5bf10aSMark Haywood					    Signifies that the IPv4 interface will be configured with a static address defined by the "static_address" property.
133*9b5bf10aSMark Haywood					</loctext> </description>
134*9b5bf10aSMark Haywood				</value>
135*9b5bf10aSMark Haywood				<value name='dhcp'>
136*9b5bf10aSMark Haywood					<description> <loctext xml:lang='C'>
137*9b5bf10aSMark Haywood					    Signifies that the IPv4 interface will be configured by DHCP. The "static_address" property will be ignored.
138*9b5bf10aSMark Haywood					</loctext> </description>
139*9b5bf10aSMark Haywood				</value>
140*9b5bf10aSMark Haywood				</constraints>
141*9b5bf10aSMark Haywood			</prop_pattern>
142*9b5bf10aSMark Haywood			<prop_pattern name='static_address'
143*9b5bf10aSMark Haywood			    type='net_address_v4' required='false'>
144*9b5bf10aSMark Haywood				<description> <loctext xml:lang='C'>
145*9b5bf10aSMark Haywood				    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*9b5bf10aSMark Haywood				</loctext> </description>
147*9b5bf10aSMark Haywood				<cardinality min='1' max='1'/>
148*9b5bf10aSMark Haywood			</prop_pattern>
149*9b5bf10aSMark Haywood			<prop_pattern name='dhcp_wait' type='astring'
150*9b5bf10aSMark Haywood			    required='false'>
151*9b5bf10aSMark Haywood				<description> <loctext xml:lang='C'>
152*9b5bf10aSMark Haywood				    The "-w" option value to be passed to the ipadm(1M) "create-addr" command. Represents the maximum time to wait for DHCP offer.
153*9b5bf10aSMark Haywood				</loctext> </description>
154*9b5bf10aSMark Haywood				<units>
155*9b5bf10aSMark Haywood				    <loctext xml:lang='C'>seconds</loctext>
156*9b5bf10aSMark Haywood				</units>
157*9b5bf10aSMark Haywood				<cardinality min='1' max='1'/>
158*9b5bf10aSMark Haywood			</prop_pattern>
159*9b5bf10aSMark Haywood			<prop_pattern name='default_route'
160*9b5bf10aSMark Haywood			    type='net_address_v4' required='false'>
161*9b5bf10aSMark Haywood				<description> <loctext xml:lang='C'>
162*9b5bf10aSMark Haywood				    The default route associated with this interface. Used to add a default route using route(1M).
163*9b5bf10aSMark Haywood				</loctext> </description>
164*9b5bf10aSMark Haywood				<cardinality min='1' max='1'/>
165*9b5bf10aSMark Haywood			</prop_pattern>
166*9b5bf10aSMark Haywood		</pg_pattern>
167*9b5bf10aSMark Haywood		<pg_pattern name='install_ipv6_interface' type='application'
168*9b5bf10aSMark Haywood			target='this' required='false'>
169*9b5bf10aSMark Haywood			<description> <loctext xml:lang='C'>
170*9b5bf10aSMark Haywood			    Install derived configuration data used to configure an initial IPv6 physical interface.
171*9b5bf10aSMark Haywood			</loctext> </description>
172*9b5bf10aSMark Haywood			<prop_pattern name='name' type='astring'
173*9b5bf10aSMark Haywood			    required='true'>
174*9b5bf10aSMark Haywood				<description> <loctext xml:lang='C'>
175*9b5bf10aSMark Haywood				    The "addrobj" value to be passed to the ipadm(1M) "create-addr" command.
176*9b5bf10aSMark Haywood				</loctext> </description>
177*9b5bf10aSMark Haywood				<cardinality min='1' max='1'/>
178*9b5bf10aSMark Haywood			</prop_pattern>
179*9b5bf10aSMark Haywood			<prop_pattern name='address_type' type='astring'
180*9b5bf10aSMark Haywood			    required='true'>
181*9b5bf10aSMark Haywood				<description> <loctext xml:lang='C'>
182*9b5bf10aSMark Haywood				    The "-T" option value to be passed to the ipadm(1M) "create-addr" command.
183*9b5bf10aSMark Haywood				</loctext> </description>
184*9b5bf10aSMark Haywood				<cardinality min='1' max='1'/>
185*9b5bf10aSMark Haywood				<constraints>
186*9b5bf10aSMark Haywood				<value name='static'>
187*9b5bf10aSMark Haywood					<description> <loctext xml:lang='C'>
188*9b5bf10aSMark Haywood					    Signifies that the IPv4 interface will be configured with a static address defined by the "static_address" property.
189*9b5bf10aSMark Haywood					</loctext> </description>
190*9b5bf10aSMark Haywood				</value>
191*9b5bf10aSMark Haywood				<value name='addrconf'>
192*9b5bf10aSMark Haywood					<description> <loctext xml:lang='C'>
193*9b5bf10aSMark Haywood					    Signifies that the IPv6 interface will be configured by IPv6 auto-configuration. The "static_address" property will be ignored.
194*9b5bf10aSMark Haywood					</loctext> </description>
195*9b5bf10aSMark Haywood				</value>
196*9b5bf10aSMark Haywood				</constraints>
197*9b5bf10aSMark Haywood			</prop_pattern>
198*9b5bf10aSMark Haywood			<prop_pattern name='static_address'
199*9b5bf10aSMark Haywood			    type='net_address_v6' required='false'>
200*9b5bf10aSMark Haywood				<description> <loctext xml:lang='C'>
201*9b5bf10aSMark Haywood				    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*9b5bf10aSMark Haywood				</loctext> </description>
203*9b5bf10aSMark Haywood				<cardinality min='1' max='1'/>
204*9b5bf10aSMark Haywood			</prop_pattern>
205*9b5bf10aSMark Haywood			<prop_pattern name='interface_id'
206*9b5bf10aSMark Haywood			    type='net_address_v6' required='false'>
207*9b5bf10aSMark Haywood				<description> <loctext xml:lang='C'>
208*9b5bf10aSMark Haywood				    The "-i" token value to be passed to the ipadm(1M) "create-addr" command. Ignored if "address_type" has a value of "static".
209*9b5bf10aSMark Haywood				</loctext> </description>
210*9b5bf10aSMark Haywood				<cardinality min='1' max='1'/>
211*9b5bf10aSMark Haywood			</prop_pattern>
212*9b5bf10aSMark Haywood
213*9b5bf10aSMark Haywood			<prop_pattern name='stateless'
214*9b5bf10aSMark Haywood			    type='astring' required='false'>
215*9b5bf10aSMark Haywood				<description> <loctext xml:lang='C'>
216*9b5bf10aSMark Haywood				    The "stateless" value to be passed to the ipadm(1M) "create-addr" command. Ignored if "address_type" has a value of "static".
217*9b5bf10aSMark Haywood				</loctext> </description>
218*9b5bf10aSMark Haywood				<cardinality min='1' max='1'/>
219*9b5bf10aSMark Haywood				<constraints>
220*9b5bf10aSMark Haywood				<value name='yes'/>
221*9b5bf10aSMark Haywood				<value name='no'/>
222*9b5bf10aSMark Haywood				</constraints>
223*9b5bf10aSMark Haywood			</prop_pattern>
224*9b5bf10aSMark Haywood			<prop_pattern name='stateful'
225*9b5bf10aSMark Haywood			    type='astring' required='false'>
226*9b5bf10aSMark Haywood				<description> <loctext xml:lang='C'>
227*9b5bf10aSMark Haywood				    The "stateful" value to be passed to the ipadm(1M) "create-addr" command. Ignored if "address_type" has a value of "static".
228*9b5bf10aSMark Haywood				</loctext> </description>
229*9b5bf10aSMark Haywood				<cardinality min='1' max='1'/>
230*9b5bf10aSMark Haywood				<constraints>
231*9b5bf10aSMark Haywood				<value name='yes'/>
232*9b5bf10aSMark Haywood				<value name='no'/>
233*9b5bf10aSMark Haywood				</constraints>
234*9b5bf10aSMark Haywood			</prop_pattern>
235*9b5bf10aSMark Haywood			<prop_pattern name='default_route'
236*9b5bf10aSMark Haywood			    type='net_address_v6' required='false'>
237*9b5bf10aSMark Haywood				<description> <loctext xml:lang='C'>
238*9b5bf10aSMark Haywood				    The default route associated with this interface. Used to add a default route using route(1M).
239*9b5bf10aSMark Haywood				</loctext> </description>
240*9b5bf10aSMark Haywood				<cardinality min='1' max='1'/>
241*9b5bf10aSMark Haywood			</prop_pattern>
242*9b5bf10aSMark Haywood		</pg_pattern>
243*9b5bf10aSMark Haywood	</template>
244*9b5bf10aSMark Haywood</service>
245*9b5bf10aSMark Haywood
246*9b5bf10aSMark Haywood</service_bundle>
247