1a192e900Samaguire<?xml version="1.0"?>
2a192e900Samaguire<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3a192e900Samaguire<!--
4d04ccbb3Scarlsonj Copyright 2007 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
32ceb97a6aSamaguire<service_bundle type='manifest' name='SUNWroutr:ndp'>
33a192e900Samaguire
34a192e900Samaguire<service
35a192e900Samaguire	name='network/routing/ndp'
36a192e900Samaguire	type='service'
37a192e900Samaguire	version='1'>
38a192e900Samaguire
39a192e900Samaguire	<single_instance />
40a192e900Samaguire
41a192e900Samaguire	<instance name='default' enabled='false' >
42a192e900Samaguire
43a192e900Samaguire	<dependency
44a192e900Samaguire		name='network_routing_setup'
45a192e900Samaguire		grouping='require_all'
46a192e900Samaguire		restart_on='refresh'
47a192e900Samaguire		type='service'>
48a192e900Samaguire		<service_fmri value='svc:/network/routing-setup' />
49a192e900Samaguire	</dependency>
50a192e900Samaguire
51a192e900Samaguire	<exec_method
52a192e900Samaguire		type='method'
53a192e900Samaguire		name='start'
54a192e900Samaguire		exec='/lib/svc/method/svc-ndp'
55a192e900Samaguire		timeout_seconds='60'>
56a192e900Samaguire		<method_context>
57d04ccbb3Scarlsonj			<method_credential user='root' group='root' />
58a192e900Samaguire		</method_context>
59a192e900Samaguire	</exec_method>
60a192e900Samaguire
61a192e900Samaguire	<exec_method
62a192e900Samaguire		type='method'
63a192e900Samaguire		name='stop'
64a192e900Samaguire		exec=':kill'
65a192e900Samaguire		timeout_seconds='60'>
66a192e900Samaguire		<method_context>
67a192e900Samaguire			<method_credential user='root' group='root'/>
68a192e900Samaguire		</method_context>
69a192e900Samaguire	</exec_method>
70a192e900Samaguire
71a192e900Samaguire	<!-- to start stop routing services -->
72a192e900Samaguire	<property_group name='general' type='framework'>
73a192e900Samaguire		<propval name='action_authorization' type='astring'
74a192e900Samaguire			value='solaris.smf.manage.routing' />
75a192e900Samaguire		<propval name='value_authorization' type='astring'
76a192e900Samaguire			value='solaris.smf.manage.routing' />
77a192e900Samaguire	</property_group>
78a192e900Samaguire
79*bbf21555SRichard Lowe	<!-- Properties in this group are used by routeadm(8) -->
80a192e900Samaguire	<property_group name='routeadm' type='application'>
81a192e900Samaguire		<stability value='Unstable' />
82ceb97a6aSamaguire		<!--
83ceb97a6aSamaguire			Having the protocol property here ensures that ndp
84ceb97a6aSamaguire			appears in the SMF service listing, but does not
85ceb97a6aSamaguire			participate in dictating ipv6-routing state (as it
86ceb97a6aSamaguire			would if it were set to "ipv6"). If it
87ceb97a6aSamaguire			did, ipv6-routing would always be reported as enabled,
88ceb97a6aSamaguire			since if any IPv6 interfaces are present, ndp will
89ceb97a6aSamaguire			be enabled.
90ceb97a6aSamaguire		-->
91ceb97a6aSamaguire		<propval name='protocol' type='astring' value='ndp' />
92a192e900Samaguire		<propval name='value_authorization' type='astring'
93a192e900Samaguire			value='solaris.smf.value.routing' />
94a192e900Samaguire	</property_group>
95a192e900Samaguire
96a192e900Samaguire
97*bbf21555SRichard Lowe	<!-- Properties in this group are modifiable via routeadm(8) -->
98a192e900Samaguire	<property_group name='routing' type='application'>
99a192e900Samaguire		<stability value='Evolving' />
100a192e900Samaguire
101a192e900Samaguire		<!-- equivalent to -a option if false -->
102a192e900Samaguire		<propval name='stateless_addr_conf' type='boolean'
103a192e900Samaguire		    value='true' />
104a192e900Samaguire
105a192e900Samaguire		<!-- equivalent to -d option if true -->
106a192e900Samaguire		<propval name='debug' type='boolean' value='false' />
107a192e900Samaguire
108a192e900Samaguire		<!-- equivalent to -f config_file option if set -->
109a192e900Samaguire		<propval name='config_file' type='astring' value='' />
110a192e900Samaguire
111a192e900Samaguire		<propval name='value_authorization' type='astring'
112a192e900Samaguire			value='solaris.smf.value.routing' />
113a192e900Samaguire	</property_group>
114a192e900Samaguire
115a192e900Samaguire	<template>
116a192e900Samaguire		<common_name>
117a192e900Samaguire			<loctext xml:lang='C'>
118a192e900Samaguire				in.ndpd IPv6 neighbour discovery daemon
119a192e900Samaguire			</loctext>
120a192e900Samaguire		</common_name>
121a192e900Samaguire		<documentation>
122*bbf21555SRichard Lowe			<manpage title='in.ndpd' section='8'
123a192e900Samaguire				manpath='/usr/share/man' />
124a192e900Samaguire		</documentation>
125a192e900Samaguire	</template>
126a192e900Samaguire	</instance>
127a192e900Samaguire	<stability value='Unstable' />
128a192e900Samaguire</service>
129a192e900Samaguire
130a192e900Samaguire</service_bundle>
131