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	NOTE:  This service manifest is not editable; its contents will
27a192e900Samaguire	be overwritten by package or patch operations, including
28a192e900Samaguire	operating system upgrade.  Make customizations in a different
29a192e900Samaguire	file.
30a192e900Samaguire-->
31a192e900Samaguire
32ceb97a6aSamaguire<service_bundle type='manifest' name='SUNWroutr:ripng'>
33a192e900Samaguire
34a192e900Samaguire<service
35a192e900Samaguire	name='network/routing/ripng'
36a192e900Samaguire	type='service'
37a192e900Samaguire	version='1'>
38a192e900Samaguire
39a192e900Samaguire	<single_instance />
40a192e900Samaguire
41a192e900Samaguire	<instance name='default' enabled='false' >
42a192e900Samaguire
43a192e900Samaguire	<!--
44a192e900Samaguire		in.ripngd will not run unless routing-setup has run.
45a192e900Samaguire	-->
46a192e900Samaguire	<dependency
47a192e900Samaguire		name='network_routing_setup'
48a192e900Samaguire		grouping='require_all'
49a192e900Samaguire		restart_on='refresh'
50a192e900Samaguire		type='service'>
51a192e900Samaguire		<service_fmri value='svc:/network/routing-setup' />
52a192e900Samaguire	</dependency>
53a192e900Samaguire
54a192e900Samaguire	<!--
55a192e900Samaguire		We only start in.ripngd if IPv6 forwarding is enabled.  This
56a192e900Samaguire		is due to a giant gap in in.ripngd's design which causes
57a192e900Samaguire		in.ripngd to propagate routes on all interfaces regardless of
58a192e900Samaguire		their forwarding status.  If that's fixed, then we can start
59a192e900Samaguire		in.ripngd regardless of the global IPv6 forwarding status.
60a192e900Samaguire	-->
61a192e900Samaguire	<dependency
62a192e900Samaguire		name='ipv6_forwarding'
63a192e900Samaguire		grouping='require_all'
64a192e900Samaguire		restart_on='refresh'
65a192e900Samaguire		type='service'>
66a192e900Samaguire		<service_fmri value='svc:/network/ipv6-forwarding' />
67a192e900Samaguire	</dependency>
68a192e900Samaguire
69a192e900Samaguire	<exec_method
70a192e900Samaguire		type='method'
71a192e900Samaguire		name='start'
72a192e900Samaguire		exec='/lib/svc/method/svc-ripng'
73a192e900Samaguire		timeout_seconds='60'>
74a192e900Samaguire		<method_context>
75a192e900Samaguire			<method_credential user='root' group='root'
76f4b3ec61Sdhprivileges='basic,proc_owner,proc_fork,proc_exec,proc_info,proc_session,file_chown,sys_ip_config,net_privaddr,net_icmpaccess,net_rawaccess'/>
77a192e900Samaguire		</method_context>
78a192e900Samaguire	</exec_method>
79a192e900Samaguire
80a192e900Samaguire	<exec_method
81a192e900Samaguire		type='method'
82a192e900Samaguire		name='stop'
83a192e900Samaguire		exec=':kill'
84a192e900Samaguire		timeout_seconds='60'>
85a192e900Samaguire		<method_context>
86a192e900Samaguire			<method_credential user='root' group='root'/>
87a192e900Samaguire		</method_context>
88a192e900Samaguire	</exec_method>
89a192e900Samaguire
90a192e900Samaguire	<!-- to start stop routing services -->
91a192e900Samaguire	<property_group name='general' type='framework'>
92a192e900Samaguire		<propval name='action_authorization' type='astring'
93a192e900Samaguire			value='solaris.smf.manage.routing' />
94a192e900Samaguire		<propval name='value_authorization' type='astring'
95a192e900Samaguire			value='solaris.smf.manage.routing' />
96a192e900Samaguire	</property_group>
97a192e900Samaguire
98*bbf21555SRichard Lowe	<!-- Properties in this group are used by routeadm(8) -->
99a192e900Samaguire	<property_group name='routeadm' type='application'>
100a192e900Samaguire		<stability value='Unstable' />
101a192e900Samaguire		<!-- Identifies service as a routing service -->
102a192e900Samaguire		<propval name='protocol' type='astring' value='ipv6' />
103a192e900Samaguire		<propval name='daemon' type='astring'
104a192e900Samaguire			value='/usr/lib/inet/in.ripngd' />
105a192e900Samaguire		<propval name='value_authorization' type='astring'
106a192e900Samaguire			value='solaris.smf.value.routing' />
107a192e900Samaguire	</property_group>
108*bbf21555SRichard Lowe
109*bbf21555SRichard Lowe	<!-- Properties in this group are modifiable via routeadm(8) -->
110a192e900Samaguire	<property_group name='routing' type='application'>
111a192e900Samaguire		<stability value='Evolving' />
112a192e900Samaguire
113794ca8faSamaguire		<!-- Equivalent to -s option if true -->
114a192e900Samaguire		<propval name='supply_routes' type='boolean' value='true' />
115a192e900Samaguire
116794ca8faSamaguire		<!-- Equivalent to -q option if true -->
117794ca8faSamaguire		<propval name='quiet_mode'  type='boolean' value='false' />
118794ca8faSamaguire
119a192e900Samaguire		<!-- Equivalent to -p port option -->
120a192e900Samaguire		<propval name='udp_port' type='integer' value='521' />
121a192e900Samaguire
122a192e900Samaguire		<!-- Equivalent to -P option if false -->
123a192e900Samaguire		<propval name='poison_reverse' type='boolean' value='true' />
124a192e900Samaguire
125a192e900Samaguire		<!-- Equivalent to -v option if true -->
126a192e900Samaguire		<propval name='verbose' type='boolean' value='false' />
127a192e900Samaguire
128a192e900Samaguire		<!-- Equivalent to optional logging file -->
129a192e900Samaguire		<propval name='log_file' type='astring' value='' />
130*bbf21555SRichard Lowe
131a192e900Samaguire		<propval name='value_authorization' type='astring'
132a192e900Samaguire			value='solaris.smf.value.routing' />
133a192e900Samaguire	</property_group>
134a192e900Samaguire
135a192e900Samaguire	<template>
136a192e900Samaguire		<common_name>
137a192e900Samaguire			<loctext xml:lang='C'>
138a192e900Samaguire				in.ripngd network routing daemon
139a192e900Samaguire			</loctext>
140a192e900Samaguire		</common_name>
141a192e900Samaguire		<documentation>
142*bbf21555SRichard Lowe			<manpage title='in.ripngd' section='8'
143a192e900Samaguire				manpath='/usr/share/man' />
144a192e900Samaguire		</documentation>
145a192e900Samaguire	</template>
146a192e900Samaguire	</instance>
147a192e900Samaguire	<stability value='Unstable' />
148a192e900Samaguire</service>
149a192e900Samaguire
150a192e900Samaguire</service_bundle>
151