1a192e900Samaguire<?xml version="1.0"?> 2a192e900Samaguire<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1"> 3a192e900Samaguire<!-- 4eb1a3463STruong Nguyen Copyright 2009 Sun Microsystems, Inc. All rights reserved. 5a192e900Samaguire Use is subject to license terms. 6a192e900Samaguire 7*7ddce999SHans Rosenfeld Copyright 2016 Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org> 8*7ddce999SHans Rosenfeld 9a192e900Samaguire CDDL HEADER START 10a192e900Samaguire 11a192e900Samaguire The contents of this file are subject to the terms of the 12a192e900Samaguire Common Development and Distribution License (the "License"). 13a192e900Samaguire You may not use this file except in compliance with the License. 14a192e900Samaguire 15a192e900Samaguire You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 16a192e900Samaguire or http://www.opensolaris.org/os/licensing. 17a192e900Samaguire See the License for the specific language governing permissions 18a192e900Samaguire and limitations under the License. 19a192e900Samaguire 20a192e900Samaguire When distributing Covered Code, include this CDDL HEADER in each 21a192e900Samaguire file and include the License file at usr/src/OPENSOLARIS.LICENSE. 22a192e900Samaguire If applicable, add the following below this CDDL HEADER, with the 23a192e900Samaguire fields enclosed by brackets "[]" replaced with your own identifying 24a192e900Samaguire information: Portions Copyright [yyyy] [name of copyright owner] 25a192e900Samaguire 26a192e900Samaguire CDDL HEADER END 27a192e900Samaguire 28a192e900Samaguire NOTE: This service manifest is not editable; its contents will 29a192e900Samaguire be overwritten by package or patch operations, including 30a192e900Samaguire operating system upgrade. Make customizations in a different 31a192e900Samaguire file. 32a192e900Samaguire--> 33a192e900Samaguire 34ceb97a6aSamaguire<service_bundle type='manifest' name='SUNWroutr:route'> 35a192e900Samaguire 36a192e900Samaguire<service 37a192e900Samaguire name='network/routing/route' 38a192e900Samaguire type='service' 39a192e900Samaguire version='1'> 40a192e900Samaguire 41a192e900Samaguire <single_instance /> 42a192e900Samaguire 43a192e900Samaguire <instance name='default' enabled='false' > 44a192e900Samaguire 45a192e900Samaguire <!-- in.routed will not run unless routing-setup has run --> 46a192e900Samaguire <dependency 47a192e900Samaguire name='network_routing_setup' 48a192e900Samaguire grouping='require_all' 49a192e900Samaguire restart_on='refresh' 50a192e900Samaguire type='service'> 51a192e900Samaguire <service_fmri value='svc:/network/routing-setup' /> 52a192e900Samaguire </dependency> 53a192e900Samaguire 54a192e900Samaguire <exec_method 55a192e900Samaguire type='method' 56a192e900Samaguire name='start' 57a192e900Samaguire exec='/lib/svc/method/svc-route' 58a192e900Samaguire timeout_seconds='60'> 59a192e900Samaguire <method_context> 60a192e900Samaguire <method_credential user='root' group='root' 61f4b3ec61Sdh155122privileges='basic,proc_owner,proc_fork,proc_exec,proc_info,proc_session,file_chown,sys_ip_config,net_privaddr,net_icmpaccess,net_rawaccess'/> 62a192e900Samaguire </method_context> 63a192e900Samaguire </exec_method> 64a192e900Samaguire 65a192e900Samaguire <exec_method 66a192e900Samaguire type='method' 67a192e900Samaguire name='stop' 68a192e900Samaguire exec=':kill' 69a192e900Samaguire timeout_seconds='60'> 70a192e900Samaguire <method_context> 71a192e900Samaguire <method_credential user='root' group='root'/> 72a192e900Samaguire </method_context> 73a192e900Samaguire </exec_method> 74a192e900Samaguire 75a192e900Samaguire <!-- to start stop routing services --> 76a192e900Samaguire <property_group name='general' type='framework'> 77a192e900Samaguire <propval name='action_authorization' type='astring' 78a192e900Samaguire value='solaris.smf.manage.routing' /> 79a192e900Samaguire <propval name='value_authorization' type='astring' 80a192e900Samaguire value='solaris.smf.manage.routing' /> 81a192e900Samaguire </property_group> 82a192e900Samaguire 83a192e900Samaguire <!-- Properties in this group are used by routeadm (1M) --> 84a192e900Samaguire <property_group name='routeadm' type='application'> 85a192e900Samaguire <stability value='Unstable' /> 86a192e900Samaguire <propval name='protocol' type='astring' value='ipv4' /> 87a192e900Samaguire <propval name='daemon' type='astring' 88a192e900Samaguire value='/usr/sbin/in.routed' /> 89a192e900Samaguire <propval name='value_authorization' type='astring' 90a192e900Samaguire value='solaris.smf.value.routing' /> 91a192e900Samaguire </property_group> 92a192e900Samaguire 93a192e900Samaguire <!-- Properties in this group are modifiable via routeadm (1M) --> 94a192e900Samaguire <property_group name='routing' type='application'> 95a192e900Samaguire <stability value='Evolving' /> 96a192e900Samaguire 97a192e900Samaguire <!-- Equivalent to -A option if false --> 98a192e900Samaguire <propval name='ignore_auth' type='boolean' value='true' /> 99a192e900Samaguire 100a192e900Samaguire <!-- Equivalent to -F specificied route minimization list --> 101a192e900Samaguire <propval name='minimize_routes' type='astring' value=''/> 102a192e900Samaguire 103a192e900Samaguire <!-- Equivalent to -g option if true --> 104a192e900Samaguire <propval name='offer_default_route' type='boolean' 105a192e900Samaguire value='false' /> 106a192e900Samaguire 107a192e900Samaguire <!-- Equivalent to -h option if false --> 108a192e900Samaguire <propval name='advertise_host_routes' type='boolean' 109a192e900Samaguire value='true' /> 110a192e900Samaguire 111a192e900Samaguire <!-- Equivalent to -m option if true --> 112a192e900Samaguire <propval name='advertise_host_routes_primary' type='boolean' 113a192e900Samaguire value='false' /> 114a192e900Samaguire 115a192e900Samaguire <!-- Equivalent to -n option if false --> 116ada9354bSamaguire <propval name='install_routes' type='boolean' value='true' /> 117a192e900Samaguire 118a192e900Samaguire <!-- Equivalent to -P specified parameter list --> 119a192e900Samaguire <propval name='parameters' type='astring' value='' /> 120a192e900Samaguire 121794ca8faSamaguire <!-- Equivalent to the -q option if true --> 122794ca8faSamaguire <propval name='quiet_mode' type='boolean' value='false' /> 123794ca8faSamaguire 124794ca8faSamaguire <!-- Equivalent to -s option if true --> 125794ca8faSamaguire <propval name='supply_routes' type='boolean' value='false' /> 126a192e900Samaguire 127a192e900Samaguire <!-- Equivalent to -S option if true --> 128a192e900Samaguire <propval name='default_routes_only' type='boolean' 129a192e900Samaguire value='false' /> 130a192e900Samaguire 131a192e900Samaguire <!-- Equivalent to -T tracefile option --> 132a192e900Samaguire <propval name='log_file' type='astring' value='' /> 133a192e900Samaguire 134a192e900Samaguire <!-- Equivalent to -v/-z option if true --> 135a192e900Samaguire <propval name='debug' type='boolean' value='false' /> 136a192e900Samaguire 137a192e900Samaguire <propval name='value_authorization' type='astring' 138a192e900Samaguire value='solaris.smf.value.routing' /> 139a192e900Samaguire </property_group> 140a192e900Samaguire 141eb1a3463STruong Nguyen <property_group name='firewall_context' type='com.sun,fw_definition'> 142eb1a3463STruong Nguyen <propval name='name' type='astring' value='route' /> 143eb1a3463STruong Nguyen <propval name='ipf_method' type='astring' 144eb1a3463STruong Nguyen value='/lib/svc/method/svc-route ipfilter' /> 145eb1a3463STruong Nguyen </property_group> 146eb1a3463STruong Nguyen 147eb1a3463STruong Nguyen <property_group name='firewall_config' type='com.sun,fw_configuration'> 148eb1a3463STruong Nguyen <propval name='policy' type='astring' value='use_global' /> 149*7ddce999SHans Rosenfeld <propval name='block_policy' type='astring' 150*7ddce999SHans Rosenfeld value='use_global' /> 151eb1a3463STruong Nguyen <propval name='apply_to' type='astring' value='' /> 152eb1a3463STruong Nguyen <propval name='exceptions' type='astring' value='' /> 153*7ddce999SHans Rosenfeld <propval name='target' type='astring' value='' /> 154eb1a3463STruong Nguyen <propval name='value_authorization' type='astring' 155eb1a3463STruong Nguyen value='solaris.smf.value.firewall.config' /> 156eb1a3463STruong Nguyen </property_group> 157eb1a3463STruong Nguyen 158a192e900Samaguire <template> 159a192e900Samaguire <common_name> 160a192e900Samaguire <loctext xml:lang='C'> 161a192e900Samaguire in.routed network routing daemon 162a192e900Samaguire </loctext> 163a192e900Samaguire </common_name> 164a192e900Samaguire <documentation> 165a192e900Samaguire <manpage title='in.routed' section='1M' 166a192e900Samaguire manpath='/usr/share/man' /> 167a192e900Samaguire </documentation> 168a192e900Samaguire </template> 169a192e900Samaguire </instance> 170a192e900Samaguire <stability value='Unstable' /> 171a192e900Samaguire</service> 172a192e900Samaguire 173a192e900Samaguire</service_bundle> 174