xref: /titanic_52/usr/src/cmd/cmd-inet/usr.sbin/routeadm/legacy-routing.xml (revision a192e900f6d2b0e1a822e3252c0dfd795ed49d76)
1*a192e900Samaguire<?xml version="1.0"?>
2*a192e900Samaguire<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3*a192e900Samaguire<!--
4*a192e900Samaguire Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
5*a192e900Samaguire Use is subject to license terms.
6*a192e900Samaguire
7*a192e900Samaguire CDDL HEADER START
8*a192e900Samaguire
9*a192e900Samaguire The contents of this file are subject to the terms of the
10*a192e900Samaguire Common Development and Distribution License (the "License").
11*a192e900Samaguire You may not use this file except in compliance with the License.
12*a192e900Samaguire
13*a192e900Samaguire You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14*a192e900Samaguire or http://www.opensolaris.org/os/licensing.
15*a192e900Samaguire See the License for the specific language governing permissions
16*a192e900Samaguire and limitations under the License.
17*a192e900Samaguire
18*a192e900Samaguire When distributing Covered Code, include this CDDL HEADER in each
19*a192e900Samaguire file and include the License file at usr/src/OPENSOLARIS.LICENSE.
20*a192e900Samaguire If applicable, add the following below this CDDL HEADER, with the
21*a192e900Samaguire fields enclosed by brackets "[]" replaced with your own identifying
22*a192e900Samaguire information: Portions Copyright [yyyy] [name of copyright owner]
23*a192e900Samaguire
24*a192e900Samaguire CDDL HEADER END
25*a192e900Samaguire
26*a192e900Samaguire	ident	"%Z%%M%	%I%	%E% SMI"
27*a192e900Samaguire
28*a192e900Samaguire	NOTE:  This service manifest is not editable; its contents will
29*a192e900Samaguire	be overwritten by package or patch operations, including
30*a192e900Samaguire	operating system upgrade.  Make customizations in a different
31*a192e900Samaguire	file.
32*a192e900Samaguire
33*a192e900Samaguire-->
34*a192e900Samaguire
35*a192e900Samaguire<service_bundle type='manifest' name='SUNWcsr:legacy_routing'>
36*a192e900Samaguire
37*a192e900Samaguire<service
38*a192e900Samaguire	name='network/routing/legacy-routing'
39*a192e900Samaguire	type='service'
40*a192e900Samaguire	version='1'>
41*a192e900Samaguire
42*a192e900Samaguire	<!-- loopback/physical network configuration is required -->
43*a192e900Samaguire	<dependency
44*a192e900Samaguire		name='network'
45*a192e900Samaguire		grouping='require_all'
46*a192e900Samaguire		restart_on='error'
47*a192e900Samaguire		type='service'>
48*a192e900Samaguire		<service_fmri value='svc:/network/initial' />
49*a192e900Samaguire	</dependency>
50*a192e900Samaguire
51*a192e900Samaguire	<!-- local fs is needed for routing.conf updates -->
52*a192e900Samaguire	<dependency
53*a192e900Samaguire		name='filesystem'
54*a192e900Samaguire		grouping='require_all'
55*a192e900Samaguire		restart_on='error'
56*a192e900Samaguire		type='service'>
57*a192e900Samaguire		<service_fmri value='svc:/system/filesystem/local'/>
58*a192e900Samaguire        </dependency>
59*a192e900Samaguire
60*a192e900Samaguire	<!-- some daemons need /dev/ip -->
61*a192e900Samaguire	<dependency
62*a192e900Samaguire		name='devices'
63*a192e900Samaguire		grouping='require_all'
64*a192e900Samaguire		restart_on='none'
65*a192e900Samaguire		type='service'>
66*a192e900Samaguire		<service_fmri value='svc:/milestone/devices' />
67*a192e900Samaguire	</dependency>
68*a192e900Samaguire
69*a192e900Samaguire	<exec_method
70*a192e900Samaguire		type='method'
71*a192e900Samaguire		name='start'
72*a192e900Samaguire		exec='/lib/svc/method/svc-legacy-routing %m %i'
73*a192e900Samaguire		timeout_seconds='60' >
74*a192e900Samaguire		<method_context>
75*a192e900Samaguire			<method_credential user='root' group='root'/>
76*a192e900Samaguire		</method_context>
77*a192e900Samaguire	</exec_method>
78*a192e900Samaguire
79*a192e900Samaguire	<exec_method
80*a192e900Samaguire		type='method'
81*a192e900Samaguire		name='stop'
82*a192e900Samaguire		exec='/lib/svc/method/svc-legacy-routing %m %i'
83*a192e900Samaguire		timeout_seconds='60' >
84*a192e900Samaguire		<method_context>
85*a192e900Samaguire			<method_credential user='root' group='root'/>
86*a192e900Samaguire		</method_context>
87*a192e900Samaguire	</exec_method>
88*a192e900Samaguire
89*a192e900Samaguire	<property_group name='general' type='framework'>
90*a192e900Samaguire		<!-- to start stop routing services -->
91*a192e900Samaguire		<propval name='action_authorization' type='astring'
92*a192e900Samaguire			value='solaris.smf.manage.routing' />
93*a192e900Samaguire		<propval name='value_authorization' type='astring'
94*a192e900Samaguire			value='solaris.smf.manage.routing' />
95*a192e900Samaguire	</property_group>
96*a192e900Samaguire
97*a192e900Samaguire	<instance name='ipv4' enabled='false'>
98*a192e900Samaguire
99*a192e900Samaguire		<!-- Properties in this group are used by routeadm (1M) -->
100*a192e900Samaguire		<property_group name='routeadm' type='application'>
101*a192e900Samaguire			<stability value='Evolving' />
102*a192e900Samaguire			<propval name='protocol' type='astring' value='ipv4' />
103*a192e900Samaguire			<propval name='daemon' type='astring' value='' />
104*a192e900Samaguire			<propval name='default-daemon' type='astring'
105*a192e900Samaguire				value='' />
106*a192e900Samaguire			<propval name='daemon-args' type='astring' value='' />
107*a192e900Samaguire			<propval name='default-daemon-args' type='astring'
108*a192e900Samaguire				value='' />
109*a192e900Samaguire			<propval name='daemon-stop-cmd' type='astring'
110*a192e900Samaguire				value='' />
111*a192e900Samaguire			<propval name='default-daemon-stop-cmd' type='astring'
112*a192e900Samaguire				value='' />
113*a192e900Samaguire			<propval name='value_authorization' type='astring'
114*a192e900Samaguire				value='solaris.smf.value.routing' />
115*a192e900Samaguire		</property_group>
116*a192e900Samaguire
117*a192e900Samaguire	</instance>
118*a192e900Samaguire
119*a192e900Samaguire	<instance name='ipv6' enabled='false'>
120*a192e900Samaguire
121*a192e900Samaguire		<!-- Properties in this group are used by routeadm (1M) -->
122*a192e900Samaguire		<property_group name='routeadm' type='application'>
123*a192e900Samaguire			<stability value='Evolving' />
124*a192e900Samaguire			<propval name='protocol' type='astring' value='ipv6' />
125*a192e900Samaguire			<propval name='daemon' type='astring' value='' />
126*a192e900Samaguire			<propval name='default-daemon' type='astring'
127*a192e900Samaguire				value='' />
128*a192e900Samaguire			<propval name='daemon-args' type='astring' value='' />
129*a192e900Samaguire			<propval name='default-daemon-args' type='astring'
130*a192e900Samaguire				value='' />
131*a192e900Samaguire			<propval name='daemon-stop-cmd' type='astring'
132*a192e900Samaguire				value='' />
133*a192e900Samaguire			<propval name='default-daemon-stop-cmd' type='astring'
134*a192e900Samaguire				value='' />
135*a192e900Samaguire			<propval name='value_authorization' type='astring'
136*a192e900Samaguire				value='solaris.smf.value.routing' />
137*a192e900Samaguire		</property_group>
138*a192e900Samaguire
139*a192e900Samaguire	</instance>
140*a192e900Samaguire
141*a192e900Samaguire	<stability value='Unstable' />
142*a192e900Samaguire
143*a192e900Samaguire	<template>
144*a192e900Samaguire		<common_name>
145*a192e900Samaguire			<loctext xml:lang='C'>
146*a192e900Samaguire				Legacy routing service
147*a192e900Samaguire			</loctext>
148*a192e900Samaguire		</common_name>
149*a192e900Samaguire		<description>
150*a192e900Samaguire			<loctext xml:lang='C'>
151*a192e900Samaguire				Legacy routing services, controlled by routeadm.
152*a192e900Samaguire			</loctext>
153*a192e900Samaguire		</description>
154*a192e900Samaguire		<documentation>
155*a192e900Samaguire			<manpage title='routeadm' section='1M'
156*a192e900Samaguire				manpath='/usr/share/man' />
157*a192e900Samaguire		</documentation>
158*a192e900Samaguire	</template>
159*a192e900Samaguire</service>
160*a192e900Samaguire
161*a192e900Samaguire</service_bundle>
162