1 <?xml version="1.0"?>
2 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3
4 <!--
5
6 This file and its contents are supplied under the terms of the
7 Common Development and Distribution License ("CDDL"), version 1.0.
8 You may only use this file in accordance with the terms of version
9 1.0 of the CDDL.
10
11 A full copy of the text of the CDDL should have accompanied this
12 source. A copy of the CDDL is also available via the Internet at
13 http://www.illumos.org/license/CDDL.
14
15 Copyright 2012 Nexenta Systems, Inc. All rights reserved.
16
17 Service manifests for the AoE initiator configuration
18 -->
19
20 <!--
21 network/aoe/initiator - Export AoE initiator port services
22 -->
23
24 <service_bundle type='manifest' name='SUNWaoeprt:aoe-initiator'>
25
26 <service
27 name='network/aoe/initiator'
28 type='service'
29 version='1'>
30
31 <create_default_instance enabled='true' />
32
33 <single_instance/>
34
35 <dependency name = 'network'
36 grouping='require_any'
37 restart_on='error'
38 type='service'>
39 <service_fmri value='svc:/milestone/network'/>
40 </dependency>
41
42 <exec_method
43 type='method'
44 name='start'
45 exec='/lib/svc/method/aoe-initiator'
46 timeout_seconds='600'>
47 <method_context>
48 <method_credential
49 user='root'
50 group='root'
51 privileges='all'
52 />
53 </method_context>
54 </exec_method>
55
56 <exec_method
57 type='method'
58 name='stop'
59 exec=':true'
60 timeout_seconds='60'>
61 <method_context>
62 <method_credential
63 user='root'
64 group='root'
65 privileges='all'
66 />
67 </method_context>
68 </exec_method>
69
70 <property_group name='startd' type='framework'>
71 <propval name='duration' type='astring'
72 value='transient' />
73 </property_group>
74
75 <stability value='Evolving' />
76
77 <template>
78 <common_name>
79 <loctext xml:lang='C'>
80 Nexenta AoE initiator service
81 </loctext>
82 </common_name>
83 </template>
84
85 </service>
86
87 </service_bundle>