xref: /titanic_50/usr/src/cmd/cmd-inet/usr.lib/mdnsd/multicast.xml (revision ff3124eff995e6cd8ebd8c6543648e0670920034)
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    NOTE:  This service manifest is not editable; its contents will
27    be overwritten by package or patch operations, including
28    operating system upgrade.  Make customizations in a different
29    file.
30
31#ident	"%Z%%M%	%I%	%E% SMI"
32-->
33
34<service_bundle type='manifest' name='SUNWdsdr:multicast'>
35
36<service
37	name='network/dns/multicast'
38	type='service'
39	version='1'>
40
41	<dependency
42		name='loopback'
43		grouping='require_all'
44		restart_on='none'
45		type='service'>
46		<service_fmri value='svc:/network/loopback' />
47	</dependency>
48
49	<dependency name='net-physical'
50		grouping='require_all'
51		restart_on='none'
52		type='service'>
53		<service_fmri value='svc:/network/physical' />
54	</dependency>
55
56	<dependency
57	    name='identity'
58	    grouping='optional_all'
59	    restart_on='refresh'
60	    type='service'>
61		<service_fmri value='svc:/system/identity:node' />
62	</dependency>
63
64	<dependency
65	    name='system-log'
66	    grouping='optional_all'
67	    restart_on='none'
68	    type='service'>
69		<service_fmri value='svc:/system/system-log' />
70	</dependency>
71
72	<instance name='default' enabled='false' >
73
74		<exec_method
75		    type='method'
76		    name='start'
77		    exec='/usr/lib/inet/mdnsd'
78		    timeout_seconds='60'>
79		    <method_context>
80			    <method_credential user='root' group='root' />
81		    </method_context>
82		</exec_method>
83
84		<exec_method
85		    type='method'
86		    name='stop'
87		    exec=':kill'
88		    timeout_seconds='60' />
89
90		<!-- to start stop mdns service -->
91		<property_group name='general' type='framework'>
92			<propval name='action_authorization' type='astring'
93				value='solaris.smf.manage.mdns' />
94			<propval name='value_authorization' type='astring'
95				value='solaris.smf.manage.mdns' />
96		</property_group>
97
98		<!-- Properties in this group are used by nss_mdns module -->
99		<property_group name='nss_mdns_config' type='application'>
100			<stability value='Unstable' />
101
102			<!-- mDNS domain search property list. Users must
103			     explicitly add mDNS search option values and
104			     none are provided here by default.
105			     <property name='search' type='astring'>
106				<astring_list>
107					<value_node value='local'/>
108				</astring_list>
109			     </property>
110			-->
111			<property name='domain' type='astring'>
112				<astring_list>
113					<value_node value='local'/>
114					<value_node value='254.169.in-addr.arpa'/>
115					<value_node value='8.e.f.ip6.arpa'/>
116					<value_node value='9.e.f.ip6.arpa'/>
117					<value_node value='a.e.f.ip6.arpa'/>
118					<value_node value='b.e.f.ip6.arpa'/>
119				</astring_list>
120			</property>
121			<propval name='value_authorization' type='astring'
122				value='solaris.smf.value.mdns' />
123		</property_group>
124
125	</instance>
126
127        <stability value='Unstable' />
128
129	<template>
130
131	<common_name>
132		<loctext xml:lang='C'>DNS Service Discovery and Multicast DNS
133		</loctext>
134	</common_name>
135	<documentation>
136		<manpage title='mdnsd' section='1M' />
137		<doc_link name='Service Discovery OpenSolaris Project Page'
138		uri="http://opensolaris.org/os/project/nwam/service-discovery/"/>
139	</documentation>
140
141	</template>
142</service>
143
144</service_bundle>
145