xref: /illumos-gate/usr/src/cmd/svc/milestone/network-physical.xml (revision 5bbb4db2c3f208d12bf0fd11769728f9e5ba66a2)
1<?xml version="1.0"?>
2<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3<!--
4 Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
5 Use is subject to license terms.
6
7 CDDL HEADER START
8
9 The contents of this file are subject to the terms of the
10 Common Development and Distribution License (the "License").
11 You may not use this file except in compliance with the License.
12
13 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14 or http://www.opensolaris.org/os/licensing.
15 See the License for the specific language governing permissions
16 and limitations under the License.
17
18 When distributing Covered Code, include this CDDL HEADER in each
19 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
20 If applicable, add the following below this CDDL HEADER, with the
21 fields enclosed by brackets "[]" replaced with your own identifying
22 information: Portions Copyright [yyyy] [name of copyright owner]
23
24 CDDL HEADER END
25
26	NOTE:  This service manifest is not editable; its contents will
27	be overwritten by package or patch operations, including
28	operating system upgrade.  Make customizations in a different
29	file.
30-->
31
32<service_bundle type='manifest' name='SUNWcsr:network-physical'>
33
34<service
35	name='network/physical'
36	type='service'
37	version='1'>
38
39	<!-- ifconfig needs loopback for IPC with dhcpagent -->
40	<dependency
41		name='loopback'
42		grouping='require_all'
43		restart_on='none'
44		type='service'>
45		<service_fmri value='svc:/network/loopback' />
46	</dependency>
47
48	<instance name='default' enabled='true'>
49
50	<exec_method
51		type='method'
52		name='start'
53		exec='/lib/svc/method/net-physical'
54		timeout_seconds='600' />
55
56	<exec_method
57		type='method'
58		name='stop'
59		exec=':true'
60		timeout_seconds='3' />
61
62	<property_group name='startd' type='framework'>
63		<propval name='duration' type='astring' value='transient' />
64	</property_group>
65
66	<template>
67		<common_name>
68			<loctext xml:lang='C'>
69				physical network interfaces
70			</loctext>
71		</common_name>
72		<documentation>
73			<manpage title='ifconfig' section='1M'
74				manpath='/usr/share/man' />
75		</documentation>
76	</template>
77
78	</instance>
79
80	<instance name='nwam' enabled='false'>
81
82	<exec_method
83		type='method'
84		name='start'
85		exec='/lib/svc/method/net-nwam start'
86		timeout_seconds='600' />
87
88	<exec_method
89		type='method'
90		name='stop'
91		exec='/lib/svc/method/net-nwam stop'
92		timeout_seconds='60' />
93
94	<exec_method
95		type='method'
96		name='refresh'
97		exec='/lib/svc/method/net-nwam refresh'
98		timeout_seconds='60' />
99
100	<property_group name='general' type='framework'>
101		<!-- to start/stop NWAM services -->
102		<propval name='action_authorization' type='astring'
103			value='solaris.smf.manage.nwam' />
104		<propval name='value_authorization' type='astring'
105			value='solaris.smf.manage.nwam' />
106	</property_group>
107
108	<property_group name='nwamd' type='application'>
109		<stability value='Unstable' />
110		<propval name='debug' type='boolean' value='false' />
111		<propval name='use_net_svc' type='boolean' value='true' />
112		<propval name='autoconf' type='boolean' value='false' />
113		<propval name='dhcp_wait_time' type='count' value='60' />
114		<propval name='scan_interval' type='count' value='120' />
115		<propval name='idle_time' type='count' value='10' />
116		<propval name='strict_bssid' type='boolean' value='false' />
117		<propval name='value_authorization' type='astring'
118			value='solaris.smf.value.nwam' />
119	</property_group>
120
121	<template>
122		<common_name>
123			<loctext xml:lang='C'>
124				physical network interface autoconfiguration
125			</loctext>
126		</common_name>
127		<documentation>
128			<manpage title='nwamd' section='1M'
129				manpath='/usr/share/man' />
130			<doc_link
131			   name='Network Auto-Magic OpenSolaris Project Page'
132			   uri='http://opensolaris.org/os/projects/nwam/'
133				/>
134			<doc_link
135			   name='Network Auto-Magic Operational Details'
136			   uri='http://opensolaris.org/os/projects/nwam/picea/'
137				/>
138		</documentation>
139	</template>
140
141	</instance>
142
143	<stability value='Unstable' />
144
145</service>
146
147</service_bundle>
148