xref: /titanic_41/usr/src/cmd/fcoesvc/fcoe_target.xml (revision 59f783ef68a5d9dc879272521eae58db83bf5f90)
1e6eb57e7SKevin Yu<?xml version="1.0"?>
2e6eb57e7SKevin Yu<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3e6eb57e7SKevin Yu
4e6eb57e7SKevin Yu<!--
5e6eb57e7SKevin Yu
6e6eb57e7SKevin YuCDDL HEADER START
7e6eb57e7SKevin Yu
8e6eb57e7SKevin YuThe contents of this file are subject to the terms of the
9e6eb57e7SKevin YuCommon Development and Distribution License (the "License").
10e6eb57e7SKevin YuYou may not use this file except in compliance with the License.
11e6eb57e7SKevin Yu
12e6eb57e7SKevin YuYou can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
13e6eb57e7SKevin Yuor http://www.opensolaris.org/os/licensing.
14e6eb57e7SKevin YuSee the License for the specific language governing permissions
15e6eb57e7SKevin Yuand limitations under the License.
16e6eb57e7SKevin Yu
17e6eb57e7SKevin YuWhen distributing Covered Code, include this CDDL HEADER in each
18e6eb57e7SKevin Yufile and include the License file at usr/src/OPENSOLARIS.LICENSE.
19e6eb57e7SKevin YuIf applicable, add the following below this CDDL HEADER, with the
20e6eb57e7SKevin Yufields enclosed by brackets "[]" replaced with your own identifying
21e6eb57e7SKevin Yuinformation: Portions Copyright [yyyy] [name of copyright owner]
22e6eb57e7SKevin Yu
23e6eb57e7SKevin YuCDDL HEADER END
24e6eb57e7SKevin Yu
25e6eb57e7SKevin YuCopyright 2009 Sun Microsystems, Inc.  All rights reserved.
26e6eb57e7SKevin YuUse is subject to license terms.
27e6eb57e7SKevin Yu
28e6eb57e7SKevin YuService manifests for the FCoE target configuration
29e6eb57e7SKevin Yu-->
30e6eb57e7SKevin Yu
31e6eb57e7SKevin Yu<!--
32e6eb57e7SKevin Yu	system/fcoe_target - Export FCoE target port services
33e6eb57e7SKevin Yu-->
34e6eb57e7SKevin Yu
35e6eb57e7SKevin Yu<service_bundle type='manifest' name='SUNWfcprtr:fcoe_target'>
36e6eb57e7SKevin Yu
37e6eb57e7SKevin Yu<service
38e6eb57e7SKevin Yu	name='system/fcoe_target'
39e6eb57e7SKevin Yu	type='service'
40e6eb57e7SKevin Yu	version='1'>
41e6eb57e7SKevin Yu
42*59f783efSduo liu - Sun Microsystems - Beijing China	<create_default_instance enabled='false' />
43e6eb57e7SKevin Yu
44e6eb57e7SKevin Yu	<single_instance/>
45e6eb57e7SKevin Yu
46e6eb57e7SKevin Yu	<dependency name = 'network'
47e6eb57e7SKevin Yu		grouping='require_any'
48e6eb57e7SKevin Yu		restart_on='error'
49e6eb57e7SKevin Yu		type='service'>
50e6eb57e7SKevin Yu		<service_fmri value='svc:/milestone/network'/>
51e6eb57e7SKevin Yu	</dependency>
52e6eb57e7SKevin Yu
53e6eb57e7SKevin Yu	<dependency name = 'stmf'
54e6eb57e7SKevin Yu		grouping='require_all'
55e6eb57e7SKevin Yu		restart_on='none'
56e6eb57e7SKevin Yu		type='service'>
57e6eb57e7SKevin Yu		<service_fmri value='svc:/system/stmf:default'/>
58e6eb57e7SKevin Yu	</dependency>
59e6eb57e7SKevin Yu
60e6eb57e7SKevin Yu	<exec_method
61e6eb57e7SKevin Yu		type='method'
62e6eb57e7SKevin Yu		name='start'
63e6eb57e7SKevin Yu		exec='/lib/svc/method/svc-fcoet'
64e6eb57e7SKevin Yu		timeout_seconds='600'>
65e6eb57e7SKevin Yu		<method_context>
66e6eb57e7SKevin Yu			<method_credential
67e6eb57e7SKevin Yu			user='root'
68e6eb57e7SKevin Yu			group='root'
69e6eb57e7SKevin Yu			privileges='basic,sys_devices'
70e6eb57e7SKevin Yu			/>
71e6eb57e7SKevin Yu		</method_context>
72e6eb57e7SKevin Yu	</exec_method>
73e6eb57e7SKevin Yu
74e6eb57e7SKevin Yu	<exec_method
75e6eb57e7SKevin Yu		type='method'
76e6eb57e7SKevin Yu		name='stop'
77e6eb57e7SKevin Yu		exec=':true'
78e6eb57e7SKevin Yu		timeout_seconds='60'>
79e6eb57e7SKevin Yu		<method_context>
80e6eb57e7SKevin Yu			<method_credential
81e6eb57e7SKevin Yu			user='root'
82e6eb57e7SKevin Yu			group='root'
83e6eb57e7SKevin Yu			privileges='basic,sys_devices'
84e6eb57e7SKevin Yu			/>
85e6eb57e7SKevin Yu		</method_context>
86e6eb57e7SKevin Yu	</exec_method>
87e6eb57e7SKevin Yu
88e6eb57e7SKevin Yu	<property_group name='startd' type='framework'>
89e6eb57e7SKevin Yu		<propval name='duration' type='astring'
90e6eb57e7SKevin Yu			value='transient' />
91e6eb57e7SKevin Yu	</property_group>
92e6eb57e7SKevin Yu
93e6eb57e7SKevin Yu	<stability value='Evolving' />
94e6eb57e7SKevin Yu
95e6eb57e7SKevin Yu	<template>
96e6eb57e7SKevin Yu		<common_name>
97e6eb57e7SKevin Yu			<loctext xml:lang='C'>
98e6eb57e7SKevin Yu				fcoe target service
99e6eb57e7SKevin Yu			</loctext>
100e6eb57e7SKevin Yu		</common_name>
101e6eb57e7SKevin Yu		<documentation>
102e6eb57e7SKevin Yu			<manpage title='fcadm' section='1M'
103e6eb57e7SKevin Yu				manpath='/usr/share/man' />
104e6eb57e7SKevin Yu		</documentation>
105e6eb57e7SKevin Yu	</template>
106e6eb57e7SKevin Yu
107e6eb57e7SKevin Yu</service>
108e6eb57e7SKevin Yu
109e6eb57e7SKevin Yu</service_bundle>
110