xref: /illumos-gate/usr/src/lib/libdscp/svc/dscp.xml (revision bbf21555)
125cf1a30Sjl<?xml version="1.0"?>
225cf1a30Sjl<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
325cf1a30Sjl<!--
425cf1a30Sjl Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
525cf1a30Sjl Use is subject to license terms.
625cf1a30Sjl
725cf1a30Sjl CDDL HEADER START
825cf1a30Sjl
925cf1a30Sjl The contents of this file are subject to the terms of the
1025cf1a30Sjl Common Development and Distribution License (the "License").
1125cf1a30Sjl You may not use this file except in compliance with the License.
1225cf1a30Sjl
1325cf1a30Sjl You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1425cf1a30Sjl or http://www.opensolaris.org/os/licensing.
1525cf1a30Sjl See the License for the specific language governing permissions
1625cf1a30Sjl and limitations under the License.
1725cf1a30Sjl
1825cf1a30Sjl When distributing Covered Code, include this CDDL HEADER in each
1925cf1a30Sjl file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2025cf1a30Sjl If applicable, add the following below this CDDL HEADER, with the
2125cf1a30Sjl fields enclosed by brackets "[]" replaced with your own identifying
2225cf1a30Sjl information: Portions Copyright [yyyy] [name of copyright owner]
2325cf1a30Sjl
2425cf1a30Sjl CDDL HEADER END
2525cf1a30Sjl
2625cf1a30Sjl	NOTE:  This service manifest is not editable; its contents will
2725cf1a30Sjl	be overwritten by package or patch operations, including
2825cf1a30Sjl	operating system upgrade.  Make customizations in a different
2925cf1a30Sjl	file.
3025cf1a30Sjl-->
3125cf1a30Sjl
3225cf1a30Sjl<service_bundle type='manifest' name='SUNW:dscp'>
3325cf1a30Sjl
3425cf1a30Sjl<service
3525cf1a30Sjl	name='platform/sun4u/dscp'
3625cf1a30Sjl	type='service'
3725cf1a30Sjl	version='1'>
3825cf1a30Sjl
3925cf1a30Sjl	<create_default_instance enabled='false' />
4025cf1a30Sjl
4125cf1a30Sjl	<single_instance />
4225cf1a30Sjl
433e1dd242Sraghuram	<!-- Required for the basic networking to be up -->
4425cf1a30Sjl	<dependency
4525cf1a30Sjl	    name='network'
4625cf1a30Sjl	    grouping='require_any'
4725cf1a30Sjl	    restart_on='error'
4825cf1a30Sjl	    type='service'>
4925cf1a30Sjl		<service_fmri value='svc:/milestone/network' />
5025cf1a30Sjl	</dependency>
5125cf1a30Sjl
523e1dd242Sraghuram	<!-- Required as non-root local directories could be accessed -->
5325cf1a30Sjl	<dependency
5425cf1a30Sjl	    name='local-filesystems'
5525cf1a30Sjl	    type='service'
5625cf1a30Sjl	    grouping='require_all'
5725cf1a30Sjl	    restart_on='none'>
5825cf1a30Sjl	        <service_fmri value='svc:/system/filesystem/local' />
5925cf1a30Sjl	</dependency>
6025cf1a30Sjl
613e1dd242Sraghuram	<!-- Required for the DSCP IPsec keys to be installed -->
6225cf1a30Sjl	<dependency
6325cf1a30Sjl	    name='sckmd'
6425cf1a30Sjl	    type='service'
6525cf1a30Sjl	    grouping='optional_all'
6625cf1a30Sjl	    restart_on='none'>
6725cf1a30Sjl	        <service_fmri value='svc:/platform/sun4u/sckmd:default' />
6825cf1a30Sjl	</dependency>
6925cf1a30Sjl
703e1dd242Sraghuram	<!-- On OPL platform, the 'dcs' requires the DSCP to be up -->
7125cf1a30Sjl	<dependent
723e1dd242Sraghuram	    name='dscp_dcs'
7325cf1a30Sjl	    grouping='optional_all'
7425cf1a30Sjl	    restart_on='none'>
7525cf1a30Sjl	        <service_fmri value='svc:/platform/sun4u/dcs:default' />
7625cf1a30Sjl	</dependent>
7725cf1a30Sjl
783e1dd242Sraghuram	<!-- The FMA event-Transport module requires the DSCP to be up -->
7925cf1a30Sjl	<dependent
803e1dd242Sraghuram	    name='dscp_fmd'
8125cf1a30Sjl	    grouping='optional_all'
8225cf1a30Sjl	    restart_on='none'>
8325cf1a30Sjl	        <service_fmri value='svc:/system/fmd:default' />
8425cf1a30Sjl	</dependent>
8525cf1a30Sjl
862568f901Sraghuram	<!--
87*bbf21555SRichard Lowe		The 'ntp' service on an OPL domain can be configured
882568f901Sraghuram		with SP as the NTP server, so create a dependency such that
89*bbf21555SRichard Lowe		the 'ntp' service is started after the DSCP service.
902568f901Sraghuram	-->
912568f901Sraghuram	<dependent
922568f901Sraghuram	    name='dscp_ntp'
932568f901Sraghuram	    grouping='optional_all'
942568f901Sraghuram	    restart_on='none'>
952568f901Sraghuram	        <service_fmri value='svc:/network/ntp:default' />
962568f901Sraghuram	</dependent>
972568f901Sraghuram
9825cf1a30Sjl	<exec_method
9925cf1a30Sjl	    type='method'
10025cf1a30Sjl	    name='start'
10125cf1a30Sjl	    exec='/lib/svc/method/svc-dscp %m'
10225cf1a30Sjl	    timeout_seconds='60' />
10325cf1a30Sjl
10425cf1a30Sjl	<exec_method
10525cf1a30Sjl	    type='method'
10625cf1a30Sjl	    name='refresh'
10725cf1a30Sjl	    exec='/lib/svc/method/svc-dscp %m'
10825cf1a30Sjl	    timeout_seconds='60' />
10925cf1a30Sjl
11025cf1a30Sjl	<exec_method
11125cf1a30Sjl	    type='method'
11225cf1a30Sjl	    name='stop'
11325cf1a30Sjl	    exec='/lib/svc/method/svc-dscp %m'
11425cf1a30Sjl	    timeout_seconds='60' />
11525cf1a30Sjl
11625cf1a30Sjl	<property_group name='application' type='framework'>
11725cf1a30Sjl		<stability value='Evolving' />
11825cf1a30Sjl		<propval name='auto_enable' type='boolean' value='true' />
11925cf1a30Sjl	</property_group>
12025cf1a30Sjl
12125cf1a30Sjl	<stability value='Evolving' />
12225cf1a30Sjl
12325cf1a30Sjl	<template>
12425cf1a30Sjl		<common_name>
12525cf1a30Sjl			<loctext xml:lang='C'>
12625cf1a30Sjl				DSCP Service
12725cf1a30Sjl			</loctext>
12825cf1a30Sjl		</common_name>
1298bfd22b4Sraghuram		<description>
1308bfd22b4Sraghuram			<loctext xml:lang='C'>
1318bfd22b4Sraghuram				This service starts DSCP on
1328bfd22b4Sraghuram				SPARC Enterprise Servers.
1338bfd22b4Sraghuram			</loctext>
1348bfd22b4Sraghuram		</description>
13525cf1a30Sjl		<documentation>
136*bbf21555SRichard Lowe			<manpage title='prtdscp' section='8'
13725cf1a30Sjl				manpath='/usr/share/man' />
13825cf1a30Sjl		</documentation>
13925cf1a30Sjl	</template>
14025cf1a30Sjl</service>
14125cf1a30Sjl
14225cf1a30Sjl</service_bundle>
143