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