xref: /illumos-gate/usr/src/cmd/fcoesvc/fcoe_initiator.xml (revision 533affcbc7fc4d0c8132976ea454aaa715fe2307)
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 initiator configuration
29-->
30
31<!--
32	system/fcoe_initiator - Export FCoE initiator port services
33-->
34
35<service_bundle type='manifest' name='SUNWfcprtr:fcoe_initiator'>
36
37<service
38	name='system/fcoe_initiator'
39	type='service'
40	version='1'>
41
42	<create_default_instance enabled='true' />
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	<exec_method
54		type='method'
55		name='start'
56		exec='/lib/svc/method/svc-fcoei'
57		timeout_seconds='600'>
58		<method_context>
59			<method_credential
60			user='root'
61			group='root'
62			privileges='basic,sys_devices'
63			/>
64		</method_context>
65	</exec_method>
66
67	<exec_method
68		type='method'
69		name='stop'
70		exec=':true'
71		timeout_seconds='60'>
72		<method_context>
73			<method_credential
74			user='root'
75			group='root'
76			privileges='basic,sys_devices'
77			/>
78		</method_context>
79	</exec_method>
80
81	<property_group name='startd' type='framework'>
82		<propval name='duration' type='astring'
83			value='transient' />
84	</property_group>
85
86	<stability value='Evolving' />
87
88	<template>
89		<common_name>
90			<loctext xml:lang='C'>
91				fcoe initiator service
92			</loctext>
93		</common_name>
94		<documentation>
95			<manpage title='fcadm' section='8'
96				manpath='/usr/share/man' />
97		</documentation>
98	</template>
99
100</service>
101
102</service_bundle>
103