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