xref: /onnv-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/ripng.xml (revision 3541:5e98fc899bd7)
13048Samaguire<?xml version="1.0"?>
23048Samaguire<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
33048Samaguire<!--
43448Sdh155122 Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
53048Samaguire Use is subject to license terms.
63048Samaguire
73048Samaguire CDDL HEADER START
83048Samaguire
93048Samaguire The contents of this file are subject to the terms of the
103048Samaguire Common Development and Distribution License (the "License").
113048Samaguire You may not use this file except in compliance with the License.
123048Samaguire
133048Samaguire You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
143048Samaguire or http://www.opensolaris.org/os/licensing.
153048Samaguire See the License for the specific language governing permissions
163048Samaguire and limitations under the License.
173048Samaguire
183048Samaguire When distributing Covered Code, include this CDDL HEADER in each
193048Samaguire file and include the License file at usr/src/OPENSOLARIS.LICENSE.
203048Samaguire If applicable, add the following below this CDDL HEADER, with the
213048Samaguire fields enclosed by brackets "[]" replaced with your own identifying
223048Samaguire information: Portions Copyright [yyyy] [name of copyright owner]
233048Samaguire
243048Samaguire CDDL HEADER END
253048Samaguire
263048Samaguire        ident	"%Z%%M%	%I%	%E% SMI"
273048Samaguire
283048Samaguire	NOTE:  This service manifest is not editable; its contents will
293048Samaguire	be overwritten by package or patch operations, including
303048Samaguire	operating system upgrade.  Make customizations in a different
313048Samaguire	file.
323048Samaguire-->
333048Samaguire
343094Samaguire<service_bundle type='manifest' name='SUNWroutr:ripng'>
353048Samaguire
363048Samaguire<service
373048Samaguire	name='network/routing/ripng'
383048Samaguire	type='service'
393048Samaguire	version='1'>
403048Samaguire
413048Samaguire	<single_instance />
423048Samaguire
433048Samaguire	<instance name='default' enabled='false' >
443048Samaguire
453048Samaguire	<!--
463048Samaguire		in.ripngd will not run unless routing-setup has run.
473048Samaguire	-->
483048Samaguire	<dependency
493048Samaguire		name='network_routing_setup'
503048Samaguire		grouping='require_all'
513048Samaguire		restart_on='refresh'
523048Samaguire		type='service'>
533048Samaguire		<service_fmri value='svc:/network/routing-setup' />
543048Samaguire	</dependency>
553048Samaguire
563048Samaguire	<!--
573048Samaguire		We only start in.ripngd if IPv6 forwarding is enabled.  This
583048Samaguire		is due to a giant gap in in.ripngd's design which causes
593048Samaguire		in.ripngd to propagate routes on all interfaces regardless of
603048Samaguire		their forwarding status.  If that's fixed, then we can start
613048Samaguire		in.ripngd regardless of the global IPv6 forwarding status.
623048Samaguire	-->
633048Samaguire	<dependency
643048Samaguire		name='ipv6_forwarding'
653048Samaguire		grouping='require_all'
663048Samaguire		restart_on='refresh'
673048Samaguire		type='service'>
683048Samaguire		<service_fmri value='svc:/network/ipv6-forwarding' />
693048Samaguire	</dependency>
703048Samaguire
713048Samaguire	<exec_method
723048Samaguire		type='method'
733048Samaguire		name='start'
743048Samaguire		exec='/lib/svc/method/svc-ripng'
753048Samaguire		timeout_seconds='60'>
763048Samaguire		<method_context>
773048Samaguire			<method_credential user='root' group='root'
783448Sdh155122privileges='basic,proc_owner,proc_fork,proc_exec,proc_info,proc_session,file_chown,sys_ip_config,net_privaddr,net_icmpaccess,net_rawaccess'/>
793048Samaguire		</method_context>
803048Samaguire	</exec_method>
813048Samaguire
823048Samaguire	<exec_method
833048Samaguire		type='method'
843048Samaguire		name='stop'
853048Samaguire		exec=':kill'
863048Samaguire		timeout_seconds='60'>
873048Samaguire		<method_context>
883048Samaguire			<method_credential user='root' group='root'/>
893048Samaguire		</method_context>
903048Samaguire	</exec_method>
913048Samaguire
923048Samaguire	<!-- to start stop routing services -->
933048Samaguire	<property_group name='general' type='framework'>
943048Samaguire		<propval name='action_authorization' type='astring'
953048Samaguire			value='solaris.smf.manage.routing' />
963048Samaguire		<propval name='value_authorization' type='astring'
973048Samaguire			value='solaris.smf.manage.routing' />
983048Samaguire	</property_group>
993048Samaguire
1003048Samaguire	<!-- Properties in this group are used by routeadm (1M) -->
1013048Samaguire	<property_group name='routeadm' type='application'>
1023048Samaguire		<stability value='Unstable' />
1033048Samaguire		<!-- Identifies service as a routing service -->
1043048Samaguire		<propval name='protocol' type='astring' value='ipv6' />
1053048Samaguire		<propval name='daemon' type='astring'
1063048Samaguire			value='/usr/lib/inet/in.ripngd' />
1073048Samaguire		<propval name='value_authorization' type='astring'
1083048Samaguire			value='solaris.smf.value.routing' />
1093048Samaguire	</property_group>
1103048Samaguire
1113048Samaguire	<!-- Properties in this group are modifiable via routeadm (1M) -->
1123048Samaguire	<property_group name='routing' type='application'>
1133048Samaguire		<stability value='Evolving' />
1143048Samaguire
115*3541Samaguire		<!-- Equivalent to -s option if true -->
1163048Samaguire		<propval name='supply_routes' type='boolean' value='true' />
1173048Samaguire
118*3541Samaguire		<!-- Equivalent to -q option if true -->
119*3541Samaguire		<propval name='quiet_mode'  type='boolean' value='false' />
120*3541Samaguire
1213048Samaguire		<!-- Equivalent to -p port option -->
1223048Samaguire		<propval name='udp_port' type='integer' value='521' />
1233048Samaguire
1243048Samaguire		<!-- Equivalent to -P option if false -->
1253048Samaguire		<propval name='poison_reverse' type='boolean' value='true' />
1263048Samaguire
1273048Samaguire		<!-- Equivalent to -v option if true -->
1283048Samaguire		<propval name='verbose' type='boolean' value='false' />
1293048Samaguire
1303048Samaguire		<!-- Equivalent to optional logging file -->
1313048Samaguire		<propval name='log_file' type='astring' value='' />
1323048Samaguire
1333048Samaguire		<propval name='value_authorization' type='astring'
1343048Samaguire			value='solaris.smf.value.routing' />
1353048Samaguire	</property_group>
1363048Samaguire
1373048Samaguire	<template>
1383048Samaguire		<common_name>
1393048Samaguire			<loctext xml:lang='C'>
1403048Samaguire				in.ripngd network routing daemon
1413048Samaguire			</loctext>
1423048Samaguire		</common_name>
1433048Samaguire		<documentation>
1443048Samaguire			<manpage title='in.ripngd' section='1M'
1453048Samaguire				manpath='/usr/share/man' />
1463048Samaguire		</documentation>
1473048Samaguire	</template>
1483048Samaguire	</instance>
1493048Samaguire	<stability value='Unstable' />
1503048Samaguire</service>
1513048Samaguire
1523048Samaguire</service_bundle>
153