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:legacy_routing'>
34a192e900Samaguire
35a192e900Samaguire<service
36a192e900Samaguire	name='network/routing/legacy-routing'
37a192e900Samaguire	type='service'
38a192e900Samaguire	version='1'>
39a192e900Samaguire
40a192e900Samaguire	<!-- loopback/physical network configuration is required -->
41a192e900Samaguire	<dependency
42a192e900Samaguire		name='network'
43a192e900Samaguire		grouping='require_all'
44a192e900Samaguire		restart_on='error'
45a192e900Samaguire		type='service'>
46a192e900Samaguire		<service_fmri value='svc:/network/initial' />
47a192e900Samaguire	</dependency>
48a192e900Samaguire
49a192e900Samaguire	<!-- local fs is needed for routing.conf updates -->
50a192e900Samaguire	<dependency
51a192e900Samaguire		name='filesystem'
52a192e900Samaguire		grouping='require_all'
53a192e900Samaguire		restart_on='error'
54a192e900Samaguire		type='service'>
55a192e900Samaguire		<service_fmri value='svc:/system/filesystem/local'/>
56a192e900Samaguire        </dependency>
57a192e900Samaguire
58a192e900Samaguire	<!-- some daemons need /dev/ip -->
59a192e900Samaguire	<dependency
60a192e900Samaguire		name='devices'
61a192e900Samaguire		grouping='require_all'
62a192e900Samaguire		restart_on='none'
63a192e900Samaguire		type='service'>
64a192e900Samaguire		<service_fmri value='svc:/milestone/devices' />
65a192e900Samaguire	</dependency>
66a192e900Samaguire
67a192e900Samaguire	<exec_method
68a192e900Samaguire		type='method'
69a192e900Samaguire		name='start'
70a192e900Samaguire		exec='/lib/svc/method/svc-legacy-routing %m %i'
71a192e900Samaguire		timeout_seconds='60' >
72a192e900Samaguire		<method_context>
73a192e900Samaguire			<method_credential user='root' group='root'/>
74a192e900Samaguire		</method_context>
75a192e900Samaguire	</exec_method>
76a192e900Samaguire
77a192e900Samaguire	<exec_method
78a192e900Samaguire		type='method'
79a192e900Samaguire		name='stop'
80a192e900Samaguire		exec='/lib/svc/method/svc-legacy-routing %m %i'
81a192e900Samaguire		timeout_seconds='60' >
82a192e900Samaguire		<method_context>
83a192e900Samaguire			<method_credential user='root' group='root'/>
84a192e900Samaguire		</method_context>
85a192e900Samaguire	</exec_method>
86a192e900Samaguire
87a192e900Samaguire	<property_group name='general' type='framework'>
88a192e900Samaguire		<!-- to start stop routing services -->
89a192e900Samaguire		<propval name='action_authorization' type='astring'
90a192e900Samaguire			value='solaris.smf.manage.routing' />
91a192e900Samaguire		<propval name='value_authorization' type='astring'
92a192e900Samaguire			value='solaris.smf.manage.routing' />
93a192e900Samaguire	</property_group>
94a192e900Samaguire
95a192e900Samaguire	<instance name='ipv4' enabled='false'>
96a192e900Samaguire
97*bbf21555SRichard Lowe		<!-- Properties in this group are used by routeadm(8) -->
98a192e900Samaguire		<property_group name='routeadm' type='application'>
99a192e900Samaguire			<stability value='Evolving' />
100a192e900Samaguire			<propval name='protocol' type='astring' value='ipv4' />
101a192e900Samaguire			<propval name='daemon' type='astring' value='' />
102a192e900Samaguire			<propval name='default-daemon' type='astring'
103a192e900Samaguire				value='' />
104a192e900Samaguire			<propval name='daemon-args' type='astring' value='' />
105a192e900Samaguire			<propval name='default-daemon-args' type='astring'
106a192e900Samaguire				value='' />
107a192e900Samaguire			<propval name='daemon-stop-cmd' type='astring'
108a192e900Samaguire				value='' />
109a192e900Samaguire			<propval name='default-daemon-stop-cmd' type='astring'
110a192e900Samaguire				value='' />
111a192e900Samaguire			<propval name='value_authorization' type='astring'
112a192e900Samaguire				value='solaris.smf.value.routing' />
113a192e900Samaguire		</property_group>
114a192e900Samaguire
115a192e900Samaguire	</instance>
116a192e900Samaguire
117a192e900Samaguire	<instance name='ipv6' enabled='false'>
118a192e900Samaguire
119*bbf21555SRichard Lowe		<!-- Properties in this group are used by routeadm(8) -->
120a192e900Samaguire		<property_group name='routeadm' type='application'>
121a192e900Samaguire			<stability value='Evolving' />
122a192e900Samaguire			<propval name='protocol' type='astring' value='ipv6' />
123a192e900Samaguire			<propval name='daemon' type='astring' value='' />
124a192e900Samaguire			<propval name='default-daemon' type='astring'
125a192e900Samaguire				value='' />
126a192e900Samaguire			<propval name='daemon-args' type='astring' value='' />
127a192e900Samaguire			<propval name='default-daemon-args' type='astring'
128a192e900Samaguire				value='' />
129a192e900Samaguire			<propval name='daemon-stop-cmd' type='astring'
130a192e900Samaguire				value='' />
131a192e900Samaguire			<propval name='default-daemon-stop-cmd' type='astring'
132a192e900Samaguire				value='' />
133a192e900Samaguire			<propval name='value_authorization' type='astring'
134a192e900Samaguire				value='solaris.smf.value.routing' />
135a192e900Samaguire		</property_group>
136a192e900Samaguire
137a192e900Samaguire	</instance>
138a192e900Samaguire
139a192e900Samaguire	<stability value='Unstable' />
140a192e900Samaguire
141a192e900Samaguire	<template>
142a192e900Samaguire		<common_name>
143a192e900Samaguire			<loctext xml:lang='C'>
144a192e900Samaguire				Legacy routing service
145a192e900Samaguire			</loctext>
146a192e900Samaguire		</common_name>
147a192e900Samaguire		<description>
148a192e900Samaguire			<loctext xml:lang='C'>
149a192e900Samaguire				Legacy routing services, controlled by routeadm.
150a192e900Samaguire			</loctext>
151a192e900Samaguire		</description>
152a192e900Samaguire		<documentation>
153*bbf21555SRichard Lowe			<manpage title='routeadm' section='8'
154a192e900Samaguire				manpath='/usr/share/man' />
155a192e900Samaguire		</documentation>
156a192e900Samaguire	</template>
157a192e900Samaguire</service>
158a192e900Samaguire
159a192e900Samaguire</service_bundle>
160