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