xref: /titanic_44/usr/src/cmd/fcinfo/npiv_config.xml (revision db8b037b5616a366b7dfdc01ef9552f02f9adfdd)
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 2008 Sun Microsystems, Inc.  All rights reserved.
26Use is subject to license terms.
27
28
29Service manifests for the NPIV configure
30
31
32-->
33
34<!--
35
36-->
37
38<service_bundle type='manifest' name='SUNWfcprt:npiv_config'>
39
40<service
41	name='network/npiv_config'
42	type='service'
43	version='1'>
44
45	<create_default_instance enabled='true' />
46
47	<single_instance/>
48
49	<dependency
50		name='npivsysevent'
51		grouping='require_all'
52		restart_on='none'
53		type='service'>
54		<service_fmri value='svc:/system/sysevent' />
55	</dependency>
56
57	<dependent
58		name='npiv-filesystem'
59		grouping='require_all'
60		restart_on='none'>
61		<service_fmri value='svc:/system/filesystem/local' />
62	</dependent>
63
64	<dependent
65		name='npiv-fc'
66		grouping='require_all'
67		restart_on='none'>
68		<service_fmri value='svc:/system/device/fc-fabric' />
69	</dependent>
70
71	<exec_method
72		type='method'
73		name='start'
74		exec='/lib/svc/method/npivconfig'
75		timeout_seconds='1200'>
76	</exec_method>
77
78	<exec_method
79		type='method'
80		name='stop'
81		exec=':true'
82		timeout_seconds='60'>
83	</exec_method>
84
85	<property_group name='startd' type='framework'>
86		<propval name='duration' type='astring'
87			value='transient' />
88	</property_group>
89
90	<stability value='Unstable' />
91
92</service>
93
94</service_bundle>
95