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