xref: /illumos-gate/usr/src/cmd/svc/milestone/network-physical.xml (revision d71dbb732372504daff1f1783bc0d8864ce9bd50)
17c478bd9Sstevel@tonic-gate<?xml version="1.0"?>
27c478bd9Sstevel@tonic-gate<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
37c478bd9Sstevel@tonic-gate<!--
4*d71dbb73Sjbeck Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
57c478bd9Sstevel@tonic-gate Use is subject to license terms.
67c478bd9Sstevel@tonic-gate
77c478bd9Sstevel@tonic-gate CDDL HEADER START
87c478bd9Sstevel@tonic-gate
97c478bd9Sstevel@tonic-gate The contents of this file are subject to the terms of the
10a192e900Samaguire Common Development and Distribution License (the "License").
11a192e900Samaguire You may not use this file except in compliance with the License.
127c478bd9Sstevel@tonic-gate
137c478bd9Sstevel@tonic-gate You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
147c478bd9Sstevel@tonic-gate or http://www.opensolaris.org/os/licensing.
157c478bd9Sstevel@tonic-gate See the License for the specific language governing permissions
167c478bd9Sstevel@tonic-gate and limitations under the License.
177c478bd9Sstevel@tonic-gate
187c478bd9Sstevel@tonic-gate When distributing Covered Code, include this CDDL HEADER in each
197c478bd9Sstevel@tonic-gate file and include the License file at usr/src/OPENSOLARIS.LICENSE.
207c478bd9Sstevel@tonic-gate If applicable, add the following below this CDDL HEADER, with the
217c478bd9Sstevel@tonic-gate fields enclosed by brackets "[]" replaced with your own identifying
227c478bd9Sstevel@tonic-gate information: Portions Copyright [yyyy] [name of copyright owner]
237c478bd9Sstevel@tonic-gate
247c478bd9Sstevel@tonic-gate CDDL HEADER END
257c478bd9Sstevel@tonic-gate
267c478bd9Sstevel@tonic-gate	ident	"%Z%%M%	%I%	%E% SMI"
277c478bd9Sstevel@tonic-gate
287c478bd9Sstevel@tonic-gate	NOTE:  This service manifest is not editable; its contents will
297c478bd9Sstevel@tonic-gate	be overwritten by package or patch operations, including
307c478bd9Sstevel@tonic-gate	operating system upgrade.  Make customizations in a different
317c478bd9Sstevel@tonic-gate	file.
327c478bd9Sstevel@tonic-gate-->
337c478bd9Sstevel@tonic-gate
347c478bd9Sstevel@tonic-gate<service_bundle type='manifest' name='SUNWcsr:network-physical'>
357c478bd9Sstevel@tonic-gate
367c478bd9Sstevel@tonic-gate<service
377c478bd9Sstevel@tonic-gate	name='network/physical'
387c478bd9Sstevel@tonic-gate	type='service'
397c478bd9Sstevel@tonic-gate	version='1'>
407c478bd9Sstevel@tonic-gate
41a192e900Samaguire	<!-- ifconfig needs loopback for IPC with dhcpagent -->
42a192e900Samaguire	<dependency
43a192e900Samaguire		name='loopback'
44a192e900Samaguire		grouping='require_all'
45a192e900Samaguire		restart_on='none'
46a192e900Samaguire		type='service'>
47a192e900Samaguire		<service_fmri value='svc:/network/loopback' />
48a192e900Samaguire	</dependency>
49a192e900Samaguire
507c478bd9Sstevel@tonic-gate	<instance name='default' enabled='true'>
517c478bd9Sstevel@tonic-gate
527c478bd9Sstevel@tonic-gate	<exec_method
537c478bd9Sstevel@tonic-gate		type='method'
547c478bd9Sstevel@tonic-gate		name='start'
557c478bd9Sstevel@tonic-gate		exec='/lib/svc/method/net-physical'
567c478bd9Sstevel@tonic-gate		timeout_seconds='600' />
577c478bd9Sstevel@tonic-gate
587c478bd9Sstevel@tonic-gate	<exec_method
597c478bd9Sstevel@tonic-gate		type='method'
607c478bd9Sstevel@tonic-gate		name='stop'
617c478bd9Sstevel@tonic-gate		exec=':true'
627c478bd9Sstevel@tonic-gate		timeout_seconds='3' />
637c478bd9Sstevel@tonic-gate
647c478bd9Sstevel@tonic-gate	<property_group name='startd' type='framework'>
657c478bd9Sstevel@tonic-gate		<propval name='duration' type='astring' value='transient' />
667c478bd9Sstevel@tonic-gate	</property_group>
677c478bd9Sstevel@tonic-gate
687c478bd9Sstevel@tonic-gate	<template>
697c478bd9Sstevel@tonic-gate		<common_name>
707c478bd9Sstevel@tonic-gate			<loctext xml:lang='C'>
717c478bd9Sstevel@tonic-gate				physical network interfaces
727c478bd9Sstevel@tonic-gate			</loctext>
737c478bd9Sstevel@tonic-gate		</common_name>
747c478bd9Sstevel@tonic-gate		<documentation>
757c478bd9Sstevel@tonic-gate			<manpage title='ifconfig' section='1M'
767c478bd9Sstevel@tonic-gate				manpath='/usr/share/man' />
777c478bd9Sstevel@tonic-gate		</documentation>
787c478bd9Sstevel@tonic-gate	</template>
79*d71dbb73Sjbeck
80*d71dbb73Sjbeck	</instance>
81*d71dbb73Sjbeck
82*d71dbb73Sjbeck	<instance name='nwam' enabled='false'>
83*d71dbb73Sjbeck
84*d71dbb73Sjbeck	<exec_method
85*d71dbb73Sjbeck		type='method'
86*d71dbb73Sjbeck		name='start'
87*d71dbb73Sjbeck		exec='/lib/svc/method/net-nwam start'
88*d71dbb73Sjbeck		timeout_seconds='600' />
89*d71dbb73Sjbeck
90*d71dbb73Sjbeck	<exec_method
91*d71dbb73Sjbeck		type='method'
92*d71dbb73Sjbeck		name='stop'
93*d71dbb73Sjbeck		exec='/lib/svc/method/net-nwam stop'
94*d71dbb73Sjbeck		timeout_seconds='60' />
95*d71dbb73Sjbeck
96*d71dbb73Sjbeck	<exec_method
97*d71dbb73Sjbeck		type='method'
98*d71dbb73Sjbeck		name='refresh'
99*d71dbb73Sjbeck		exec='/lib/svc/method/net-nwam refresh'
100*d71dbb73Sjbeck		timeout_seconds='60' />
101*d71dbb73Sjbeck
102*d71dbb73Sjbeck	<property_group name='general' type='framework'>
103*d71dbb73Sjbeck		<!-- to start/stop NWAM services -->
104*d71dbb73Sjbeck		<propval name='action_authorization' type='astring'
105*d71dbb73Sjbeck			value='solaris.smf.manage.nwam' />
106*d71dbb73Sjbeck		<propval name='value_authorization' type='astring'
107*d71dbb73Sjbeck			value='solaris.smf.manage.nwam' />
108*d71dbb73Sjbeck	</property_group>
109*d71dbb73Sjbeck
110*d71dbb73Sjbeck	<property_group name='nwamd' type='application'>
111*d71dbb73Sjbeck		<stability value='Unstable' />
112*d71dbb73Sjbeck		<propval name='debug' type='boolean' value='false' />
113*d71dbb73Sjbeck		<propval name='use_net_svc' type='boolean' value='true' />
114*d71dbb73Sjbeck		<propval name='popup_info' type='boolean' value='true' />
115*d71dbb73Sjbeck		<propval name='popup_query' type='boolean' value='true' />
116*d71dbb73Sjbeck		<propval name='autoconf' type='boolean' value='true' />
117*d71dbb73Sjbeck		<propval name='dhcp_wait_time' type='count' value='60' />
118*d71dbb73Sjbeck		<propval name='scan_interval' type='count' value='120' />
119*d71dbb73Sjbeck		<propval name='value_authorization' type='astring'
120*d71dbb73Sjbeck			value='solaris.smf.value.nwam' />
121*d71dbb73Sjbeck	</property_group>
122*d71dbb73Sjbeck
123*d71dbb73Sjbeck	<template>
124*d71dbb73Sjbeck		<common_name>
125*d71dbb73Sjbeck			<loctext xml:lang='C'>
126*d71dbb73Sjbeck				physical network interface autoconfiguration
127*d71dbb73Sjbeck			</loctext>
128*d71dbb73Sjbeck		</common_name>
129*d71dbb73Sjbeck		<documentation>
130*d71dbb73Sjbeck			<manpage title='nwamd' section='1M'
131*d71dbb73Sjbeck				manpath='/usr/share/man' />
132*d71dbb73Sjbeck		</documentation>
133*d71dbb73Sjbeck	</template>
134*d71dbb73Sjbeck
135*d71dbb73Sjbeck	</instance>
136*d71dbb73Sjbeck
137*d71dbb73Sjbeck	<stability value='Unstable' />
138*d71dbb73Sjbeck
1397c478bd9Sstevel@tonic-gate</service>
1407c478bd9Sstevel@tonic-gate
1417c478bd9Sstevel@tonic-gate</service_bundle>
142