xref: /titanic_41/usr/src/lib/libdscp/svc/dscp.xml (revision 61ddd3aa4ea2aa54ca8a0a710e0660d9e7408c46)
1<?xml version="1.0"?>
2<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3<!--
4 Copyright 2006 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	ident	"%Z%%M%	%I%	%E% SMI"
27
28	NOTE:  This service manifest is not editable; its contents will
29	be overwritten by package or patch operations, including
30	operating system upgrade.  Make customizations in a different
31	file.
32-->
33
34<service_bundle type='manifest' name='SUNW:dscp'>
35
36<service
37	name='platform/sun4u/dscp'
38	type='service'
39	version='1'>
40
41	<create_default_instance enabled='false' />
42
43	<single_instance />
44
45	<!-- Required for the basic networking to be up -->
46	<dependency
47	    name='network'
48	    grouping='require_any'
49	    restart_on='error'
50	    type='service'>
51		<service_fmri value='svc:/milestone/network' />
52	</dependency>
53
54	<!-- Required as non-root local directories could be accessed -->
55	<dependency
56	    name='local-filesystems'
57	    type='service'
58	    grouping='require_all'
59	    restart_on='none'>
60	        <service_fmri value='svc:/system/filesystem/local' />
61	</dependency>
62
63	<!-- Required for the DSCP IPsec keys to be installed -->
64	<dependency
65	    name='sckmd'
66	    type='service'
67	    grouping='optional_all'
68	    restart_on='none'>
69	        <service_fmri value='svc:/platform/sun4u/sckmd:default' />
70	</dependency>
71
72	<!-- On OPL platform, the 'dcs' requires the DSCP to be up -->
73	<dependent
74	    name='dscp_dcs'
75	    grouping='optional_all'
76	    restart_on='none'>
77	        <service_fmri value='svc:/platform/sun4u/dcs:default' />
78	</dependent>
79
80	<!-- The FMA event-Transport module requires the DSCP to be up -->
81	<dependent
82	    name='dscp_fmd'
83	    grouping='optional_all'
84	    restart_on='none'>
85	        <service_fmri value='svc:/system/fmd:default' />
86	</dependent>
87
88	<exec_method
89	    type='method'
90	    name='start'
91	    exec='/lib/svc/method/svc-dscp %m'
92	    timeout_seconds='60' />
93
94	<exec_method
95	    type='method'
96	    name='refresh'
97	    exec='/lib/svc/method/svc-dscp %m'
98	    timeout_seconds='60' />
99
100	<exec_method
101	    type='method'
102	    name='stop'
103	    exec='/lib/svc/method/svc-dscp %m'
104	    timeout_seconds='60' />
105
106	<property_group name='application' type='framework'>
107		<stability value='Evolving' />
108		<propval name='auto_enable' type='boolean' value='true' />
109	</property_group>
110
111	<stability value='Evolving' />
112
113	<template>
114		<common_name>
115			<loctext xml:lang='C'>
116				DSCP Service
117			</loctext>
118		</common_name>
119		<description>
120			<loctext xml:lang='C'>
121				This service starts DSCP on
122				SPARC Enterprise Servers.
123			</loctext>
124		</description>
125		<documentation>
126			<manpage title='prtdscp' section='1M'
127				manpath='/usr/share/man' />
128		</documentation>
129	</template>
130</service>
131
132</service_bundle>
133