xref: /titanic_52/usr/src/cmd/cmd-inet/usr.sbin/in.routed/route.xml (revision 41efec2219526a9b3ecce26f97aba761ef1e1d0d)
1<?xml version="1.0"?>
2<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3<!--
4 Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
5 Use is subject to license terms.
6
7 CDDL HEADER START
8
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.
12
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.
17
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]
23
24 CDDL HEADER END
25
26        ident	"%Z%%M%	%I%	%E% SMI"
27
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
31	file.
32-->
33
34<service_bundle type='manifest' name='SUNWroutr:route'>
35
36<service
37	name='network/routing/route'
38	type='service'
39	version='1'>
40
41	<single_instance />
42
43	<instance name='default' enabled='false' >
44
45	<!-- in.routed will not run unless routing-setup has run -->
46	<dependency
47		name='network_routing_setup'
48		grouping='require_all'
49		restart_on='refresh'
50		type='service'>
51		<service_fmri value='svc:/network/routing-setup' />
52	</dependency>
53
54	<exec_method
55		type='method'
56		name='start'
57		exec='/lib/svc/method/svc-route'
58		timeout_seconds='60'>
59		<method_context>
60			<method_credential user='root' group='root'
61privileges='basic,proc_owner,proc_fork,proc_exec,proc_info,proc_session,file_chown,sys_ip_config,net_privaddr,net_icmpaccess,net_rawaccess'/>
62		</method_context>
63	</exec_method>
64
65	<exec_method
66		type='method'
67		name='stop'
68		exec=':kill'
69		timeout_seconds='60'>
70		<method_context>
71			<method_credential user='root' group='root'/>
72		</method_context>
73	</exec_method>
74
75	<!-- to start stop routing services -->
76	<property_group name='general' type='framework'>
77		<propval name='action_authorization' type='astring'
78			value='solaris.smf.manage.routing' />
79		<propval name='value_authorization' type='astring'
80			value='solaris.smf.manage.routing' />
81	</property_group>
82
83	<!-- Properties in this group are used by routeadm (1M) -->
84	<property_group name='routeadm' type='application'>
85		<stability value='Unstable' />
86		<propval name='protocol' type='astring' value='ipv4' />
87		<propval name='daemon' type='astring'
88			value='/usr/sbin/in.routed' />
89		<propval name='value_authorization' type='astring'
90			value='solaris.smf.value.routing' />
91	</property_group>
92
93	<!-- Properties in this group are modifiable via routeadm (1M) -->
94	<property_group name='routing' type='application'>
95		<stability value='Evolving' />
96
97		<!-- Equivalent to -A option if false -->
98		<propval name='ignore_auth' type='boolean' value='true' />
99
100		<!-- Equivalent to -F specificied route minimization list -->
101		<propval name='minimize_routes' type='astring' value=''/>
102
103		<!-- Equivalent to -g option if true -->
104		<propval name='offer_default_route' type='boolean'
105		    value='false' />
106
107		<!-- Equivalent to -h option if false -->
108		<propval name='advertise_host_routes' type='boolean'
109		    value='true' />
110
111		<!-- Equivalent to -m option if true -->
112		<propval name='advertise_host_routes_primary' type='boolean'
113		    value='false' />
114
115		<!-- Equivalent to -n option if false -->
116		<propval name='install_routes' type='boolean' value='true' />
117
118		<!-- Equivalent to -P specified parameter list -->
119		<propval name='parameters' type='astring' value='' />
120
121		<!-- Equivalent to the -q option if true -->
122		<propval name='quiet_mode' type='boolean' value='false' />
123
124		<!-- Equivalent to -s option if true -->
125		<propval name='supply_routes' type='boolean' value='false' />
126
127		<!-- Equivalent to -S option if true -->
128		<propval name='default_routes_only' type='boolean'
129			value='false' />
130
131		<!-- Equivalent to -T tracefile option -->
132		<propval name='log_file' type='astring' value='' />
133
134		<!-- Equivalent to -v/-z option if true -->
135		<propval name='debug' type='boolean' value='false' />
136
137		<propval name='value_authorization' type='astring'
138			value='solaris.smf.value.routing' />
139	</property_group>
140
141	<template>
142		<common_name>
143			<loctext xml:lang='C'>
144				in.routed network routing daemon
145			</loctext>
146		</common_name>
147		<documentation>
148			<manpage title='in.routed' section='1M'
149				manpath='/usr/share/man' />
150		</documentation>
151	</template>
152	</instance>
153	<stability value='Unstable' />
154</service>
155
156</service_bundle>
157