iscsi-target.xml revision a6d42e7d71324c5193c3b94d57d96ba2925d52e1
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont<?xml version='1.0'?>
6ea2385360e9e2167e65f9286447da9eea189457Tinderbox User<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont<!--
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis DupontCDDL HEADER START
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis DupontThe contents of this file are subject to the terms of the
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis DupontCommon Development and Distribution License (the "License").
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis DupontYou may not use this file except in compliance with the License.
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis DupontYou can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupontor http://www.opensolaris.org/os/licensing.
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis DupontSee the License for the specific language governing permissions
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupontand limitations under the License.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntWhen distributing Covered Code, include this CDDL HEADER in each
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Huntfile and include the License file at usr/src/OPENSOLARIS.LICENSE.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntIf applicable, add the following below this CDDL HEADER, with the
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Huntfields enclosed by brackets "[]" replaced with your own identifying
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupontinformation: Portions Copyright [yyyy] [name of copyright owner]
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntCDDL HEADER END
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis DupontCopyright 2008 Sun Microsystems, Inc. All rights reserved.
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis DupontUse is subject to license terms.
474faea7dd5ebbf64e0a34d70f4deb2e3f413de6Jeremy C. Reed
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis DupontService manifests for iSCSI Target
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont-->
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont<!--
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont network/iscsi/target - Export iSCSI target services
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt-->
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont<service_bundle type='manifest' name='SUNWiscsitr:iscsi-target'>
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont<service
bf0266f286c9350f6579d03cc74429433d8e6381Tinderbox User name='network/iscsi/target'
6ea2385360e9e2167e65f9286447da9eea189457Tinderbox User type='service'
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont version='1'>
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont <create_default_instance enabled='false' />
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont <single_instance/>
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont <dependency name = 'network'
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt grouping='require_any'
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt restart_on='error'
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt type='service'>
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt <service_fmri value='svc:/milestone/network'/>
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt </dependency>
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt <dependency name = 'stmf'
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt grouping='require_all'
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt restart_on='none'
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt type='service'>
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt <service_fmri value='svc:/system/stmf:default'/>
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont </dependency>
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont <exec_method
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt type='method'
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt name='start'
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont exec='/lib/svc/method/iscsi-target start'
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont timeout_seconds='600'>
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt <method_context>
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt <method_credential
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont user='root'
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt group='root'
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont privileges='basic,sys_devices'
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt />
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt </method_context>
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont </exec_method>
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt <exec_method
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont type='method'
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont name='stop'
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt exec='/lib/svc/method/iscsi-target stop'
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt timeout_seconds='600'>
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt <method_context>
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt <method_credential
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt user='root'
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt group='root'
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont privileges='basic,sys_devices'
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont />
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont </method_context>
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont </exec_method>
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt <property_group name='startd' type='framework'>
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont <propval name='duration' type='astring'
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont value='transient' />
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt </property_group>
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt <stability value='Evolving' />
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont <template>
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont <common_name>
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont <loctext xml:lang='C'>
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont iscsi target
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt </loctext>
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont </common_name>
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont <documentation>
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt <manpage title='itadm' section='1M'
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont manpath='/usr/share/man' />
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont </documentation>
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont </template>
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont
f89a9bcf1c02b9b350b8d29e47b48fdc0d334d2aFrancis Dupont</service>
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt
f89a9bcf1c02b9b350b8d29e47b48fdc0d334d2aFrancis Dupont</service_bundle>
f89a9bcf1c02b9b350b8d29e47b48fdc0d334d2aFrancis Dupont