1a192e900Samaguire<?xml version="1.0"?>
2a192e900Samaguire<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3a192e900Samaguire<!--
4a192e900Samaguire Copyright 2006 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-->
32a192e900Samaguire
33a192e900Samaguire<service_bundle type='manifest' name='SUNWcsr:forwarding'>
34a192e900Samaguire
35a192e900Samaguire<service
36a192e900Samaguire	name='network/ipv4-forwarding'
37a192e900Samaguire	type='service'
38a192e900Samaguire	version='1'>
39a192e900Samaguire
40a192e900Samaguire	<create_default_instance enabled='false' />
41a192e900Samaguire
42a192e900Samaguire	<single_instance />
43a192e900Samaguire
44a192e900Samaguire	<dependency
45a192e900Samaguire		name='network'
46a192e900Samaguire		grouping='require_all'
47a192e900Samaguire		restart_on='error'
48a192e900Samaguire		type='service'>
49a192e900Samaguire		<service_fmri value='svc:/network/loopback' />
50a192e900Samaguire	</dependency>
51a192e900Samaguire
52a192e900Samaguire	<dependency
53a192e900Samaguire		name='filesystem'
54a192e900Samaguire		grouping='require_all'
55a192e900Samaguire		restart_on='error'
56a192e900Samaguire		type='service'>
57a192e900Samaguire		<service_fmri value='svc:/system/filesystem/local'/>
58a192e900Samaguire        </dependency>
59a192e900Samaguire
60a192e900Samaguire	<dependency
61a192e900Samaguire		name='devices'
62a192e900Samaguire		grouping='require_all'
63a192e900Samaguire		restart_on='none'
64a192e900Samaguire		type='service'>
65a192e900Samaguire		<service_fmri value='svc:/milestone/devices' />
66a192e900Samaguire	</dependency>
67a192e900Samaguire
68a192e900Samaguire	<exec_method
69a192e900Samaguire		type='method'
70a192e900Samaguire		name='start'
71a192e900Samaguire		exec='/lib/svc/method/svc-forwarding %m ipv4'
72a192e900Samaguire		timeout_seconds='60' >
73a192e900Samaguire		<method_context>
74a192e900Samaguire			<method_credential user='root' group='root' />
75a192e900Samaguire		</method_context>
76a192e900Samaguire	</exec_method>
77a192e900Samaguire
78a192e900Samaguire	<exec_method
79a192e900Samaguire		type='method'
80a192e900Samaguire		name='stop'
81a192e900Samaguire		exec='/lib/svc/method/svc-forwarding %m ipv4'
82a192e900Samaguire		timeout_seconds='60' >
83a192e900Samaguire		<method_context>
84a192e900Samaguire			<method_credential user='root' group='root' />
85a192e900Samaguire		</method_context>
86a192e900Samaguire	</exec_method>
87a192e900Samaguire
88a192e900Samaguire	<exec_method
89a192e900Samaguire		type='method'
90a192e900Samaguire		name='refresh'
91a192e900Samaguire		exec='/lib/svc/method/svc-forwarding %m ipv4'
92a192e900Samaguire		timeout_seconds='60' >
93a192e900Samaguire		<method_context>
94a192e900Samaguire			<method_credential user='root' group='root' />
95a192e900Samaguire		</method_context>
96a192e900Samaguire	</exec_method>
97a192e900Samaguire
98a192e900Samaguire	<property_group name='startd' type='framework'>
99a192e900Samaguire		<propval name='duration' type='astring'
100a192e900Samaguire			value='transient' />
101a192e900Samaguire	</property_group>
102a192e900Samaguire
103a192e900Samaguire	<property_group name='general' type='framework'>
104a192e900Samaguire		<!-- to start stop forwarding services -->
105a192e900Samaguire		<propval name='action_authorization' type='astring'
106a192e900Samaguire			value='solaris.smf.manage.routing' />
107a192e900Samaguire		<propval name='value_authorization' type='astring'
108a192e900Samaguire			value='solaris.smf.manage.routing' />
109a192e900Samaguire	</property_group>
110a192e900Samaguire
111*bbf21555SRichard Lowe	<!-- Properties in this group are modifiable via routeadm(8) -->
112a192e900Samaguire	<property_group name='routeadm' type='application'>
113a192e900Samaguire		<propval name='default-ipv4-forwarding' type='boolean'
114a192e900Samaguire			value='false' />
115a192e900Samaguire		<propval name='value_authorization' type='astring'
116a192e900Samaguire			value='solaris.smf.value.routing' />
117a192e900Samaguire	</property_group>
118a192e900Samaguire
119a192e900Samaguire	<stability value='Unstable' />
120a192e900Samaguire
121a192e900Samaguire	<template>
122a192e900Samaguire		<common_name>
123a192e900Samaguire			<loctext xml:lang='C'>
124a192e900Samaguire				IPv4 forwarding service
125a192e900Samaguire			</loctext>
126a192e900Samaguire		</common_name>
127a192e900Samaguire		<description>
128a192e900Samaguire			<loctext xml:lang='C'>
129a192e900Samaguire				IPv4 forwarding service, controlled by routeadm.
130a192e900Samaguire			</loctext>
131a192e900Samaguire		</description>
132a192e900Samaguire		<documentation>
133*bbf21555SRichard Lowe			<manpage title='routeadm' section='8'
134a192e900Samaguire				manpath='/usr/share/man' />
135a192e900Samaguire		</documentation>
136a192e900Samaguire	</template>
137a192e900Samaguire</service>
138a192e900Samaguire
139a192e900Samaguire<service
140a192e900Samaguire	name='network/ipv6-forwarding'
141a192e900Samaguire	type='service'
142a192e900Samaguire	version='1'>
143a192e900Samaguire
144a192e900Samaguire	<create_default_instance enabled='false' />
145a192e900Samaguire
146a192e900Samaguire	<single_instance />
147a192e900Samaguire
148a192e900Samaguire	<dependency
149a192e900Samaguire		name='network'
150a192e900Samaguire		grouping='require_all'
151a192e900Samaguire		restart_on='error'
152a192e900Samaguire		type='service'>
153a192e900Samaguire		<service_fmri value='svc:/network/loopback' />
154a192e900Samaguire	</dependency>
155a192e900Samaguire
156a192e900Samaguire	<dependency
157a192e900Samaguire		name='filesystem'
158a192e900Samaguire		grouping='require_all'
159a192e900Samaguire		restart_on='error'
160a192e900Samaguire		type='service'>
161a192e900Samaguire		<service_fmri value='svc:/system/filesystem/local'/>
162a192e900Samaguire        </dependency>
163a192e900Samaguire
164a192e900Samaguire	<dependency
165a192e900Samaguire		name='devices'
166a192e900Samaguire		grouping='require_all'
167a192e900Samaguire		restart_on='none'
168a192e900Samaguire		type='service'>
169a192e900Samaguire		<service_fmri value='svc:/milestone/devices' />
170a192e900Samaguire	</dependency>
171a192e900Samaguire
172a192e900Samaguire	<exec_method
173a192e900Samaguire		type='method'
174a192e900Samaguire		name='start'
175a192e900Samaguire		exec='/lib/svc/method/svc-forwarding %m ipv6'
176a192e900Samaguire		timeout_seconds='60' >
177a192e900Samaguire		<method_context>
178a192e900Samaguire			<method_credential user='root' group='root' />
179a192e900Samaguire		</method_context>
180a192e900Samaguire	</exec_method>
181a192e900Samaguire
182a192e900Samaguire	<exec_method
183a192e900Samaguire		type='method'
184a192e900Samaguire		name='stop'
185a192e900Samaguire		exec='/lib/svc/method/svc-forwarding %m ipv6'
186a192e900Samaguire		timeout_seconds='60' >
187a192e900Samaguire		<method_context>
188a192e900Samaguire			<method_credential user='root' group='root' />
189a192e900Samaguire		</method_context>
190a192e900Samaguire	</exec_method>
191a192e900Samaguire
192a192e900Samaguire	<exec_method
193a192e900Samaguire		type='method'
194a192e900Samaguire		name='refresh'
195a192e900Samaguire		exec='/lib/svc/method/svc-forwarding %m ipv6'
196a192e900Samaguire		timeout_seconds='60' >
197a192e900Samaguire		<method_context>
198a192e900Samaguire			<method_credential user='root' group='root' />
199a192e900Samaguire		</method_context>
200a192e900Samaguire	</exec_method>
201a192e900Samaguire
202a192e900Samaguire	<property_group name='startd' type='framework'>
203a192e900Samaguire		<propval name='duration' type='astring'
204a192e900Samaguire			value='transient' />
205a192e900Samaguire	</property_group>
206a192e900Samaguire
207a192e900Samaguire	<property_group name='general' type='framework'>
208a192e900Samaguire		<!-- to start stop forwarding services -->
209a192e900Samaguire		<propval name='action_authorization' type='astring'
210a192e900Samaguire			value='solaris.smf.manage.routing' />
211a192e900Samaguire		<propval name='value_authorization' type='astring'
212a192e900Samaguire			value='solaris.smf.manage.routing' />
213a192e900Samaguire	</property_group>
214a192e900Samaguire
215*bbf21555SRichard Lowe	<!-- Properties in this group are modifiable via routeadm(8) -->
216a192e900Samaguire        <property_group name='routeadm' type='application'>
217a192e900Samaguire		<propval name='default-ipv6-forwarding' type='boolean'
218a192e900Samaguire			value='false' />
219a192e900Samaguire		<propval name='value_authorization' type='astring'
220a192e900Samaguire			value='solaris.smf.value.routing' />
221a192e900Samaguire	</property_group>
222a192e900Samaguire
223a192e900Samaguire	<stability value='Unstable' />
224a192e900Samaguire
225a192e900Samaguire	<template>
226a192e900Samaguire		<common_name>
227a192e900Samaguire			<loctext xml:lang='C'>
228a192e900Samaguire				IPv6 forwarding service
229a192e900Samaguire			</loctext>
230a192e900Samaguire		</common_name>
231a192e900Samaguire		<description>
232a192e900Samaguire			<loctext xml:lang='C'>
233a192e900Samaguire				IPv6 forwarding service, controlled by routeadm.
234a192e900Samaguire			</loctext>
235a192e900Samaguire		</description>
236a192e900Samaguire		<documentation>
237*bbf21555SRichard Lowe			<manpage title='routeadm' section='8'
238a192e900Samaguire				manpath='/usr/share/man' />
239a192e900Samaguire		</documentation>
240a192e900Samaguire	</template>
241a192e900Samaguire</service>
242a192e900Samaguire
243a192e900Samaguire</service_bundle>
244