xref: /titanic_41/usr/src/cmd/svc/milestone/network-netmask.xml (revision 6ba597c56d749c61b4f783157f63196d7b2445f0)
1<?xml version="1.0"?>
2<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3<!--
4 Copyright 2010 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
32<service_bundle type='manifest' name='SUNWcsr:network-netmask'>
33
34<!--
35  network/netmask service resets the netmask and broadcast address
36  whenever new information is available from NIS.
37-->
38
39<service
40	name='network/netmask'
41	type='service'
42	version='1'>
43
44	<create_default_instance enabled='true' />
45
46	<dependency
47		name='init'
48		grouping='optional_all'
49		restart_on='none'
50		type='service'>
51		<service_fmri value='svc:/network/initial' />
52	</dependency>
53
54	<dependency
55		name='nisplus'
56		grouping='optional_all'
57		restart_on='none'
58		type='service'>
59		<service_fmri value='svc:/network/rpc/nisplus' />
60	</dependency>
61
62	<dependency
63		name='nis_server'
64		grouping='optional_all'
65		restart_on='none'
66		type='service'>
67		<service_fmri value='svc:/network/nis/server' />
68	</dependency>
69
70	<dependency
71		name='nis_client'
72		grouping='optional_all'
73		restart_on='none'
74		type='service'>
75		<service_fmri value='svc:/network/nis/client' />
76	</dependency>
77
78	<exec_method
79		type='method'
80		name='start'
81		exec='/lib/svc/method/net-netmask'
82		timeout_seconds='600' />
83
84	<exec_method
85		type='method'
86		name='stop'
87		exec=':true'
88		timeout_seconds='3' />
89
90	<property_group name='startd' type='framework'>
91		<propval name='duration' type='astring' value='transient' />
92	</property_group>
93
94	<stability value='Unstable' />
95
96	<template>
97		<common_name>
98			<loctext xml:lang='C'>
99				Reset the netmask and broadcast address
100			</loctext>
101		</common_name>
102		<description>
103			<loctext xml:lang='C'>
104				Resetting of the netmask and broadcast
105				address whenever new information is
106				available from NIS.
107			</loctext>
108		</description>
109		<documentation>
110			<manpage title='ifconfig' section='1M'
111				manpath='/usr/share/man' />
112		</documentation>
113	</template>
114</service>
115
116</service_bundle>
117