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