xref: /onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/ipsecalgs.xml (revision 4235:037e335b7d68)
1*4235Smarkfen<?xml version="1.0"?>
2*4235Smarkfen<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3*4235Smarkfen<!--
4*4235Smarkfen	Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
5*4235Smarkfen	Use is subject to license terms.
6*4235Smarkfen
7*4235Smarkfen CDDL HEADER START
8*4235Smarkfen
9*4235Smarkfen The contents of this file are subject to the terms of the
10*4235Smarkfen Common Development and Distribution License (the "License").
11*4235Smarkfen You may not use this file except in compliance with the License.
12*4235Smarkfen
13*4235Smarkfen You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14*4235Smarkfen or http://www.opensolaris.org/os/licensing.
15*4235Smarkfen See the License for the specific language governing permissions
16*4235Smarkfen and limitations under the License.
17*4235Smarkfen
18*4235Smarkfen When distributing Covered Code, include this CDDL HEADER in each
19*4235Smarkfen file and include the License file at usr/src/OPENSOLARIS.LICENSE.
20*4235Smarkfen If applicable, add the following below this CDDL HEADER, with the
21*4235Smarkfen fields enclosed by brackets "[]" replaced with your own identifying
22*4235Smarkfen information: Portions Copyright [yyyy] [name of copyright owner]
23*4235Smarkfen
24*4235Smarkfen CDDL HEADER END
25*4235Smarkfen
26*4235Smarkfen	ident	"%Z%%M%	%I%	%E% SMI"
27*4235Smarkfen
28*4235Smarkfen	NOTE:  This service manifest is not editable; its contents will
29*4235Smarkfen	be overwritten by package or patch operations, including
30*4235Smarkfen	operating system upgrade.  Make customizations in a different
31*4235Smarkfen	file.
32*4235Smarkfen-->
33*4235Smarkfen<service_bundle type='manifest' name='SUNWcsr:ipsecalgs'>
34*4235Smarkfen
35*4235Smarkfen<service
36*4235Smarkfen	name='network/ipsec/ipsecalgs'
37*4235Smarkfen	type='service'
38*4235Smarkfen	version='1'>
39*4235Smarkfen
40*4235Smarkfen	<!-- The policy service depends on the 'ipsecalgs'
41*4235Smarkfen	service being enabled. -->
42*4235Smarkfen	<create_default_instance enabled='true' />
43*4235Smarkfen
44*4235Smarkfen	<single_instance />
45*4235Smarkfen
46*4235Smarkfen	<dependency
47*4235Smarkfen		name='cryptosvc'
48*4235Smarkfen		grouping='require_all'
49*4235Smarkfen		restart_on='none'
50*4235Smarkfen		type='service'>
51*4235Smarkfen		<service_fmri value='svc:/system/cryptosvc' />
52*4235Smarkfen	</dependency>
53*4235Smarkfen
54*4235Smarkfen        <dependency
55*4235Smarkfen                name='config_data'
56*4235Smarkfen                grouping='require_all'
57*4235Smarkfen                type='path'
58*4235Smarkfen		restart_on='none'>
59*4235Smarkfen                <service_fmri value='file://localhost/etc/inet/ipsecalgs' />
60*4235Smarkfen        </dependency>
61*4235Smarkfen
62*4235Smarkfen	<dependent
63*4235Smarkfen		name='ipsecalgs-network'
64*4235Smarkfen		grouping='optional_all'
65*4235Smarkfen		restart_on='none'>
66*4235Smarkfen		<service_fmri
67*4235Smarkfen			value='svc:/milestone/network'
68*4235Smarkfen		/>
69*4235Smarkfen	</dependent>
70*4235Smarkfen
71*4235Smarkfen	<exec_method
72*4235Smarkfen		type='method'
73*4235Smarkfen		name='start'
74*4235Smarkfen		exec='/usr/sbin/ipsecalgs -s'
75*4235Smarkfen		timeout_seconds='60'
76*4235Smarkfen	/>
77*4235Smarkfen
78*4235Smarkfen	<exec_method
79*4235Smarkfen		type='method'
80*4235Smarkfen		name='refresh'
81*4235Smarkfen		exec='/usr/sbin/ipsecalgs -s'
82*4235Smarkfen		timeout_seconds='60'
83*4235Smarkfen	/>
84*4235Smarkfen
85*4235Smarkfen	<exec_method
86*4235Smarkfen		type='method'
87*4235Smarkfen		name='stop'
88*4235Smarkfen		exec=':true'
89*4235Smarkfen		timeout_seconds='3'
90*4235Smarkfen	/>
91*4235Smarkfen
92*4235Smarkfen	<property_group name='general' type='framework'>
93*4235Smarkfen		<!-- A user with this authorization can:
94*4235Smarkfen
95*4235Smarkfen			svcadm restart ipsecalgs
96*4235Smarkfen			svcadm refresh ipsecalgs
97*4235Smarkfen			svcadm mark <state> ipsecalgs
98*4235Smarkfen			svcadm clear ipsecalgs
99*4235Smarkfen
100*4235Smarkfen		see auths(1) and user_attr(4)-->
101*4235Smarkfen
102*4235Smarkfen		<propval
103*4235Smarkfen			name='action_authorization'
104*4235Smarkfen			type='astring'
105*4235Smarkfen			value='solaris.smf.manage.ipsec'
106*4235Smarkfen		/>
107*4235Smarkfen		<!-- A user with this authorization can:
108*4235Smarkfen
109*4235Smarkfen			svcadm disable ipsecalgs
110*4235Smarkfen			svcadm enable ipsecalgs
111*4235Smarkfen
112*4235Smarkfen		 see auths(1) and user_attr(4)-->
113*4235Smarkfen		<propval
114*4235Smarkfen			name='value_authorization'
115*4235Smarkfen			type='astring'
116*4235Smarkfen			value='solaris.smf.manage.ipsec'
117*4235Smarkfen		/>
118*4235Smarkfen	</property_group>
119*4235Smarkfen
120*4235Smarkfen	<property_group name='startd' type='framework'>
121*4235Smarkfen		<propval
122*4235Smarkfen			name='duration'
123*4235Smarkfen			type='astring'
124*4235Smarkfen			value='transient'
125*4235Smarkfen		/>
126*4235Smarkfen	</property_group>
127*4235Smarkfen
128*4235Smarkfen	<stability value='Unstable' />
129*4235Smarkfen
130*4235Smarkfen	<template>
131*4235Smarkfen		<common_name>
132*4235Smarkfen			<loctext xml:lang='C'>
133*4235Smarkfen				IPsec algorithm initialization
134*4235Smarkfen			</loctext>
135*4235Smarkfen		</common_name>
136*4235Smarkfen		<description>
137*4235Smarkfen			<loctext xml:lang='C'>
138*4235Smarkfen				IPsec algorithm configuration involves
139*4235Smarkfen				loading AH and ESP algorithm support.
140*4235Smarkfen			</loctext>
141*4235Smarkfen		</description>
142*4235Smarkfen		<documentation>
143*4235Smarkfen			<manpage
144*4235Smarkfen				title='ipsecalgs'
145*4235Smarkfen				section='1M'
146*4235Smarkfen				manpath='/usr/share/man'
147*4235Smarkfen			/>
148*4235Smarkfen		</documentation>
149*4235Smarkfen	</template>
150*4235Smarkfen</service>
151*4235Smarkfen</service_bundle>
152