2N/A<?xml version="1.0"?>
2N/A<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
2N/A<!--
2N/A Copyright (c) 2006, 2012, Oracle and/or its affiliates. All rights reserved.
2N/A
2N/A CDDL HEADER START
2N/A
2N/A The contents of this file are subject to the terms of the
2N/A Common Development and Distribution License (the "License").
2N/A You may not use this file except in compliance with the License.
2N/A
2N/A You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2N/A or http://www.opensolaris.org/os/licensing.
2N/A See the License for the specific language governing permissions
2N/A and limitations under the License.
2N/A
2N/A When distributing Covered Code, include this CDDL HEADER in each
2N/A file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2N/A If applicable, add the following below this CDDL HEADER, with the
2N/A fields enclosed by brackets "[]" replaced with your own identifying
2N/A information: Portions Copyright [yyyy] [name of copyright owner]
2N/A
2N/A CDDL HEADER END
2N/A
2N/A NOTE: This service manifest is not editable; its contents will
2N/A be overwritten by package or patch operations, including
2N/A operating system upgrade. Make customizations in a different
2N/A file.
2N/A-->
2N/A
2N/A<service_bundle type='manifest' name='SUNW:dscp'>
2N/A
2N/A<service
2N/A name='platform/sun4u/dscp'
2N/A type='service'
2N/A version='1'>
2N/A
2N/A <create_default_instance enabled='false' />
2N/A
2N/A <single_instance />
2N/A
2N/A <!-- Required for the basic networking to be up -->
2N/A <dependency
2N/A name='network'
2N/A grouping='require_any'
2N/A restart_on='error'
2N/A type='service'>
2N/A <service_fmri value='svc:/milestone/network' />
2N/A </dependency>
2N/A
2N/A <!-- Required as non-root local directories could be accessed -->
2N/A <dependency
2N/A name='local-filesystems'
2N/A type='service'
2N/A grouping='require_all'
2N/A restart_on='none'>
2N/A <service_fmri value='svc:/system/filesystem/local' />
2N/A </dependency>
2N/A
2N/A <!-- Required for the DSCP IPsec keys to be installed -->
2N/A <dependency
2N/A name='sckmd'
2N/A type='service'
2N/A grouping='optional_all'
2N/A restart_on='none'>
2N/A <service_fmri value='svc:/platform/sun4u/sckmd:default' />
2N/A </dependency>
2N/A
2N/A <!-- Required for the serial port lock directories to be cleared -->
2N/A <dependency
2N/A name='lock-cleanup'
2N/A type='service'
2N/A grouping='require_all'
2N/A restart_on='none'>
2N/A <service_fmri value='svc:/network/uucp-lock-cleanup:default' />
2N/A </dependency>
2N/A
2N/A <!-- On OPL platform, the 'dcs' requires the DSCP to be up -->
2N/A <dependent
2N/A name='dscp_dcs'
2N/A grouping='optional_all'
2N/A restart_on='none'>
2N/A <service_fmri value='svc:/platform/sun4u/dcs:default' />
2N/A </dependent>
2N/A
2N/A <!-- The FMA event-Transport module requires the DSCP to be up -->
2N/A <dependent
2N/A name='dscp_fmd'
2N/A grouping='optional_all'
2N/A restart_on='none'>
2N/A <service_fmri value='svc:/system/fmd:default' />
2N/A </dependent>
2N/A
2N/A <!--
2N/A The 'ntp' service on an OPL domain can be configured
2N/A with SP as the NTP server, so create a dependency such that
2N/A the 'ntp' service is started after the DSCP service.
2N/A -->
2N/A <dependent
2N/A name='dscp_ntp'
2N/A grouping='optional_all'
2N/A restart_on='none'>
2N/A <service_fmri value='svc:/network/ntp:default' />
2N/A </dependent>
2N/A
2N/A <exec_method
2N/A type='method'
2N/A name='start'
2N/A exec='/lib/svc/method/svc-dscp %m'
2N/A timeout_seconds='60' />
2N/A
2N/A <exec_method
2N/A type='method'
2N/A name='refresh'
2N/A exec='/lib/svc/method/svc-dscp %m'
2N/A timeout_seconds='60' />
2N/A
2N/A <exec_method
2N/A type='method'
2N/A name='stop'
2N/A exec='/lib/svc/method/svc-dscp %m'
2N/A timeout_seconds='60' />
2N/A
2N/A <property_group name='application' type='framework'>
2N/A <stability value='Evolving' />
2N/A <propval name='auto_enable' type='boolean' value='true' />
2N/A </property_group>
2N/A
2N/A <stability value='Evolving' />
2N/A
2N/A <template>
2N/A <common_name>
2N/A <loctext xml:lang='C'>
2N/A DSCP Service
2N/A </loctext>
2N/A </common_name>
2N/A <description>
2N/A <loctext xml:lang='C'>
2N/A This service starts DSCP on
2N/A SPARC Enterprise Servers.
2N/A </loctext>
2N/A </description>
2N/A <documentation>
2N/A <manpage title='prtdscp' section='1M'
2N/A manpath='/usr/share/man' />
2N/A </documentation>
2N/A </template>
2N/A</service>
2N/A
2N/A</service_bundle>