]> git.proxmox.com Git - mirror_frr.git/blame - solaris/quagga.xml.in
2005-04-26 Paul Jakma <paul.jakma@sun.com>
[mirror_frr.git] / solaris / quagga.xml.in
CommitLineData
2e7d9eba 1<?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 ident "@(#)quagga.xml 1.0 05/03/15 SMI"
8-->
9
10<service_bundle type='manifest' name='QUAGGAdaemons:quagga'>
11
12<service
13 name='network/routing/quagga'
14 type='service'
15 version='1'>
16 <!--
17 common service-level dependencies, inherited by each instance
18 -->
19 <dependency name='fs'
20 grouping='require_all'
21 restart_on='none'
22 type='service'>
23 <service_fmri
24 value='svc:/system/filesystem/usr:default' />
25 </dependency>
26 <dependency name='net'
27 grouping='require_all'
28 restart_on='none'
29 type='service'>
30 <service_fmri value='svc:/network/loopback' />
31 </dependency>
32
33 <!--
34 we define exec methods at the top level, and the
35 instance name is substituted for the %i on calling.
36 See smf_method(1M) for more switches.
37 -->
38 <exec_method
39 type='method'
40 name='start'
41 exec='/lib/svc/method/quagga start %i'
42 timeout_seconds='60'/>
43
44 <exec_method
45 type='method'
46 name='stop'
47 exec='/lib/svc/method/quagga stop %i'
48 timeout_seconds='60' />
49
50 <exec_method
51 type='method'
52 name='restart'
53 exec='/lib/svc/method/quagga restart %i'
54 timeout_seconds='60' />
55 <!--
56 if we define these properties at the service level, each instance
57 inherits them, and it can override with desired values.
58 -->
59 <property_group name='startd'
60 type='framework'>
61 <!-- sub-process core dumps shouldn't restart session -->
62 <propval name='ignore_error'
63 type='astring' value='core,signal' />
64 </property_group>
65 <property_group name='quagga' type='application'>
66 <!-- Options common to Quagga daemons -->
67 <propval name='config_file' type='astring' value='' />
68 <propval name='pid_file' type='astring' value='' />
69 <propval name='vty_addr' type='astring' value='127.1' />
70 <propval name='vty_port' type='integer' value='0'/>
71 <propval name='user' type='astring' value='@enable_user@' />
72 <propval name='group' type='astring' value='@enable_group@' />
73 <propval name='retain' type='boolean' value='false'/>
74 </property_group>
75
76 <instance name='zebra' enabled='false'>
77 <!--
78 now define it's own dependencies/properties etc here, it'll
79 inherit the rest...
80 -->
81 <dependency name='config_data'
82 grouping='require_all'
83 restart_on='restart'
84 type='path'>
85 <service_fmri
86 value='file://localhost/@sysconfdir@/zebra.conf' />
87 </dependency>
88 <property_group name='quagga' type='application'>
89 <stability value='Evolving' />
90 <propval name='keep_kernel' type='boolean'
91 value='false'/>
92 <propval name='daemon_name' type='astring'
93 value='zebra'/>
94 </property_group>
95 <template>
96 <common_name>
97 <loctext xml:lang='C'>
98 Quagga: zebra, RIB, kernel intermediary and misc daemon
99 </loctext>
100 </common_name>
101 <documentation>
102 <manpage title='zebra' section='1M'
103 manpath='@mandir@' />
104 </documentation>
105 </template>
106
107 </instance>
108
109 <instance name='bgpd' enabled='false'>
110 <!--
111 now define it's own dependencies/properties etc here, it'll
112 inherit the rest...
113 -->
114 <property_group name='quagga' type='application'>
115 <stability value='Evolving' />
116 <propval name='daemon_name' type='astring'
117 value='bgpd'/>
118 <propval name='daemon_name' type='boolean'
119 value='false'/>
120 </property_group>
121 <dependency name='zebra'
122 grouping='require_all'
123 restart_on='restart'
124 type='service'>
125 <service_fmri value='svc:/network/routing/quagga:zebra' />
126 </dependency>
127 <dependency name='config_data'
128 grouping='require_all'
129 restart_on='restart'
130 type='path'>
131 <service_fmri
132 value='file://localhost/@sysconfdir@/bgpd.conf' />
133 </dependency>
134 <template>
135 <common_name>
136 <loctext xml:lang='C'>
137 Quagga: bgpd, BGP routing protocol daemon.
138 </loctext>
139 </common_name>
140 <documentation>
141 <manpage title='bgpd' section='1M'
142 manpath='@mandir@' />
143 <doc_link name='quagga.net'
144 uri='http://www.quagga.net/' />
145 </documentation>
146 </template>
147
148 </instance>
149
150 <instance name='ospf6d' enabled='false'>
151 <!--
152 now define it's own dependencies/properties etc here, it'll
153 inherit the rest...
154 -->
155 <property_group name='quagga' type='application'>
156 <stability value='Evolving' />
157 <propval name='daemon_name' type='astring'
158 value='ospf6d'/>
159 </property_group>
160 <dependency name='zebra'
161 grouping='require_all'
162 restart_on='restart'
163 type='service'>
164 <service_fmri value='svc:/network/routing/quagga:zebra' />
165 </dependency>
166 <dependency name='config_data'
167 grouping='require_all'
168 restart_on='restart'
169 type='path'>
170 <service_fmri
171 value='file://localhost/@sysconfdir@/ospf6d.conf' />
172 </dependency>
173 <template>
174 <common_name>
175 <loctext xml:lang='C'>
176 Quagga: ospf6d, OSPFv3 IPv6 routing protocol daemon.
177 </loctext>
178 </common_name>
179 <documentation>
180 <manpage title='ospf6d' section='1M'
181 manpath='@mandir@' />
182 <doc_link name='quagga.net'
183 uri='http://www.quagga.net/' />
184 </documentation>
185 </template>
186
187 </instance>
188
189 <instance name='ospfd' enabled='false'>
190 <!--
191 now define it's own dependencies/properties etc here, it'll
192 inherit the rest...
193 -->
194 <property_group name='quagga' type='application'>
195 <stability value='Evolving' />
196 <propval name='daemon_name' type='astring'
197 value='ospfd'/>
198 </property_group>
199 <dependency name='zebra'
200 grouping='require_all'
201 restart_on='restart'
202 type='service'>
203 <service_fmri value='svc:/network/routing/quagga:zebra' />
204 </dependency>
205 <dependency name='config_data'
206 grouping='require_all'
207 restart_on='restart'
208 type='path'>
209 <service_fmri
210 value='file://localhost/@sysconfdir@/ospfd.conf' />
211 </dependency>
212 <property_group name='quagga' type='application'>
213 <stability value='Evolving' />
214 <propval name='retain_routes' type='boolean' value='false'/>
215 </property_group>
216 <template>
217 <common_name>
218 <loctext xml:lang='C'>
219 Quagga: ospfd, OSPFv2 IPv4 routing protocol daemon.
220 </loctext>
221 </common_name>
222 <documentation>
223 <manpage title='ospfd' section='1M'
224 manpath='@mandir@' />
225 <doc_link name='quagga.net'
226 uri='http://www.quagga.net/' />
227 </documentation>
228 </template>
229
230 </instance>
231
232 <instance name='ripd' enabled='false'>
233 <!--
234 now define it's own dependencies/properties etc here, it'll
235 inherit the rest...
236 -->
237 <property_group name='quagga' type='application'>
238 <stability value='Evolving' />
239 <propval name='daemon_name' type='astring'
240 value='ripd'/>
241 </property_group>
242 <dependency name='zebra'
243 grouping='require_all'
244 restart_on='restart'
245 type='service'>
246 <service_fmri value='svc:/network/routing/quagga:zebra' />
247 </dependency>
248 <dependency name='config_data'
249 grouping='require_all'
250 restart_on='restart'
251 type='path'>
252 <service_fmri
253 value='file://localhost/@sysconfdir@/ripd.conf' />
254 </dependency>
255 <property_group name='quagga' type='application'>
256 <stability value='Evolving' />
257 <propval name='retain_routes' type='boolean' value='false'/>
258 </property_group>
259 <template>
260 <common_name>
261 <loctext xml:lang='C'>
262 Quagga: ripd, RIPv1/2 IPv4 routing protocol daemon.
263 </loctext>
264 </common_name>
265 <documentation>
266 <manpage title='ripd' section='1M'
267 manpath='@mandir@' />
268 <doc_link name='quagga.net'
269 uri='http://www.quagga.net/' />
270 </documentation>
271 </template>
272
273 </instance>
274
275 <instance name='ripngd' enabled='false'>
276 <!--
277 now define it's own dependencies/properties etc here, it'll
278 inherit the rest...
279 -->
280 <property_group name='quagga' type='application'>
281 <stability value='Evolving' />
282 <propval name='daemon_name' type='astring'
283 value='ripngd'/>
284 </property_group>
285 <dependency name='zebra'
286 grouping='require_all'
287 restart_on='restart'
288 type='service'>
289 <service_fmri value='svc:/network/routing/quagga:zebra' />
290 </dependency>
291 <dependency name='config_data'
292 grouping='require_all'
293 restart_on='restart'
294 type='path'>
295 <service_fmri
296 value='file://localhost/@sysconfdir@/ripngd.conf' />
297 </dependency>
298 <property_group name='quagga' type='application'>
299 <stability value='Evolving' />
300 <propval name='retain_routes' type='boolean' value='false'/>
301 </property_group>
302 <template>
303 <common_name>
304 <loctext xml:lang='C'>
305 Quagga: ripngd, RIPng IPv6 routing protocol daemon.
306 </loctext>
307 </common_name>
308 <documentation>
309 <manpage title='ripngd' section='1M'
310 manpath='@mandir@' />
311 <doc_link name='quagga.net'
312 uri='http://www.quagga.net/' />
313 </documentation>
314 </template>
315
316 </instance>
317
318
319 <stability value='Unstable' />
320
321</service>
322
323</service_bundle>