2 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
4 Copyright 2006 Sun Microsystems, Inc. All rights reserved.
5 Use is subject to license terms.
9 The contents of this file are subject to the terms of the
10 Common Development and Distribution License (the "License").
11 You may not use this file except in compliance with the License.
13 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14 or http://www.opensolaris.org/os/licensing.
15 See the License for the specific language governing permissions
16 and limitations under the License.
18 When distributing Covered Code, include this CDDL HEADER in each
19 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
20 If applicable, add the following below this CDDL HEADER, with the
21 fields enclosed by brackets "[]" replaced with your own identifying
22 information: Portions Copyright [yyyy] [name of copyright owner]
26 ident "%Z%%M% %I% %E% SMI"
28 NOTE: This service manifest is not editable; its contents will
29 be overwritten by package or patch operations, including
30 operating system upgrade. Make customizations in a different
35 <service_bundle type='manifest' name='SUNWcsr:forwarding'>
38 name='network/ipv4-forwarding'
42 <create_default_instance enabled='false' />
48 grouping='require_all'
51 <service_fmri value='svc:/network/loopback' />
56 grouping='require_all'
59 <service_fmri value='svc:/system/filesystem/local'/>
64 grouping='require_all'
67 <service_fmri value='svc:/milestone/devices' />
73 exec='/lib/svc/method/svc-forwarding %m ipv4'
74 timeout_seconds='60' >
76 <method_credential user='root' group='root' />
83 exec='/lib/svc/method/svc-forwarding %m ipv4'
84 timeout_seconds='60' >
86 <method_credential user='root' group='root' />
93 exec='/lib/svc/method/svc-forwarding %m ipv4'
94 timeout_seconds='60' >
96 <method_credential user='root' group='root' />
100 <property_group name='startd' type='framework'>
101 <propval name='duration' type='astring'
105 <property_group name='general' type='framework'>
106 <!-- to start stop forwarding services -->
107 <propval name='action_authorization' type='astring'
108 value='solaris.smf.manage.routing' />
109 <propval name='value_authorization' type='astring'
110 value='solaris.smf.manage.routing' />
113 <!-- Properties in this group are modifiable via routeadm (1M) -->
114 <property_group name='routeadm' type='application'>
115 <propval name='default-ipv4-forwarding' type='boolean'
117 <propval name='value_authorization' type='astring'
118 value='solaris.smf.value.routing' />
121 <stability value='Unstable' />
125 <loctext xml:lang='C'>
126 IPv4 forwarding service
130 <loctext xml:lang='C'>
131 IPv4 forwarding service, controlled by routeadm.
135 <manpage title='routeadm' section='1M'
136 manpath='/usr/share/man' />
142 name='network/ipv6-forwarding'
146 <create_default_instance enabled='false' />
152 grouping='require_all'
155 <service_fmri value='svc:/network/loopback' />
160 grouping='require_all'
163 <service_fmri value='svc:/system/filesystem/local'/>
168 grouping='require_all'
171 <service_fmri value='svc:/milestone/devices' />
177 exec='/lib/svc/method/svc-forwarding %m ipv6'
178 timeout_seconds='60' >
180 <method_credential user='root' group='root' />
187 exec='/lib/svc/method/svc-forwarding %m ipv6'
188 timeout_seconds='60' >
190 <method_credential user='root' group='root' />
197 exec='/lib/svc/method/svc-forwarding %m ipv6'
198 timeout_seconds='60' >
200 <method_credential user='root' group='root' />
204 <property_group name='startd' type='framework'>
205 <propval name='duration' type='astring'
209 <property_group name='general' type='framework'>
210 <!-- to start stop forwarding services -->
211 <propval name='action_authorization' type='astring'
212 value='solaris.smf.manage.routing' />
213 <propval name='value_authorization' type='astring'
214 value='solaris.smf.manage.routing' />
217 <!-- Properties in this group are modifiable via routeadm (1M) -->
218 <property_group name='routeadm' type='application'>
219 <propval name='default-ipv6-forwarding' type='boolean'
221 <propval name='value_authorization' type='astring'
222 value='solaris.smf.value.routing' />
225 <stability value='Unstable' />
229 <loctext xml:lang='C'>
230 IPv6 forwarding service
234 <loctext xml:lang='C'>
235 IPv6 forwarding service, controlled by routeadm.
239 <manpage title='routeadm' section='1M'
240 manpath='/usr/share/man' />