libc: remove old sun4 capabilities
[unleashed.git] / usr / src / lib / libdscp / svc / dscp.xml
blob247812baaf7996619ba134d0a6acfcf2f581e171
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.
7  CDDL HEADER START
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.
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.
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]
24  CDDL HEADER END
26         ident   "%Z%%M% %I%     %E% SMI"
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 -->
34 <service_bundle type='manifest' name='SUNW:dscp'>
36 <service
37         name='platform/sun4u/dscp'
38         type='service'
39         version='1'>
41         <create_default_instance enabled='false' />
43         <single_instance />
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>
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>
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>
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>
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>
88         <!--
89                 The 'ntp' service on an OPL domain can be configured 
90                 with SP as the NTP server, so create a dependency such that
91                 the 'ntp' service is started after the DSCP service. 
92         -->
93         <dependent
94             name='dscp_ntp'
95             grouping='optional_all'
96             restart_on='none'>
97                 <service_fmri value='svc:/network/ntp:default' />
98         </dependent>
100         <exec_method
101             type='method'
102             name='start'
103             exec='/lib/svc/method/svc-dscp %m'
104             timeout_seconds='60' />
106         <exec_method
107             type='method'
108             name='refresh'
109             exec='/lib/svc/method/svc-dscp %m'
110             timeout_seconds='60' />
112         <exec_method
113             type='method'
114             name='stop'
115             exec='/lib/svc/method/svc-dscp %m'
116             timeout_seconds='60' />
118         <property_group name='application' type='framework'>
119                 <stability value='Evolving' />
120                 <propval name='auto_enable' type='boolean' value='true' />
121         </property_group>
123         <stability value='Evolving' />
125         <template>
126                 <common_name>
127                         <loctext xml:lang='C'>
128                                 DSCP Service
129                         </loctext>
130                 </common_name>
131                 <description>
132                         <loctext xml:lang='C'>
133                                 This service starts DSCP on
134                                 SPARC Enterprise Servers.
135                         </loctext>
136                 </description>
137                 <documentation>
138                         <manpage title='prtdscp' section='8'
139                                 manpath='/usr/share/man' />
140                 </documentation>
141         </template>
142 </service>
144 </service_bundle>