xref: /titanic_44/usr/src/cmd/xvm/ipagent/ipagent.xml (revision 349b53dd4e695e3d833b5380540385145b2d3ae8)
199ba4d70SRussell Blaine<?xml version="1.0"?>
299ba4d70SRussell Blaine<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
399ba4d70SRussell Blaine<!--
4*349b53ddSStuart Maybee Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
599ba4d70SRussell Blaine Use is subject to license terms.
699ba4d70SRussell Blaine
799ba4d70SRussell Blaine CDDL HEADER START
899ba4d70SRussell Blaine
999ba4d70SRussell Blaine The contents of this file are subject to the terms of the
1099ba4d70SRussell Blaine Common Development and Distribution License (the "License").
1199ba4d70SRussell Blaine You may not use this file except in compliance with the License.
1299ba4d70SRussell Blaine
1399ba4d70SRussell Blaine You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1499ba4d70SRussell Blaine or http://www.opensolaris.org/os/licensing.
1599ba4d70SRussell Blaine See the License for the specific language governing permissions
1699ba4d70SRussell Blaine and limitations under the License.
1799ba4d70SRussell Blaine
1899ba4d70SRussell Blaine When distributing Covered Code, include this CDDL HEADER in each
1999ba4d70SRussell Blaine file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2099ba4d70SRussell Blaine If applicable, add the following below this CDDL HEADER, with the
2199ba4d70SRussell Blaine fields enclosed by brackets "[]" replaced with your own identifying
2299ba4d70SRussell Blaine information: Portions Copyright [yyyy] [name of copyright owner]
2399ba4d70SRussell Blaine
2499ba4d70SRussell Blaine CDDL HEADER END
2599ba4d70SRussell Blaine
2699ba4d70SRussell Blaine    NOTE:  This service manifest is not editable; its contents will
2799ba4d70SRussell Blaine    be overwritten by package or patch operations, including
2899ba4d70SRussell Blaine    operating system upgrade.  Make customizations in a different
2999ba4d70SRussell Blaine    file.
3099ba4d70SRussell Blaine-->
3199ba4d70SRussell Blaine
3299ba4d70SRussell Blaine<service_bundle type='manifest' name='SUNWxvmdom:ipagent'>
3399ba4d70SRussell Blaine
3499ba4d70SRussell Blaine<service
3599ba4d70SRussell Blaine        name='system/xvm/ipagent' type='service' version='1'>
3699ba4d70SRussell Blaine	<create_default_instance enabled='false'/>
3799ba4d70SRussell Blaine        <single_instance />
3899ba4d70SRussell Blaine
39*349b53ddSStuart Maybee	<dependency
40*349b53ddSStuart Maybee		name='local'
41*349b53ddSStuart Maybee		type='service'
42*349b53ddSStuart Maybee		grouping='require_all'
43*349b53ddSStuart Maybee		restart_on='none'>
44*349b53ddSStuart Maybee		<service_fmri value='svc:/system/filesystem/local' />
45*349b53ddSStuart Maybee	</dependency>
46*349b53ddSStuart Maybee
4799ba4d70SRussell Blaine        <exec_method
4899ba4d70SRussell Blaine                type='method'
4999ba4d70SRussell Blaine                name='start'
5099ba4d70SRussell Blaine                exec='/lib/svc/method/svc-ipagent %m %{config/report_interval}'
5199ba4d70SRussell Blaine                timeout_seconds='60'>
5299ba4d70SRussell Blaine                <method_context>
5399ba4d70SRussell Blaine                        <method_credential user='root' />
5499ba4d70SRussell Blaine                </method_context>
5599ba4d70SRussell Blaine        </exec_method>
5699ba4d70SRussell Blaine
5799ba4d70SRussell Blaine        <exec_method
5899ba4d70SRussell Blaine                type='method'
5999ba4d70SRussell Blaine                name='stop'
6099ba4d70SRussell Blaine                exec=':kill'
6199ba4d70SRussell Blaine                timeout_seconds='60' />
6299ba4d70SRussell Blaine
6399ba4d70SRussell Blaine        <property_group name='config' type='application'>
6499ba4d70SRussell Blaine		<stability value='Unstable' />
6599ba4d70SRussell Blaine                <propval name='report_interval' type='integer' value='60' />
6699ba4d70SRussell Blaine        </property_group>
6799ba4d70SRussell Blaine
6899ba4d70SRussell Blaine        <stability value='Unstable' />
6999ba4d70SRussell Blaine
7099ba4d70SRussell Blaine        <template>
7199ba4d70SRussell Blaine                <common_name>
7299ba4d70SRussell Blaine                        <loctext xml:lang='C'>
7399ba4d70SRussell Blaine                        xVM PV domU IP address reporting agent
7499ba4d70SRussell Blaine                        </loctext>
7599ba4d70SRussell Blaine                </common_name>
7699ba4d70SRussell Blaine                <documentation>
7799ba4d70SRussell Blaine                        <manpage title='xVM' section='5'
7899ba4d70SRussell Blaine                             manpath='/usr/share/man' />
7999ba4d70SRussell Blaine                </documentation>
8099ba4d70SRussell Blaine        </template>
8199ba4d70SRussell Blaine</service>
8299ba4d70SRussell Blaine
8399ba4d70SRussell Blaine</service_bundle>
84