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