xref: /illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/devices-fc-fabric.xml (revision 2bbdd445a21f9d61f4a0ca0faf05d5ceb2bd91f3)
1<?xml version="1.0"?>
2<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3<!--
4
5CDDL HEADER START
6
7The contents of this file are subject to the terms of the
8Common Development and Distribution License (the "License").
9You may not use this file except in compliance with the License.
10
11You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
12or http://www.opensolaris.org/os/licensing.
13See the License for the specific language governing permissions
14and limitations under the License.
15
16When distributing Covered Code, include this CDDL HEADER in each
17file and include the License file at usr/src/OPENSOLARIS.LICENSE.
18If applicable, add the following below this CDDL HEADER, with the
19fields enclosed by brackets "[]" replaced with your own identifying
20information: Portions Copyright [yyyy] [name of copyright owner]
21
22CDDL HEADER END
23
24Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
25Use is subject to license terms.
26
27
28-->
29
30<service_bundle type='manifest' name='devices-fc-fabric'>
31
32<service
33	name='system/device/fc-fabric'
34	type='service'
35	version='1'>
36
37	<create_default_instance enabled='true' />
38
39	<single_instance/>
40
41        <dependency
42                name='sysevent'
43                grouping='require_all'
44                restart_on='none'
45                type='service'>
46                <service_fmri value='svc:/system/sysevent' />
47        </dependency>
48
49	<dependent
50		name='devices'
51		grouping='require_all'
52		restart_on='none'>
53		<service_fmri value='svc:/milestone/devices' />
54	</dependent>
55
56	<exec_method
57		type='method'
58		name='start'
59		exec='/lib/svc/method/fc-fabric'
60		timeout_seconds='600' />
61
62	<exec_method
63		type='method'
64		name='stop'
65		exec=':true'
66		timeout_seconds='3' />
67
68	<property_group name='startd' type='framework'>
69		<propval name='duration' type='astring'
70			value='transient' />
71	</property_group>
72
73	<stability value='Unstable' />
74
75	<template>
76		<common_name>
77			<loctext xml:lang='C'>
78				Solaris FC fabric device configuration.
79			</loctext>
80		</common_name>
81                <documentation>
82                        <manpage title='cfgadm_fp' section='1M'
83                                manpath='/usr/share/man' />
84                </documentation>
85	</template>
86</service>
87
88</service_bundle>
89
90