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