xref: /titanic_51/usr/src/cmd/cmd-inet/usr.lib/bridged/bridge.xml (revision ce0d9371c4da921f289a8bc7fd846d3bf1b8cca7)
1<?xml version="1.0"?>
2<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3<!--
4 Copyright 2009 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	Service manifest for bridging.
32-->
33
34<service_bundle type='manifest' name='SUNWbridge:bridge'>
35
36<service
37	name='network/bridge'
38	type='service'
39	version='1'>
40
41	<dependency
42		name='filesystem'
43		grouping='require_all'
44		restart_on='error'
45		type='service'>
46		<service_fmri value='svc:/system/filesystem/local'/>
47	</dependency>
48
49	<dependency
50		name='datalink'
51		grouping='require_all'
52		restart_on='error'
53		type='service'>
54		<service_fmri value='svc:/network/datalink-management'/>
55	</dependency>
56
57	<exec_method
58		type='method'
59		name='stop'
60		exec=':kill'
61		timeout_seconds='60' >
62	</exec_method>
63
64	<exec_method
65		type='method'
66		name='start'
67		exec='/usr/lib/bridged %i'
68		timeout_seconds='60' >
69	</exec_method>
70
71	<exec_method
72		type='method'
73		name='refresh'
74		exec=':kill -HUP'
75		timeout_seconds='60' >
76	</exec_method>
77
78	<property_group
79	    name='config'
80	    type='application'>
81		<stability value='Evolving' />
82		<propval name='priority' type='count' value='32768' />
83		<propval name='max-age' type='count' value='5120' />
84		<propval name='hello-time' type='count' value='512' />
85		<propval name='forward-delay' type='count' value='3840' />
86		<propval name='force-protocol' type='count' value='3' />
87		<propval name='debug' type='boolean' value='false' />
88		<propval name='table-maximum' type='count' value='10000' />
89	</property_group>
90
91	<stability value='Unstable' />
92
93	<template>
94		<common_name>
95			<loctext xml:lang='C'>bridge</loctext>
96		</common_name>
97		<description>
98			<loctext xml:lang='C'>
99The "bridge" service provides Ethernet bridging and related protocols.
100			</loctext>
101		</description>
102		<documentation>
103			<manpage title='bridged' section='1M'
104				manpath='/usr/share/man' />
105		</documentation>
106	</template>
107</service>
108
109</service_bundle>
110