xref: /onnv-gate/usr/src/cmd/xvm/ipagent/ipagent.xml (revision 10175:dd9708d1f561)
17423SRussell.Blaine@Sun.COM<?xml version="1.0"?>
27423SRussell.Blaine@Sun.COM<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
37423SRussell.Blaine@Sun.COM<!--
4*10175SStuart.Maybee@Sun.COM Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
57423SRussell.Blaine@Sun.COM Use is subject to license terms.
67423SRussell.Blaine@Sun.COM
77423SRussell.Blaine@Sun.COM CDDL HEADER START
87423SRussell.Blaine@Sun.COM
97423SRussell.Blaine@Sun.COM The contents of this file are subject to the terms of the
107423SRussell.Blaine@Sun.COM Common Development and Distribution License (the "License").
117423SRussell.Blaine@Sun.COM You may not use this file except in compliance with the License.
127423SRussell.Blaine@Sun.COM
137423SRussell.Blaine@Sun.COM You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
147423SRussell.Blaine@Sun.COM or http://www.opensolaris.org/os/licensing.
157423SRussell.Blaine@Sun.COM See the License for the specific language governing permissions
167423SRussell.Blaine@Sun.COM and limitations under the License.
177423SRussell.Blaine@Sun.COM
187423SRussell.Blaine@Sun.COM When distributing Covered Code, include this CDDL HEADER in each
197423SRussell.Blaine@Sun.COM file and include the License file at usr/src/OPENSOLARIS.LICENSE.
207423SRussell.Blaine@Sun.COM If applicable, add the following below this CDDL HEADER, with the
217423SRussell.Blaine@Sun.COM fields enclosed by brackets "[]" replaced with your own identifying
227423SRussell.Blaine@Sun.COM information: Portions Copyright [yyyy] [name of copyright owner]
237423SRussell.Blaine@Sun.COM
247423SRussell.Blaine@Sun.COM CDDL HEADER END
257423SRussell.Blaine@Sun.COM
267423SRussell.Blaine@Sun.COM    NOTE:  This service manifest is not editable; its contents will
277423SRussell.Blaine@Sun.COM    be overwritten by package or patch operations, including
287423SRussell.Blaine@Sun.COM    operating system upgrade.  Make customizations in a different
297423SRussell.Blaine@Sun.COM    file.
307423SRussell.Blaine@Sun.COM-->
317423SRussell.Blaine@Sun.COM
327423SRussell.Blaine@Sun.COM<service_bundle type='manifest' name='SUNWxvmdom:ipagent'>
337423SRussell.Blaine@Sun.COM
347423SRussell.Blaine@Sun.COM<service
357423SRussell.Blaine@Sun.COM        name='system/xvm/ipagent' type='service' version='1'>
367423SRussell.Blaine@Sun.COM	<create_default_instance enabled='false'/>
377423SRussell.Blaine@Sun.COM        <single_instance />
387423SRussell.Blaine@Sun.COM
39*10175SStuart.Maybee@Sun.COM	<dependency
40*10175SStuart.Maybee@Sun.COM		name='local'
41*10175SStuart.Maybee@Sun.COM		type='service'
42*10175SStuart.Maybee@Sun.COM		grouping='require_all'
43*10175SStuart.Maybee@Sun.COM		restart_on='none'>
44*10175SStuart.Maybee@Sun.COM		<service_fmri value='svc:/system/filesystem/local' />
45*10175SStuart.Maybee@Sun.COM	</dependency>
46*10175SStuart.Maybee@Sun.COM
477423SRussell.Blaine@Sun.COM        <exec_method
487423SRussell.Blaine@Sun.COM                type='method'
497423SRussell.Blaine@Sun.COM                name='start'
507423SRussell.Blaine@Sun.COM                exec='/lib/svc/method/svc-ipagent %m %{config/report_interval}'
517423SRussell.Blaine@Sun.COM                timeout_seconds='60'>
527423SRussell.Blaine@Sun.COM                <method_context>
537423SRussell.Blaine@Sun.COM                        <method_credential user='root' />
547423SRussell.Blaine@Sun.COM                </method_context>
557423SRussell.Blaine@Sun.COM        </exec_method>
567423SRussell.Blaine@Sun.COM
577423SRussell.Blaine@Sun.COM        <exec_method
587423SRussell.Blaine@Sun.COM                type='method'
597423SRussell.Blaine@Sun.COM                name='stop'
607423SRussell.Blaine@Sun.COM                exec=':kill'
617423SRussell.Blaine@Sun.COM                timeout_seconds='60' />
627423SRussell.Blaine@Sun.COM
637423SRussell.Blaine@Sun.COM        <property_group name='config' type='application'>
647423SRussell.Blaine@Sun.COM		<stability value='Unstable' />
657423SRussell.Blaine@Sun.COM                <propval name='report_interval' type='integer' value='60' />
667423SRussell.Blaine@Sun.COM        </property_group>
677423SRussell.Blaine@Sun.COM
687423SRussell.Blaine@Sun.COM        <stability value='Unstable' />
697423SRussell.Blaine@Sun.COM
707423SRussell.Blaine@Sun.COM        <template>
717423SRussell.Blaine@Sun.COM                <common_name>
727423SRussell.Blaine@Sun.COM                        <loctext xml:lang='C'>
737423SRussell.Blaine@Sun.COM                        xVM PV domU IP address reporting agent
747423SRussell.Blaine@Sun.COM                        </loctext>
757423SRussell.Blaine@Sun.COM                </common_name>
767423SRussell.Blaine@Sun.COM                <documentation>
777423SRussell.Blaine@Sun.COM                        <manpage title='xVM' section='5'
787423SRussell.Blaine@Sun.COM                             manpath='/usr/share/man' />
797423SRussell.Blaine@Sun.COM                </documentation>
807423SRussell.Blaine@Sun.COM        </template>
817423SRussell.Blaine@Sun.COM</service>
827423SRussell.Blaine@Sun.COM
837423SRussell.Blaine@Sun.COM</service_bundle>
84