xref: /titanic_41/usr/src/cmd/cmd-inet/usr.lib/mdnsd/multicast.xml (revision eb1a34638eba7c5add1421327f3eb225a8ea7518)
14b22b933Srs200217<?xml version="1.0"?>
24b22b933Srs200217<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
34b22b933Srs200217<!--
4*eb1a3463STruong Nguyen Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
54b22b933Srs200217 Use is subject to license terms.
64b22b933Srs200217
74b22b933Srs200217 CDDL HEADER START
84b22b933Srs200217
94b22b933Srs200217 The contents of this file are subject to the terms of the
104b22b933Srs200217 Common Development and Distribution License (the "License").
114b22b933Srs200217 You may not use this file except in compliance with the License.
124b22b933Srs200217
134b22b933Srs200217 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
144b22b933Srs200217 or http://www.opensolaris.org/os/licensing.
154b22b933Srs200217 See the License for the specific language governing permissions
164b22b933Srs200217 and limitations under the License.
174b22b933Srs200217
184b22b933Srs200217 When distributing Covered Code, include this CDDL HEADER in each
194b22b933Srs200217 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
204b22b933Srs200217 If applicable, add the following below this CDDL HEADER, with the
214b22b933Srs200217 fields enclosed by brackets "[]" replaced with your own identifying
224b22b933Srs200217 information: Portions Copyright [yyyy] [name of copyright owner]
234b22b933Srs200217
244b22b933Srs200217 CDDL HEADER END
254b22b933Srs200217
264b22b933Srs200217    NOTE:  This service manifest is not editable; its contents will
274b22b933Srs200217    be overwritten by package or patch operations, including
284b22b933Srs200217    operating system upgrade.  Make customizations in a different
294b22b933Srs200217    file.
304b22b933Srs200217
314b22b933Srs200217-->
324b22b933Srs200217
334b22b933Srs200217<service_bundle type='manifest' name='SUNWdsdr:multicast'>
344b22b933Srs200217
354b22b933Srs200217<service
364b22b933Srs200217	name='network/dns/multicast'
374b22b933Srs200217	type='service'
384b22b933Srs200217	version='1'>
394b22b933Srs200217
404b22b933Srs200217	<dependency
414b22b933Srs200217		name='loopback'
424b22b933Srs200217		grouping='require_all'
434b22b933Srs200217		restart_on='none'
444b22b933Srs200217		type='service'>
454b22b933Srs200217		<service_fmri value='svc:/network/loopback' />
464b22b933Srs200217	</dependency>
474b22b933Srs200217
484b22b933Srs200217	<dependency name='net-physical'
494b22b933Srs200217		grouping='require_all'
504b22b933Srs200217		restart_on='none'
514b22b933Srs200217		type='service'>
524b22b933Srs200217		<service_fmri value='svc:/network/physical' />
534b22b933Srs200217	</dependency>
544b22b933Srs200217
554b22b933Srs200217	<dependency
564b22b933Srs200217	    name='identity'
574b22b933Srs200217	    grouping='optional_all'
584b22b933Srs200217	    restart_on='refresh'
594b22b933Srs200217	    type='service'>
604b22b933Srs200217		<service_fmri value='svc:/system/identity:node' />
614b22b933Srs200217	</dependency>
624b22b933Srs200217
634b22b933Srs200217	<dependency
644b22b933Srs200217	    name='system-log'
654b22b933Srs200217	    grouping='optional_all'
664b22b933Srs200217	    restart_on='none'
674b22b933Srs200217	    type='service'>
684b22b933Srs200217		<service_fmri value='svc:/system/system-log' />
694b22b933Srs200217	</dependency>
704b22b933Srs200217
714b22b933Srs200217	<instance name='default' enabled='false' >
724b22b933Srs200217
734b22b933Srs200217		<exec_method
744b22b933Srs200217		    type='method'
754b22b933Srs200217		    name='start'
764b22b933Srs200217		    exec='/usr/lib/inet/mdnsd'
774b22b933Srs200217		    timeout_seconds='60'>
784b22b933Srs200217		    <method_context>
794b22b933Srs200217			    <method_credential user='root' group='root' />
804b22b933Srs200217		    </method_context>
814b22b933Srs200217		</exec_method>
824b22b933Srs200217
834b22b933Srs200217		<exec_method
844b22b933Srs200217		    type='method'
854b22b933Srs200217		    name='stop'
864b22b933Srs200217		    exec=':kill'
874b22b933Srs200217		    timeout_seconds='60' />
884b22b933Srs200217
894b22b933Srs200217		<!-- to start stop mdns service -->
904b22b933Srs200217		<property_group name='general' type='framework'>
914b22b933Srs200217			<propval name='action_authorization' type='astring'
924b22b933Srs200217				value='solaris.smf.manage.mdns' />
934b22b933Srs200217			<propval name='value_authorization' type='astring'
944b22b933Srs200217				value='solaris.smf.manage.mdns' />
954b22b933Srs200217		</property_group>
964b22b933Srs200217
974b22b933Srs200217		<!-- Properties in this group are used by nss_mdns module -->
984b22b933Srs200217		<property_group name='nss_mdns_config' type='application'>
994b22b933Srs200217			<stability value='Unstable' />
1004b22b933Srs200217
1014b22b933Srs200217			<!-- mDNS domain search property list. Users must
1024b22b933Srs200217			     explicitly add mDNS search option values and
1034b22b933Srs200217			     none are provided here by default.
1044b22b933Srs200217			     <property name='search' type='astring'>
1054b22b933Srs200217				<astring_list>
1064b22b933Srs200217					<value_node value='local'/>
1074b22b933Srs200217				</astring_list>
1084b22b933Srs200217			     </property>
1094b22b933Srs200217			-->
1104b22b933Srs200217			<property name='domain' type='astring'>
1114b22b933Srs200217				<astring_list>
1124b22b933Srs200217					<value_node value='local'/>
1134b22b933Srs200217					<value_node value='254.169.in-addr.arpa'/>
1144b22b933Srs200217					<value_node value='8.e.f.ip6.arpa'/>
1154b22b933Srs200217					<value_node value='9.e.f.ip6.arpa'/>
1164b22b933Srs200217					<value_node value='a.e.f.ip6.arpa'/>
1174b22b933Srs200217					<value_node value='b.e.f.ip6.arpa'/>
1184b22b933Srs200217				</astring_list>
1194b22b933Srs200217			</property>
1204b22b933Srs200217			<propval name='value_authorization' type='astring'
1214b22b933Srs200217				value='solaris.smf.value.mdns' />
1224b22b933Srs200217		</property_group>
1234b22b933Srs200217
124*eb1a3463STruong Nguyen		<property_group name='firewall_context' type='com.sun,fw_definition'>
125*eb1a3463STruong Nguyen			<propval name='name' type='astring' value='mdns' />
126*eb1a3463STruong Nguyen		</property_group>
127*eb1a3463STruong Nguyen
128*eb1a3463STruong Nguyen		<property_group name='firewall_config' type='com.sun,fw_configuration'>
129*eb1a3463STruong Nguyen			<propval name='policy' type='astring' value='use_global' />
130*eb1a3463STruong Nguyen			<propval name='apply_to' type='astring' value='' />
131*eb1a3463STruong Nguyen			<propval name='exceptions' type='astring' value='' />
132*eb1a3463STruong Nguyen			<propval name='value_authorization' type='astring'
133*eb1a3463STruong Nguyen			    value='solaris.smf.value.firewall.config' />
134*eb1a3463STruong Nguyen		</property_group>
135*eb1a3463STruong Nguyen
1364b22b933Srs200217	</instance>
1374b22b933Srs200217
1384b22b933Srs200217        <stability value='Unstable' />
1394b22b933Srs200217
1404b22b933Srs200217	<template>
1414b22b933Srs200217
1424b22b933Srs200217	<common_name>
1434b22b933Srs200217		<loctext xml:lang='C'>DNS Service Discovery and Multicast DNS
1444b22b933Srs200217		</loctext>
1454b22b933Srs200217	</common_name>
1464b22b933Srs200217	<documentation>
1474b22b933Srs200217		<manpage title='mdnsd' section='1M' />
1484b22b933Srs200217		<doc_link name='Service Discovery OpenSolaris Project Page'
1494b22b933Srs200217		uri="http://opensolaris.org/os/project/nwam/service-discovery/"/>
1504b22b933Srs200217	</documentation>
1514b22b933Srs200217
1524b22b933Srs200217	</template>
1534b22b933Srs200217</service>
1544b22b933Srs200217
1554b22b933Srs200217</service_bundle>
156