2 <!DOCTYPE service_bundle SYSTEM
"/usr/share/lib/xml/dtd/service_bundle.dtd.1">
4 This file is part of Quagga.
6 Quagga is free software; you can redistribute it and/or modify it
7 under the terms of the GNU General Public License as published by the
8 Free Software Foundation; either version 2, or (at your option) any
11 Quagga is distributed in the hope that it will be useful, but
12 WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with Quagga; see the file COPYING. If not, write to the Free
18 Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
21 Copyright 2007 Sun Microsystems, Inc. All rights reserved.
22 Use is subject to license terms.
24 ident "@(#)quagga.xml 1.0 05/03/15 SMI"
27 <service_bundle type='manifest' name='SUNWquagga-daemons:quagga'
>
30 name='network/routing/zebra'
35 <instance name='quagga' enabled='false'
>
38 grouping='require_all'
42 value='svc:/system/filesystem/usr:default'
/>
45 <dependency name='net'
46 grouping='require_all'
49 <service_fmri value='svc:/network/initial'
/>
52 <!-- do not not run unless routing-setup has run -->
54 name='network_routing_setup'
55 grouping='require_all'
58 <service_fmri value='svc:/network/routing-setup'
/>
64 exec='/lib/svc/method/quagga zebra'
68 user='root' group='root'
/>
79 <!-- if we define these properties at the service level, each
80 instance inherits them, and it can override with
83 <property_group name='startd'
85 <!-- sub-process core dumps shouldn't restart session -->
86 <propval name='ignore_error'
87 type='astring' value='core,signal'
/>
90 <!-- Properties in this group are used by routeadm (1M) -->
91 <property_group name='routeadm' type='application'
>
92 <stability value='Unstable'
/>
93 <!-- Identifies service as a routing service -->
94 <propval name='daemon' type='astring'
95 value='@sbindir@/zebra'
/>
96 <propval name='value_authorization' type='astring'
97 value='solaris.smf.value.routing'
/>
98 <!-- zebra should not contribute to ipv4/ipv6 routing state -->
99 <propval name='protocol' type='astring' value='zebra'
/>
102 <!-- Properties in this group are modifiable via routeadm (1M) -->
103 <property_group name='routing' type='application'
>
104 <stability value='Evolving'
/>
105 <propval name='value_authorization' type='astring'
106 value='solaris.smf.value.routing'
/>
108 <!-- Options common to Quagga daemons
109 Property names are equivalent to the long
110 option name, consult Quagga documentation -->
111 <!-- The config file to use, if not the default -->
112 <propval name='config_file' type='astring' value=''
/>
113 <!-- The vty_port to listen on if not the default.
115 <propval name='vty_port' type='integer' value='
0'
/>
116 <!-- The address to bind the VTY interface to, if not any. -->
117 <propval name='vty_address' type='astring' value=''
/>
118 <!-- The user to switch to after startup, if not the default -->
119 <propval name='user' type='astring' value=''
/>
120 <!-- The group to switch to, if not the default.
121 If user is specified, this defaults to a group with
122 same name as user -->
123 <propval name='group' type='astring' value=''
/>
124 <!-- The pidfile to use, if not the default of
125 @quagga_statedir@ -->
126 <propval name='pid_file' type='astring' value=''
/>
128 <!-- Options specific to zebra -->
129 <propval name='batch' type='boolean' value='false'
/>
132 <property_group name='general' type='framework'
>
133 <!-- to start stop routing services -->
134 <propval name='action_authorization' type='astring'
135 value='solaris.smf.manage.routing'
/>
136 <propval name='value_authorization' type='astring'
137 value='solaris.smf.manage.routing'
/>
142 <loctext xml:lang='C'
>
143 Quagga: zebra, RIB, kernel intermediary and misc daemon
147 <manpage title='zebra' section='
1M'
148 manpath='@mandir@'
/>
149 <doc_link name='quagga.net'
150 uri='http://www.quagga.net/'
/>
154 <stability value='Unstable'
/>
158 name='network/routing/rip'
162 <instance name='quagga' enabled='false'
>
164 <dependency name='fs'
165 grouping='require_all'
169 value='svc:/system/filesystem/usr:default'
/>
173 name='ipv4-forwarding'
174 grouping='optional_all'
177 <service_fmri value='svc:/network/ipv4-forwarding'
/>
180 <!-- do not not run unless routing-setup has run -->
182 name='network_routing_setup'
183 grouping='require_all'
186 <service_fmri value='svc:/network/routing-setup'
/>
189 <!-- ensure that restart of zebra is propogated to daemon -->
192 grouping='optional_all'
195 <service_fmri value='svc:/network/routing/zebra:quagga'
/>
201 exec='/lib/svc/method/quagga ripd'
202 timeout_seconds='
60'
>
205 user='root' group='root'
/>
213 timeout_seconds='
60'
>
216 <property_group name='startd'
218 <!-- sub-process core dumps shouldn't restart session -->
219 <propval name='ignore_error'
220 type='astring' value='core,signal'
/>
223 <!-- Properties in this group are used by routeadm (1M) -->
224 <property_group name='routeadm' type='application'
>
225 <stability value='Unstable'
/>
226 <!-- Identifies service as a routing service -->
227 <propval name='daemon' type='astring'
228 value='@sbindir@/ripd'
/>
229 <propval name='legacy-daemon' type='astring'
230 value='/usr/sfw/sbin/ripdstart'
/>
231 <propval name='value_authorization' type='astring'
232 value='solaris.smf.value.routing'
/>
233 <propval name='protocol' type='astring' value='ipv4'
/>
236 <!-- Properties in this group are modifiable via routeadm (1M) -->
237 <property_group name='routing' type='application'
>
238 <propval name='value_authorization' type='astring'
239 value='solaris.smf.value.routing'
/>
241 <!-- Options common to Quagga daemons -->
242 <!-- The config file to use, if not the default -->
243 <propval name='config_file' type='astring' value=''
/>
244 <!-- The vty_port to listen on if not the default.
246 <propval name='vty_port' type='integer' value='
0'
/>
247 <!-- The address to bind the VTY interface to, if not any. -->
248 <propval name='vty_address' type='astring' value=''
/>
249 <!-- The user to switch to after startup, if not the default -->
250 <propval name='user' type='astring' value=''
/>
251 <!-- The group to switch to, if not the default.
252 If user is specified, this defaults to a group with
253 same name as user -->
254 <propval name='group' type='astring' value=''
/>
255 <!-- The pidfile to use, if not the default of
256 @quagga_statedir@ -->
257 <propval name='pid_file' type='astring' value=''
/>
259 <!-- Options specific to ripd -->
260 <propval name='retain' type='boolean' value='false'
/>
263 <property_group name='general' type='framework'
>
264 <!-- to start stop routing services -->
265 <propval name='action_authorization' type='astring'
266 value='solaris.smf.manage.routing'
/>
267 <propval name='value_authorization' type='astring'
268 value='solaris.smf.manage.routing'
/>
273 <loctext xml:lang='C'
>
274 Quagga: ripd, RIPv1/
2 IPv4 routing protocol daemon.
278 <manpage title='ripd' section='
1M'
279 manpath='@mandir@'
/>
280 <doc_link name='quagga.net'
281 uri='http://www.quagga.net/'
/>
285 <stability value='Unstable'
/>
289 name='network/routing/ripng'
293 <instance name='quagga' enabled='false'
>
295 <dependency name='fs'
296 grouping='require_all'
300 value='svc:/system/filesystem/usr:default'
/>
304 name='ipv6-forwarding'
305 grouping='optional_all'
308 <service_fmri value='svc:/network/ipv6-forwarding'
/>
311 <!-- do not not run unless routing-setup has run -->
313 name='network_routing_setup'
314 grouping='require_all'
317 <service_fmri value='svc:/network/routing-setup'
/>
320 <!-- ensure that restart of zebra is propogated to daemon -->
323 grouping='optional_all'
326 <service_fmri value='svc:/network/routing/zebra:quagga'
/>
332 exec='/lib/svc/method/quagga ripngd'
333 timeout_seconds='
60'
>
336 user='root' group='root'
/>
344 timeout_seconds='
60'
>
347 <property_group name='startd'
349 <!-- sub-process core dumps shouldn't restart session -->
350 <propval name='ignore_error'
351 type='astring' value='core,signal'
/>
354 <!-- Properties in this group are used by routeadm (1M) -->
355 <property_group name='routeadm' type='application'
>
356 <stability value='Unstable'
/>
357 <!-- Identifies service as a routing service -->
358 <propval name='daemon' type='astring'
359 value='@sbindir@/ripngd'
/>
360 <propval name='value_authorization' type='astring'
361 value='solaris.smf.value.routing'
/>
362 <propval name='protocol' type='astring' value='ipv6'
/>
365 <!-- Properties in this group are modifiable via routeadm (1M) -->
366 <property_group name='routing' type='application'
>
367 <propval name='value_authorization' type='astring'
368 value='solaris.smf.value.routing'
/>
370 <!-- Options common to Quagga daemons -->
371 <!-- The config file to use, if not the default -->
372 <propval name='config_file' type='astring' value=''
/>
373 <!-- The vty_port to listen on if not the default.
375 <propval name='vty_port' type='integer' value='
0'
/>
376 <!-- The address to bind the VTY interface to, if not any. -->
377 <propval name='vty_address' type='astring' value=''
/>
378 <!-- The user to switch to after startup, if not the default -->
379 <propval name='user' type='astring' value=''
/>
380 <!-- The group to switch to, if not the default.
381 If user is specified, this defaults to a group with
382 same name as user -->
383 <propval name='group' type='astring' value=''
/>
384 <!-- The pidfile to use, if not the default of
385 @quagga_statedir@ -->
386 <propval name='pid_file' type='astring' value=''
/>
388 <!-- Options specific to ripngd -->
389 <propval name='retain' type='boolean' value='false'
/>
392 <property_group name='general' type='framework'
>
393 <!-- to start stop routing services -->
394 <propval name='action_authorization' type='astring'
395 value='solaris.smf.manage.routing'
/>
396 <propval name='value_authorization' type='astring'
397 value='solaris.smf.manage.routing'
/>
402 <loctext xml:lang='C'
>
403 Quagga: ripngd, RIPng IPv6 routing protocol daemon.
407 <manpage title='ripngd' section='
1M'
408 manpath='@mandir@'
/>
409 <doc_link name='quagga.net'
410 uri='http://www.quagga.net/'
/>
414 <stability value='Unstable'
/>
418 name='network/routing/ospf'
422 <instance name='quagga' enabled='false'
>
424 <dependency name='fs'
425 grouping='require_all'
429 value='svc:/system/filesystem/usr:default'
/>
433 name='ipv4-forwarding'
434 grouping='optional_all'
437 <service_fmri value='svc:/network/ipv4-forwarding'
/>
440 <!-- do not not run unless routing-setup has run -->
442 name='network_routing_setup'
443 grouping='require_all'
446 <service_fmri value='svc:/network/routing-setup'
/>
449 <!-- ensure that restart of zebra is propogated to daemon -->
452 grouping='optional_all'
455 <service_fmri value='svc:/network/routing/zebra:quagga'
/>
461 exec='/lib/svc/method/quagga ospfd'
462 timeout_seconds='
60'
>
465 user='root' group='root'
/>
469 <!-- ospfd can take a long time to shutdown, due to graceful
476 timeout_seconds='
600'
>
479 <property_group name='startd'
481 <!-- sub-process core dumps shouldn't restart session -->
482 <propval name='ignore_error'
483 type='astring' value='core,signal'
/>
486 <!-- Properties in this group are used by routeadm (1M) -->
487 <property_group name='routeadm' type='application'
>
488 <stability value='Unstable'
/>
489 <!-- Identifies service as a routing service -->
490 <propval name='daemon' type='astring'
491 value='@sbindir@/ospfd'
/>
492 <propval name='legacy-daemon' type='astring'
493 value='/usr/sfw/sbin/ospfdstart'
/>
494 <propval name='value_authorization' type='astring'
495 value='solaris.smf.value.routing'
/>
496 <propval name='protocol' type='astring' value='ipv4'
/>
499 <!-- Properties in this group are modifiable via routeadm (1M) -->
500 <property_group name='routing' type='application'
>
501 <propval name='value_authorization' type='astring'
502 value='solaris.smf.value.routing'
/>
504 <!-- Options common to Quagga daemons -->
505 <!-- The config file to use, if not the default -->
506 <propval name='config_file' type='astring' value=''
/>
507 <!-- The vty_port to listen on if not the default.
509 <propval name='vty_port' type='integer' value='
0'
/>
510 <!-- The address to bind the VTY interface to, if not any. -->
511 <propval name='vty_address' type='astring' value=''
/>
512 <!-- The user to switch to after startup, if not the default -->
513 <propval name='user' type='astring' value=''
/>
514 <!-- The group to switch to, if not the default.
515 If user is specified, this defaults to a group with
516 same name as user -->
517 <propval name='group' type='astring' value=''
/>
518 <!-- The pidfile to use, if not the default of
519 @quagga_statedir@ -->
520 <propval name='pid_file' type='astring' value=''
/>
523 <property_group name='general' type='framework'
>
524 <!-- to start stop routing services -->
525 <propval name='action_authorization' type='astring'
526 value='solaris.smf.manage.routing'
/>
527 <propval name='value_authorization' type='astring'
528 value='solaris.smf.manage.routing'
/>
533 <loctext xml:lang='C'
>
534 Quagga: ospfd, OSPFv2 IPv4 routing protocol daemon.
538 <manpage title='ospfd' section='
1M'
539 manpath='@mandir@'
/>
540 <doc_link name='quagga.net'
541 uri='http://www.quagga.net/'
/>
545 <stability value='Unstable'
/>
549 name='network/routing/ospf6'
553 <instance name='quagga' enabled='false'
>
555 <dependency name='fs'
556 grouping='require_all'
560 value='svc:/system/filesystem/usr:default'
/>
564 name='ipv6-forwarding'
565 grouping='optional_all'
568 <service_fmri value='svc:/network/ipv6-forwarding'
/>
571 <!-- do not not run unless routing-setup has run -->
573 name='network_routing_setup'
574 grouping='require_all'
577 <service_fmri value='svc:/network/routing-setup'
/>
580 <!-- ensure that restart of zebra is propogated to daemon -->
583 grouping='optional_all'
586 <service_fmri value='svc:/network/routing/zebra:quagga'
/>
592 exec='/lib/svc/method/quagga ospf6d'
593 timeout_seconds='
60'
>
596 user='root' group='root'
/>
604 timeout_seconds='
60'
>
607 <property_group name='startd'
609 <!-- sub-process core dumps shouldn't restart session -->
610 <propval name='ignore_error'
611 type='astring' value='core,signal'
/>
614 <!-- Properties in this group are used by routeadm (1M) -->
615 <property_group name='routeadm' type='application'
>
616 <stability value='Unstable'
/>
617 <!-- Identifies service as a routing service -->
618 <propval name='daemon' type='astring'
619 value='@sbindir@/ospf6d'
/>
620 <propval name='value_authorization' type='astring'
621 value='solaris.smf.value.routing'
/>
622 <propval name='protocol' type='astring' value='ipv6'
/>
625 <!-- Properties in this group are modifiable via routeadm (1M) -->
626 <property_group name='routing' type='application'
>
627 <propval name='value_authorization' type='astring'
628 value='solaris.smf.value.routing'
/>
630 <!-- Options common to Quagga daemons -->
631 <!-- The config file to use, if not the default -->
632 <propval name='config_file' type='astring' value=''
/>
633 <!-- The vty_port to listen on if not the default.
635 <propval name='vty_port' type='integer' value='
0'
/>
636 <!-- The address to bind the VTY interface to, if not any. -->
637 <propval name='vty_address' type='astring' value=''
/>
638 <!-- The user to switch to after startup, if not the default -->
639 <propval name='user' type='astring' value=''
/>
640 <!-- The group to switch to, if not the default.
641 If user is specified, this defaults to a group with
642 same name as user -->
643 <propval name='group' type='astring' value=''
/>
644 <!-- The pidfile to use, if not the default of
645 @quagga_statedir@ -->
646 <propval name='pid_file' type='astring' value=''
/>
649 <property_group name='general' type='framework'
>
650 <!-- to start stop routing services -->
651 <propval name='action_authorization' type='astring'
652 value='solaris.smf.manage.routing'
/>
653 <propval name='value_authorization' type='astring'
654 value='solaris.smf.manage.routing'
/>
659 <loctext xml:lang='C'
>
660 Quagga: ospf6d, OSPFv3 IPv6 routing protocol daemon.
664 <manpage title='ospf6d' section='
1M'
665 manpath='@mandir@'
/>
666 <doc_link name='quagga.net'
667 uri='http://www.quagga.net/'
/>
671 <stability value='Unstable'
/>
676 name='network/routing/bgp'
680 <instance name='quagga' enabled='false'
>
682 <dependency name='fs'
683 grouping='require_all'
687 value='svc:/system/filesystem/usr:default'
/>
691 name='ipv6-forwarding'
692 grouping='optional_all'
695 <service_fmri value='svc:/network/ipv6-forwarding'
/>
699 name='ipv4-forwarding'
700 grouping='optional_all'
703 <service_fmri value='svc:/network/ipv4-forwarding'
/>
706 <!-- do not not run unless routing-setup has run -->
708 name='network_routing_setup'
709 grouping='require_all'
712 <service_fmri value='svc:/network/routing-setup'
/>
715 <!-- ensure that restart of zebra is propogated to daemon -->
718 grouping='optional_all'
721 <service_fmri value='svc:/network/routing/zebra:quagga'
/>
727 exec='/lib/svc/method/quagga bgpd'
728 timeout_seconds='
60'
>
731 user='root' group='root'
/>
739 timeout_seconds='
60'
>
742 <property_group name='startd'
744 <!-- sub-process core dumps shouldn't restart session -->
745 <propval name='ignore_error'
746 type='astring' value='core,signal'
/>
749 <!-- Properties in this group are used by routeadm (1M) -->
750 <property_group name='routeadm' type='application'
>
751 <stability value='Unstable'
/>
752 <!-- Identifies service as a routing service -->
753 <propval name='daemon' type='astring'
754 value='@sbindir@/bgpd'
/>
755 <propval name='legacy-daemon' type='astring'
756 value='/usr/sfw/sbin/bgpdstart'
/>
757 <propval name='value_authorization' type='astring'
758 value='solaris.smf.value.routing'
/>
759 <property name='protocol' type='astring'
>
761 <value_node value='ipv4'
/>
762 <value_node value='ipv6'
/>
767 <!-- Properties in this group are modifiable via routeadm (1M) -->
768 <property_group name='routing' type='application'
>
769 <propval name='value_authorization' type='astring'
770 value='solaris.smf.value.routing'
/>
772 <!-- Options common to Quagga daemons. -->
773 <!-- The config file to use, if not the default -->
774 <propval name='config_file' type='astring' value=''
/>
775 <!-- The vty_port to listen on if not the default.
777 <propval name='vty_port' type='integer' value='
0'
/>
778 <!-- The address to bind the VTY interface to, if not any. -->
779 <propval name='vty_address' type='astring' value=''
/>
780 <!-- The user to switch to after startup, if not the default -->
781 <propval name='user' type='astring' value=''
/>
782 <!-- The group to switch to, if not the default.
783 If user is specified, this defaults to a group with
784 same name as user -->
785 <propval name='group' type='astring' value=''
/>
786 <!-- The pidfile to use, if not the default of
787 @quagga_statedir@ -->
788 <propval name='pid_file' type='astring' value=''
/>
790 <!-- Options specific to bgpd -->
791 <propval name='retain' type='boolean' value='false'
/>
792 <propval name='no_kernel' type='boolean' value='false'
/>
793 <propval name='bgp_port' type='astring' value=''
/>
796 If enable_zebra is false, it will not be switched
797 on by the start method.
799 <propval name='enable_zebra' type='boolean' value='true'
/>
802 <property_group name='general' type='framework'
>
803 <!-- to start stop routing services -->
804 <propval name='action_authorization' type='astring'
805 value='solaris.smf.manage.routing'
/>
806 <propval name='value_authorization' type='astring'
807 value='solaris.smf.manage.routing'
/>
812 <loctext xml:lang='C'
>
813 Quagga: bgpd, BGP routing protocol daemon.
817 <manpage title='bgpd' section='
1M'
818 manpath='@mandir@'
/>
819 <doc_link name='quagga.net'
820 uri='http://www.quagga.net/'
/>
824 <stability value='Unstable'
/>