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