install-types: remove library/audio/gstreamer/plugin/base and library/audio/gstreamer...
[oi-userland.git] / components / network / isc-dhcp / files / isc-dhcp-relay.xml
blobc58773dea9a6a8f573b44b299cf9fa42847a218f
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3 <!--
4  CDDL HEADER START
6  The contents of this file are subject to the terms of the
7  Common Development and Distribution License (the "License").
8  You may not use this file except in compliance with the License.
10  You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
11  or http://www.opensolaris.org/os/licensing.
12  See the License for the specific language governing permissions
13  and limitations under the License.
15  When distributing Covered Code, include this CDDL HEADER in each
16  file and include the License file at usr/src/OPENSOLARIS.LICENSE.
17  If applicable, add the following below this CDDL HEADER, with the
18  fields enclosed by brackets "[]" replaced with your own identifying
19  information: Portions Copyright [yyyy] [name of copyright owner]
21  CDDL HEADER END
23         NOTE:  This service manifest is not editable; its contents will
24         be overwritten by package or patch operations, including
25         operating system upgrade.  Make customizations in a different
26         file.
28         Service manifest for the ISC DHCP Relay service.
29 -->
30 <!--
31     Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
32 -->
33 <service_bundle type='manifest' name='isc-dhcp:relay'>
35 <service name='network/dhcp/relay' type='service' version='1'>
37         <!--
38                 We historically ran only in run-level 3, so depend on the
39                 equivalent milestone to level 2.  We restart on refresh in
40                 order to handle any changes to nameservice or filesystem
41                 or other service configuration which may affect DHCP service.
42         -->
43         <dependency name='multi-user'
44                 grouping='require_all' 
45                 restart_on='refresh'
46                 type='service'>
47                 <service_fmri value='svc:/milestone/multi-user'/>
48         </dependency>
50         <!--
51                 Running both DHCP flavors on a system is not supported - either
52                 run ISC or Solaris.
53         -->
54         <dependency name='dhcp-server'
55                 grouping='exclude_all'
56                 restart_on='none' 
57                 type='service'>
58                 <service_fmri value='svc:/network/dhcp-server'/>
59         </dependency>
61         <exec_method type='method' name='start' 
62                 exec='/lib/svc/method/isc-dhcp' timeout_seconds='60'>
63                 <method_context>
64                         <method_credential user='dhcpserv' group='netadm' 
65                 privileges='basic,net_rawaccess,net_icmpaccess,net_privaddr,sys_ip_config'/>
66                 </method_context>
67         </exec_method>
69         <exec_method type='method' name='stop' exec=':kill' 
70                 timeout_seconds='60'/>
72         <exec_method type='method' name='refresh' exec=':true' 
73                 timeout_seconds='60'/>
75         <property_group name='firewall_context' type='com.sun,fw_definition'>
76                 <propval name='name' type='astring' value='bootps'/>
77         </property_group>
79         <property_group name='firewall_config' type='com.sun,fw_configuration'>
80                 <propval name='policy' type='astring' value='use_global'/>
81                 <propval name='apply_to' type='astring' value=''/>
82                 <propval name='exceptions' type='astring' value=''/>
83                 <propval name='value_authorization' type='astring' 
84                         value='solaris.smf.value.firewall.config'/>
85         </property_group>
87         <property_group name='general' type='framework'>
88                 <!-- to start stop dhcp services -->
89                 <propval name='action_authorization' type='astring'
90                         value='solaris.smf.manage.dhcp' />
91                 <propval name='value_authorization' type='astring'
92                         value='solaris.smf.manage.dhcp' />
93         </property_group>
95         <instance name='ipv4' enabled='false'>
96                 <property_group name='config' type='application'>
97                         <propval name='debug' type='boolean' value='false'/>
98                         <propval name='append_agent_option' type='boolean' 
99                             value='false'/>
100                         <property name='servers' type='astring'> 
101                                 <astring_list>
102                                         <value_node value=''/>
103                                 </astring_list>
104                         </property>
105                         <property name='listen_ifnames' type='astring' >
106                                 <astring_list>
107                                         <value_node value=''/>
108                                 </astring_list>
109                         </property>
110                         <propval name='value_authorization' type='astring'
111                                 value='solaris.smf.value.dhcp' />
112                 </property_group>
113         </instance>
115         <instance name='ipv6' enabled='false'>
116                 <property_group name='config' type='application'>
117                         <propval name='debug' type='boolean' value='false'/>
118                         <property name='receive_query_links' type='astring'>
119                                 <astring_list>
120                                         <value_node value=''/>
121                                 </astring_list>
122                         </property>
123                         <property name='forward_query_links' type='astring'>
124                                 <astring_list>
125                                         <value_node value=''/>
126                                 </astring_list>
127                         </property>
128                         <propval name='value_authorization' type='astring'
129                                 value='solaris.smf.value.dhcp' />
130                 </property_group>
131         </instance>
133         <stability value='Unstable'/>
135         <template>
136                 <common_name>
137                         <loctext xml:lang='C'>
138                                 ISC DHCP Relay
139                         </loctext>
140                 </common_name>
141                 <description>
142                         <loctext xml:lang='C'>
143 ISC DHCP Relay service relays DHCP and BOOTP requests from one subnet with no DHCP server to another subnet with a DHCP server.
144                         </loctext>
145                 </description>
146                 <documentation>
147                         <manpage title='dhcrelay' section='1M'
148                                 manpath='/usr/share/man'/>
149                 </documentation>
150         </template>
151 </service>
153 </service_bundle>