xref: /titanic_52/usr/src/cmd/svc/milestone/network-netcfg.xml (revision 6ba597c56d749c61b4f783157f63196d7b2445f0)
1*6ba597c5SAnurag S. Maskey<?xml version="1.0"?>
2*6ba597c5SAnurag S. Maskey<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3*6ba597c5SAnurag S. Maskey<!--
4*6ba597c5SAnurag S. Maskey Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
5*6ba597c5SAnurag S. Maskey Use is subject to license terms.
6*6ba597c5SAnurag S. Maskey
7*6ba597c5SAnurag S. Maskey CDDL HEADER START
8*6ba597c5SAnurag S. Maskey
9*6ba597c5SAnurag S. Maskey The contents of this file are subject to the terms of the
10*6ba597c5SAnurag S. Maskey Common Development and Distribution License (the "License").
11*6ba597c5SAnurag S. Maskey You may not use this file except in compliance with the License.
12*6ba597c5SAnurag S. Maskey
13*6ba597c5SAnurag S. Maskey You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14*6ba597c5SAnurag S. Maskey or http://www.opensolaris.org/os/licensing.
15*6ba597c5SAnurag S. Maskey See the License for the specific language governing permissions
16*6ba597c5SAnurag S. Maskey and limitations under the License.
17*6ba597c5SAnurag S. Maskey
18*6ba597c5SAnurag S. Maskey When distributing Covered Code, include this CDDL HEADER in each
19*6ba597c5SAnurag S. Maskey file and include the License file at usr/src/OPENSOLARIS.LICENSE.
20*6ba597c5SAnurag S. Maskey If applicable, add the following below this CDDL HEADER, with the
21*6ba597c5SAnurag S. Maskey fields enclosed by brackets "[]" replaced with your own identifying
22*6ba597c5SAnurag S. Maskey information: Portions Copyright [yyyy] [name of copyright owner]
23*6ba597c5SAnurag S. Maskey
24*6ba597c5SAnurag S. Maskey CDDL HEADER END
25*6ba597c5SAnurag S. Maskey
26*6ba597c5SAnurag S. Maskey	NOTE:  This service manifest is not editable; its contents will
27*6ba597c5SAnurag S. Maskey	be overwritten by package or patch operations, including
28*6ba597c5SAnurag S. Maskey	operating system upgrade.  Make customizations in a different
29*6ba597c5SAnurag S. Maskey	file.
30*6ba597c5SAnurag S. Maskey-->
31*6ba597c5SAnurag S. Maskey
32*6ba597c5SAnurag S. Maskey<service_bundle type='manifest' name='SUNWcsr:network-netcfg'>
33*6ba597c5SAnurag S. Maskey
34*6ba597c5SAnurag S. Maskey<service
35*6ba597c5SAnurag S. Maskey	name='network/netcfg'
36*6ba597c5SAnurag S. Maskey	type='service'
37*6ba597c5SAnurag S. Maskey	version='1'>
38*6ba597c5SAnurag S. Maskey
39*6ba597c5SAnurag S. Maskey	<create_default_instance enabled='true' />
40*6ba597c5SAnurag S. Maskey
41*6ba597c5SAnurag S. Maskey	<single_instance />
42*6ba597c5SAnurag S. Maskey
43*6ba597c5SAnurag S. Maskey	<!--
44*6ba597c5SAnurag S. Maskey		NWAM requires netcfgd to retrieve config data, as does the
45*6ba597c5SAnurag S. Maskey		location service.
46*6ba597c5SAnurag S. Maskey	-->
47*6ba597c5SAnurag S. Maskey	<dependent
48*6ba597c5SAnurag S. Maskey		name='nwam_netcfg'
49*6ba597c5SAnurag S. Maskey		grouping='require_all'
50*6ba597c5SAnurag S. Maskey		restart_on='none'>
51*6ba597c5SAnurag S. Maskey		<service_fmri value='svc:/network/physical:nwam' />
52*6ba597c5SAnurag S. Maskey	</dependent>
53*6ba597c5SAnurag S. Maskey
54*6ba597c5SAnurag S. Maskey	<exec_method
55*6ba597c5SAnurag S. Maskey		type='method'
56*6ba597c5SAnurag S. Maskey		name='start'
57*6ba597c5SAnurag S. Maskey		exec='/lib/inet/netcfgd'
58*6ba597c5SAnurag S. Maskey		timeout_seconds='600' >
59*6ba597c5SAnurag S. Maskey		<method_context>
60*6ba597c5SAnurag S. Maskey			<method_credential user='netcfg' group='netadm'
61*6ba597c5SAnurag S. Maskey				privileges='zone'/>
62*6ba597c5SAnurag S. Maskey		</method_context>
63*6ba597c5SAnurag S. Maskey	</exec_method>
64*6ba597c5SAnurag S. Maskey
65*6ba597c5SAnurag S. Maskey	<exec_method
66*6ba597c5SAnurag S. Maskey		type='method'
67*6ba597c5SAnurag S. Maskey		name='stop'
68*6ba597c5SAnurag S. Maskey		exec=':kill'
69*6ba597c5SAnurag S. Maskey		timeout_seconds='3' >
70*6ba597c5SAnurag S. Maskey		<method_context>
71*6ba597c5SAnurag S. Maskey			<method_credential user='netcfg' group='netadm'
72*6ba597c5SAnurag S. Maskey				privileges='zone' />
73*6ba597c5SAnurag S. Maskey		</method_context>
74*6ba597c5SAnurag S. Maskey	</exec_method>
75*6ba597c5SAnurag S. Maskey
76*6ba597c5SAnurag S. Maskey	<exec_method
77*6ba597c5SAnurag S. Maskey		type='method'
78*6ba597c5SAnurag S. Maskey		name='refresh'
79*6ba597c5SAnurag S. Maskey		exec=':true'
80*6ba597c5SAnurag S. Maskey		timeout_seconds='60' >
81*6ba597c5SAnurag S. Maskey	</exec_method>
82*6ba597c5SAnurag S. Maskey
83*6ba597c5SAnurag S. Maskey	<property_group name='netcfgd' type='application' >
84*6ba597c5SAnurag S. Maskey		<propval name='debug' type='boolean' value='false' />
85*6ba597c5SAnurag S. Maskey	</property_group>
86*6ba597c5SAnurag S. Maskey
87*6ba597c5SAnurag S. Maskey	<stability value='Unstable' />
88*6ba597c5SAnurag S. Maskey
89*6ba597c5SAnurag S. Maskey	<template>
90*6ba597c5SAnurag S. Maskey		<common_name>
91*6ba597c5SAnurag S. Maskey			<loctext xml:lang='C'>
92*6ba597c5SAnurag S. Maskey				Network configuration data management
93*6ba597c5SAnurag S. Maskey			</loctext>
94*6ba597c5SAnurag S. Maskey		</common_name>
95*6ba597c5SAnurag S. Maskey		<documentation>
96*6ba597c5SAnurag S. Maskey			<manpage title='netcfgd' section='1M'
97*6ba597c5SAnurag S. Maskey				manpath='/usr/share/man' />
98*6ba597c5SAnurag S. Maskey		</documentation>
99*6ba597c5SAnurag S. Maskey	</template>
100*6ba597c5SAnurag S. Maskey
101*6ba597c5SAnurag S. Maskey</service>
102*6ba597c5SAnurag S. Maskey
103*6ba597c5SAnurag S. Maskey</service_bundle>
104