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