xref: /titanic_52/usr/src/cmd/svc/milestone/network-iptun.xml (revision 2cd7c447890e4fe78b7beb498903440e9122ee80)
12b24ab6bSSebastien Roy<?xml version="1.0"?>
22b24ab6bSSebastien Roy<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
32b24ab6bSSebastien Roy<!--
42b24ab6bSSebastien Roy Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
52b24ab6bSSebastien Roy Use is subject to license terms.
62b24ab6bSSebastien Roy
72b24ab6bSSebastien Roy CDDL HEADER START
82b24ab6bSSebastien Roy
92b24ab6bSSebastien Roy The contents of this file are subject to the terms of the
102b24ab6bSSebastien Roy Common Development and Distribution License (the "License").
112b24ab6bSSebastien Roy You may not use this file except in compliance with the License.
122b24ab6bSSebastien Roy
132b24ab6bSSebastien Roy You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
142b24ab6bSSebastien Roy or http://www.opensolaris.org/os/licensing.
152b24ab6bSSebastien Roy See the License for the specific language governing permissions
162b24ab6bSSebastien Roy and limitations under the License.
172b24ab6bSSebastien Roy
182b24ab6bSSebastien Roy When distributing Covered Code, include this CDDL HEADER in each
192b24ab6bSSebastien Roy file and include the License file at usr/src/OPENSOLARIS.LICENSE.
202b24ab6bSSebastien Roy If applicable, add the following below this CDDL HEADER, with the
212b24ab6bSSebastien Roy fields enclosed by brackets "[]" replaced with your own identifying
222b24ab6bSSebastien Roy information: Portions Copyright [yyyy] [name of copyright owner]
232b24ab6bSSebastien Roy
242b24ab6bSSebastien Roy CDDL HEADER END
252b24ab6bSSebastien Roy
262b24ab6bSSebastien Roy	NOTE:  This service manifest is not editable; its contents will
272b24ab6bSSebastien Roy	be overwritten by package or patch operations, including
282b24ab6bSSebastien Roy	operating system upgrade.  Make customizations in a different
292b24ab6bSSebastien Roy	file.
302b24ab6bSSebastien Roy-->
312b24ab6bSSebastien Roy
322b24ab6bSSebastien Roy<service_bundle type='manifest' name='SUNWcsr:iptun'>
332b24ab6bSSebastien Roy
342b24ab6bSSebastien Roy<service
352b24ab6bSSebastien Roy	name='network/iptun'
362b24ab6bSSebastien Roy	type='service'
372b24ab6bSSebastien Roy	version='1'>
382b24ab6bSSebastien Roy
392b24ab6bSSebastien Roy	<create_default_instance enabled='true' />
402b24ab6bSSebastien Roy
412b24ab6bSSebastien Roy	<dependency
422b24ab6bSSebastien Roy		name='network'
432b24ab6bSSebastien Roy		grouping='require_all'
442b24ab6bSSebastien Roy		restart_on='none'
452b24ab6bSSebastien Roy		type='service'>
46*2cd7c447SSebastien Roy		<service_fmri value='svc:/network/physical' />
472b24ab6bSSebastien Roy	</dependency>
482b24ab6bSSebastien Roy
492b24ab6bSSebastien Roy	<dependency
502b24ab6bSSebastien Roy		name='ipsecpolicy'
512b24ab6bSSebastien Roy		grouping='optional_all'
522b24ab6bSSebastien Roy		restart_on='none'
532b24ab6bSSebastien Roy		type='service'>
542b24ab6bSSebastien Roy		<service_fmri value='svc:/network/ipsec/policy:default' />
552b24ab6bSSebastien Roy	</dependency>
562b24ab6bSSebastien Roy
572b24ab6bSSebastien Roy	<exec_method
582b24ab6bSSebastien Roy		type='method'
592b24ab6bSSebastien Roy		name='start'
602b24ab6bSSebastien Roy		exec='/lib/svc/method/net-iptun %m'
612b24ab6bSSebastien Roy		timeout_seconds='600' />
622b24ab6bSSebastien Roy
632b24ab6bSSebastien Roy	<exec_method
642b24ab6bSSebastien Roy		type='method'
652b24ab6bSSebastien Roy		name='stop'
662b24ab6bSSebastien Roy		exec='/lib/svc/method/net-iptun %m'
672b24ab6bSSebastien Roy		timeout_seconds='600' />
682b24ab6bSSebastien Roy
692b24ab6bSSebastien Roy	<property_group name='startd' type='framework'>
702b24ab6bSSebastien Roy		<propval name='duration' type='astring' value='transient' />
712b24ab6bSSebastien Roy	</property_group>
722b24ab6bSSebastien Roy
732b24ab6bSSebastien Roy	<stability value='Unstable' />
742b24ab6bSSebastien Roy
752b24ab6bSSebastien Roy	<template>
762b24ab6bSSebastien Roy		<common_name>
772b24ab6bSSebastien Roy			<loctext xml:lang='C'>
782b24ab6bSSebastien Roy				IP tunnel configuration
792b24ab6bSSebastien Roy			</loctext>
802b24ab6bSSebastien Roy		</common_name>
812b24ab6bSSebastien Roy		<description>
822b24ab6bSSebastien Roy			<loctext xml:lang='C'>
832b24ab6bSSebastien Roy				Create IP tunnel links and IP
842b24ab6bSSebastien Roy				interfaces over IP tunnels.
852b24ab6bSSebastien Roy			</loctext>
862b24ab6bSSebastien Roy		</description>
872b24ab6bSSebastien Roy		<documentation>
882b24ab6bSSebastien Roy			<manpage title='dladm' section='1M'
892b24ab6bSSebastien Roy				manpath='/usr/share/man' />
902b24ab6bSSebastien Roy		</documentation>
912b24ab6bSSebastien Roy	</template>
922b24ab6bSSebastien Roy</service>
932b24ab6bSSebastien Roy
942b24ab6bSSebastien Roy</service_bundle>
95