xref: /illumos-gate/usr/src/cmd/svc/milestone/network-service.xml (revision ef2c19a1d5242688ccc42f46886fcc495f8e1141)
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*ef2c19a1Samaguire Copyright 2006 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
10*ef2c19a1Samaguire Common Development and Distribution License (the "License").
11*ef2c19a1Samaguire 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-service'>
357c478bd9Sstevel@tonic-gate
367c478bd9Sstevel@tonic-gate<!--
377c478bd9Sstevel@tonic-gate  network/service is the fourth service containing aggregated TCP/IP
387c478bd9Sstevel@tonic-gate  service initialization.  It will decompose into its constituent
397c478bd9Sstevel@tonic-gate  services over time.
407c478bd9Sstevel@tonic-gate-->
417c478bd9Sstevel@tonic-gate
427c478bd9Sstevel@tonic-gate<service
437c478bd9Sstevel@tonic-gate	name='network/service'
447c478bd9Sstevel@tonic-gate	type='service'
457c478bd9Sstevel@tonic-gate	version='1'>
467c478bd9Sstevel@tonic-gate
477c478bd9Sstevel@tonic-gate	<create_default_instance enabled='true' />
487c478bd9Sstevel@tonic-gate
497c478bd9Sstevel@tonic-gate	<dependency
507c478bd9Sstevel@tonic-gate		name='init'
517c478bd9Sstevel@tonic-gate		grouping='optional_all'
527c478bd9Sstevel@tonic-gate		restart_on='none'
537c478bd9Sstevel@tonic-gate		type='service'>
547c478bd9Sstevel@tonic-gate		<service_fmri value='svc:/network/initial' />
557c478bd9Sstevel@tonic-gate	</dependency>
567c478bd9Sstevel@tonic-gate
57*ef2c19a1Samaguire	<!--
58*ef2c19a1Samaguire	  We require the root, usr and minimal filesystems, since
59*ef2c19a1Samaguire	  this service writes to/reads from /tmp, /etc, /var and
60*ef2c19a1Samaguire	  runs programs under /usr.
61*ef2c19a1Samaguire	-->
62*ef2c19a1Samaguire	<dependency
63*ef2c19a1Samaguire		name='filesystem'
64*ef2c19a1Samaguire		grouping='require_all'
65*ef2c19a1Samaguire		restart_on='none'
66*ef2c19a1Samaguire		type='service'>
67*ef2c19a1Samaguire		<service_fmri value='svc:/system/filesystem/root' />
68*ef2c19a1Samaguire		<service_fmri value='svc:/system/filesystem/usr' />
69*ef2c19a1Samaguire		<service_fmri value='svc:/system/filesystem/minimal' />
70*ef2c19a1Samaguire	</dependency>
71*ef2c19a1Samaguire
727c478bd9Sstevel@tonic-gate	<dependency
737c478bd9Sstevel@tonic-gate		name='nisplus'
747c478bd9Sstevel@tonic-gate		grouping='optional_all'
757c478bd9Sstevel@tonic-gate		restart_on='none'
767c478bd9Sstevel@tonic-gate		type='service'>
777c478bd9Sstevel@tonic-gate		<service_fmri value='svc:/network/rpc/nisplus' />
787c478bd9Sstevel@tonic-gate	</dependency>
797c478bd9Sstevel@tonic-gate
807c478bd9Sstevel@tonic-gate	<dependency
817c478bd9Sstevel@tonic-gate		name='nis_server'
827c478bd9Sstevel@tonic-gate		grouping='optional_all'
837c478bd9Sstevel@tonic-gate		restart_on='none'
847c478bd9Sstevel@tonic-gate		type='service'>
857c478bd9Sstevel@tonic-gate		<service_fmri value='svc:/network/nis/server' />
867c478bd9Sstevel@tonic-gate	</dependency>
877c478bd9Sstevel@tonic-gate
887c478bd9Sstevel@tonic-gate	<dependency
897c478bd9Sstevel@tonic-gate		name='nis_client'
907c478bd9Sstevel@tonic-gate		grouping='optional_all'
917c478bd9Sstevel@tonic-gate		restart_on='none'
927c478bd9Sstevel@tonic-gate		type='service'>
937c478bd9Sstevel@tonic-gate		<service_fmri value='svc:/network/nis/client' />
947c478bd9Sstevel@tonic-gate	</dependency>
957c478bd9Sstevel@tonic-gate
967c478bd9Sstevel@tonic-gate	<!--
977c478bd9Sstevel@tonic-gate	  DNS is potentially configured by the DHCP actions in
987c478bd9Sstevel@tonic-gate	  network/service, and cannot presently be used to store data
997c478bd9Sstevel@tonic-gate	  used by this service.
1007c478bd9Sstevel@tonic-gate	-->
1017c478bd9Sstevel@tonic-gate
1027c478bd9Sstevel@tonic-gate	<exec_method
1037c478bd9Sstevel@tonic-gate		type='method'
1047c478bd9Sstevel@tonic-gate		name='start'
1057c478bd9Sstevel@tonic-gate		exec='/lib/svc/method/net-svc start'
1067c478bd9Sstevel@tonic-gate		timeout_seconds='600' />
1077c478bd9Sstevel@tonic-gate
1087c478bd9Sstevel@tonic-gate	<exec_method
1097c478bd9Sstevel@tonic-gate		type='method'
1107c478bd9Sstevel@tonic-gate		name='stop'
1117c478bd9Sstevel@tonic-gate		exec=':true'
1127c478bd9Sstevel@tonic-gate		timeout_seconds='3' />
1137c478bd9Sstevel@tonic-gate
1147c478bd9Sstevel@tonic-gate	<property_group name='startd' type='framework'>
1157c478bd9Sstevel@tonic-gate		<propval name='duration' type='astring' value='transient' />
1167c478bd9Sstevel@tonic-gate	</property_group>
1177c478bd9Sstevel@tonic-gate
1187c478bd9Sstevel@tonic-gate	<stability value='Unstable' />
1197c478bd9Sstevel@tonic-gate
1207c478bd9Sstevel@tonic-gate	<template>
1217c478bd9Sstevel@tonic-gate		<common_name>
1227c478bd9Sstevel@tonic-gate			<loctext xml:lang='C'>
1237c478bd9Sstevel@tonic-gate				layered network services
1247c478bd9Sstevel@tonic-gate			</loctext>
1257c478bd9Sstevel@tonic-gate		</common_name>
1267c478bd9Sstevel@tonic-gate		<description>
1277c478bd9Sstevel@tonic-gate			<loctext xml:lang='C'>
1287c478bd9Sstevel@tonic-gate				Network infrastructure services
1297c478bd9Sstevel@tonic-gate				requiring name service availability.
1307c478bd9Sstevel@tonic-gate			</loctext>
1317c478bd9Sstevel@tonic-gate		</description>
1327c478bd9Sstevel@tonic-gate		<documentation>
1337c478bd9Sstevel@tonic-gate			<manpage title='ifconfig' section='1M'
1347c478bd9Sstevel@tonic-gate				manpath='/usr/share/man' />
1357c478bd9Sstevel@tonic-gate		</documentation>
1367c478bd9Sstevel@tonic-gate	</template>
1377c478bd9Sstevel@tonic-gate</service>
1387c478bd9Sstevel@tonic-gate
1397c478bd9Sstevel@tonic-gate</service_bundle>
140