blob: d09c6d20f4f1619b8ac9868bcca189498720e871 [file] [log] [blame]
paul1b414a12005-04-11 07:05:21 +00001<?xml version="1.0"?>
2<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3<!--
4 Copyright 2005 Sun Microsystems, Inc. All rights reserved.
5 Use is subject to license terms.
6
7 $Id: ospf6d.xml.in,v 1.1 2005/04/11 07:05:21 paul Exp $
8-->
9
10<service_bundle type='manifest' name='QUAGGAdaemons:ospf6d'>
11
12<service
13 name='network/ospf6'
14 type='service'
15 version='1'>
16
17 <create_default_instance enabled='false' />
18
19 <single_instance />
20
21 <dependency name='fs'
22 grouping='require_all'
23 restart_on='none'
24 type='service'>
25 <service_fmri
26 value='svc:/system/filesystem/usr:default' />
27 </dependency>
28
29 <dependency name='net'
30 grouping='require_all'
31 restart_on='none'
32 type='service'>
33 <service_fmri value='svc:/network/loopback' />
34 </dependency>
35
36 <dependency name='zebra'
37 grouping='require_all'
38 restart_on='restart'
39 type='service'>
40 <service_fmri value='svc:/network/zebra' />
41 </dependency>
42
43 <dependency name='config_data'
44 grouping='require_all'
45 restart_on='restart'
46 type='path'>
47 <service_fmri
48 value='file://localhost/@sysconfdir@/ospf6d.conf' />
49 </dependency>
50
51 <exec_method
52 type='method'
53 name='start'
54 exec='/lib/svc/method/quagga start svc:/network/ospf6'
55 timeout_seconds='60'/>
56
57 <exec_method
58 type='method'
59 name='stop'
60 exec='/lib/svc/method/quagga stop svc:/network/ospf6'
61 timeout_seconds='60' />
62
63 <exec_method
64 type='method'
65 name='restart'
66 exec='/lib/svc/method/quagga restart svc:/network/ospf6'
67 timeout_seconds='60' />
68
69 <property_group name='startd'
70 type='framework'>
71 <!-- sub-process core dumps shouldn't restart session -->
72 <propval name='ignore_error'
73 type='astring' value='core,signal' />
74 </property_group>
75
76 <property_group name='ospf6d' type='application'>
77 <stability value='Evolving' />
78 </property_group>
79 <property_group name='@PACKAGE_NAME@' type='application'>
80 <!-- Options common to @PACKAGE_NAME@ daemons -->
81 <!-- cant make XInclude validate with svccfg -->
82 <propval name='daemon_name' type='astring'
83 value='ospf6d' />
84 <propval name='config_file' type='astring'
85 value='@sysconfdir@/ospf6d.conf' />
86 <propval name='pid_file' type='astring'
87 value='@localstatedir@/ospf6d.pid' />
88 <propval name='vty_addr' type='astring' value='127.1' />
89 <propval name='vty_port' type='integer' value='0'/>
90 <propval name='user' type='astring' value='@enable_user@' />
91 <propval name='group' type='astring' value='@enable_group@' />
92 </property_group>
93 <stability value='Unstable' />
94
95 <template>
96 <common_name>
97 <loctext xml:lang='C'>
98 @PACKAGE_NAME@: ospf6d, OSPFv3 IPv6 routing protocol daemon.
99 </loctext>
100 </common_name>
101 <documentation>
102 <manpage title='ospf6d' section='1M' manpath='@mandir@' />
103 </documentation>
104 </template>
105
106</service>
107
108</service_bundle>