1a192e900Samaguire<?xml version="1.0"?>
2a192e900Samaguire<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3a192e900Samaguire<!--
4f4b3ec61Sdh Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
5a192e900Samaguire Use is subject to license terms.
6a192e900Samaguire
7a192e900Samaguire CDDL HEADER START
8a192e900Samaguire
9a192e900Samaguire The contents of this file are subject to the terms of the
10a192e900Samaguire Common Development and Distribution License (the "License").
11a192e900Samaguire You may not use this file except in compliance with the License.
12a192e900Samaguire
13a192e900Samaguire You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14a192e900Samaguire or http://www.opensolaris.org/os/licensing.
15a192e900Samaguire See the License for the specific language governing permissions
16a192e900Samaguire and limitations under the License.
17a192e900Samaguire
18a192e900Samaguire When distributing Covered Code, include this CDDL HEADER in each
19a192e900Samaguire file and include the License file at usr/src/OPENSOLARIS.LICENSE.
20a192e900Samaguire If applicable, add the following below this CDDL HEADER, with the
21a192e900Samaguire fields enclosed by brackets "[]" replaced with your own identifying
22a192e900Samaguire information: Portions Copyright [yyyy] [name of copyright owner]
23a192e900Samaguire
24a192e900Samaguire CDDL HEADER END
25a192e900Samaguire
26a192e900Samaguire        ident	"%Z%%M%	%I%	%E% SMI"
27a192e900Samaguire
28a192e900Samaguire	NOTE:  This service manifest is not editable; its contents will
29a192e900Samaguire	be overwritten by package or patch operations, including
30a192e900Samaguire	operating system upgrade.  Make customizations in a different
31a192e900Samaguire	file.
32a192e900Samaguire-->
33a192e900Samaguire
34ceb97a6aSamaguire<service_bundle type='manifest' name='SUNWroutr:ripng'>
35a192e900Samaguire
36a192e900Samaguire<service
37a192e900Samaguire	name='network/routing/ripng'
38a192e900Samaguire	type='service'
39a192e900Samaguire	version='1'>
40a192e900Samaguire
41a192e900Samaguire	<single_instance />
42a192e900Samaguire
43a192e900Samaguire	<instance name='default' enabled='false' >
44a192e900Samaguire
45a192e900Samaguire	<!--
46a192e900Samaguire		in.ripngd will not run unless routing-setup has run.
47a192e900Samaguire	-->
48a192e900Samaguire	<dependency
49a192e900Samaguire		name='network_routing_setup'
50a192e900Samaguire		grouping='require_all'
51a192e900Samaguire		restart_on='refresh'
52a192e900Samaguire		type='service'>
53a192e900Samaguire		<service_fmri value='svc:/network/routing-setup' />
54a192e900Samaguire	</dependency>
55a192e900Samaguire
56a192e900Samaguire	<!--
57a192e900Samaguire		We only start in.ripngd if IPv6 forwarding is enabled.  This
58a192e900Samaguire		is due to a giant gap in in.ripngd's design which causes
59a192e900Samaguire		in.ripngd to propagate routes on all interfaces regardless of
60a192e900Samaguire		their forwarding status.  If that's fixed, then we can start
61a192e900Samaguire		in.ripngd regardless of the global IPv6 forwarding status.
62a192e900Samaguire	-->
63a192e900Samaguire	<dependency
64a192e900Samaguire		name='ipv6_forwarding'
65a192e900Samaguire		grouping='require_all'
66a192e900Samaguire		restart_on='refresh'
67a192e900Samaguire		type='service'>
68a192e900Samaguire		<service_fmri value='svc:/network/ipv6-forwarding' />
69a192e900Samaguire	</dependency>
70a192e900Samaguire
71a192e900Samaguire	<exec_method
72a192e900Samaguire		type='method'
73a192e900Samaguire		name='start'
74a192e900Samaguire		exec='/lib/svc/method/svc-ripng'
75a192e900Samaguire		timeout_seconds='60'>
76a192e900Samaguire		<method_context>
77a192e900Samaguire			<method_credential user='root' group='root'
78f4b3ec61Sdhprivileges='basic,proc_owner,proc_fork,proc_exec,proc_info,proc_session,file_chown,sys_ip_config,net_privaddr,net_icmpaccess,net_rawaccess'/>
79a192e900Samaguire		</method_context>
80a192e900Samaguire	</exec_method>
81a192e900Samaguire
82a192e900Samaguire	<exec_method
83a192e900Samaguire		type='method'
84a192e900Samaguire		name='stop'
85a192e900Samaguire		exec=':kill'
86a192e900Samaguire		timeout_seconds='60'>
87a192e900Samaguire		<method_context>
88a192e900Samaguire			<method_credential user='root' group='root'/>
89a192e900Samaguire		</method_context>
90a192e900Samaguire	</exec_method>
91a192e900Samaguire
92a192e900Samaguire	<!-- to start stop routing services -->
93a192e900Samaguire	<property_group name='general' type='framework'>
94a192e900Samaguire		<propval name='action_authorization' type='astring'
95a192e900Samaguire			value='solaris.smf.manage.routing' />
96a192e900Samaguire		<propval name='value_authorization' type='astring'
97a192e900Samaguire			value='solaris.smf.manage.routing' />
98a192e900Samaguire	</property_group>
99a192e900Samaguire
100a192e900Samaguire	<!-- Properties in this group are used by routeadm (1M) -->
101a192e900Samaguire	<property_group name='routeadm' type='application'>
102a192e900Samaguire		<stability value='Unstable' />
103a192e900Samaguire		<!-- Identifies service as a routing service -->
104a192e900Samaguire		<propval name='protocol' type='astring' value='ipv6' />
105a192e900Samaguire		<propval name='daemon' type='astring'
106a192e900Samaguire			value='/usr/lib/inet/in.ripngd' />
107a192e900Samaguire		<propval name='value_authorization' type='astring'
108a192e900Samaguire			value='solaris.smf.value.routing' />
109a192e900Samaguire	</property_group>
110a192e900Samaguire
111a192e900Samaguire	<!-- Properties in this group are modifiable via routeadm (1M) -->
112a192e900Samaguire	<property_group name='routing' type='application'>
113a192e900Samaguire		<stability value='Evolving' />
114a192e900Samaguire
115*794ca8faSamaguire		<!-- Equivalent to -s option if true -->
116a192e900Samaguire		<propval name='supply_routes' type='boolean' value='true' />
117a192e900Samaguire
118*794ca8faSamaguire		<!-- Equivalent to -q option if true -->
119*794ca8faSamaguire		<propval name='quiet_mode'  type='boolean' value='false' />
120*794ca8faSamaguire
121a192e900Samaguire		<!-- Equivalent to -p port option -->
122a192e900Samaguire		<propval name='udp_port' type='integer' value='521' />
123a192e900Samaguire
124a192e900Samaguire		<!-- Equivalent to -P option if false -->
125a192e900Samaguire		<propval name='poison_reverse' type='boolean' value='true' />
126a192e900Samaguire
127a192e900Samaguire		<!-- Equivalent to -v option if true -->
128a192e900Samaguire		<propval name='verbose' type='boolean' value='false' />
129a192e900Samaguire
130a192e900Samaguire		<!-- Equivalent to optional logging file -->
131a192e900Samaguire		<propval name='log_file' type='astring' value='' />
132a192e900Samaguire
133a192e900Samaguire		<propval name='value_authorization' type='astring'
134a192e900Samaguire			value='solaris.smf.value.routing' />
135a192e900Samaguire	</property_group>
136a192e900Samaguire
137a192e900Samaguire	<template>
138a192e900Samaguire		<common_name>
139a192e900Samaguire			<loctext xml:lang='C'>
140a192e900Samaguire				in.ripngd network routing daemon
141a192e900Samaguire			</loctext>
142a192e900Samaguire		</common_name>
143a192e900Samaguire		<documentation>
144a192e900Samaguire			<manpage title='in.ripngd' section='1M'
145a192e900Samaguire				manpath='/usr/share/man' />
146a192e900Samaguire		</documentation>
147a192e900Samaguire	</template>
148a192e900Samaguire	</instance>
149a192e900Samaguire	<stability value='Unstable' />
150a192e900Samaguire</service>
151a192e900Samaguire
152a192e900Samaguire</service_bundle>
153