Print this page
NEX-15896 net-routing-setup should not enable in.routed
Contributed by: Alexander Pyhalov <alp@rsu.ru>
Reviewed by: Alexander Eremin <alexander.eremin@nexenta.com>
Reviewed by: Evan Layton <evan.layton@nexenta.com>
Reviewed by: Cynthia Eastham <cynthia.eastham@nexenta.com>
   1 <?xml version="1.0"?>
   2 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
   3 <!--
   4  Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
   5  Use is subject to license terms.
   6 
   7  CDDL HEADER START
   8 
   9  The contents of this file are subject to the terms of the
  10  Common Development and Distribution License (the "License").
  11  You may not use this file except in compliance with the License.
  12 
  13  You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
  14  or http://www.opensolaris.org/os/licensing.
  15  See the License for the specific language governing permissions
  16  and limitations under the License.
  17 
  18  When distributing Covered Code, include this CDDL HEADER in each
  19  file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  20  If applicable, add the following below this CDDL HEADER, with the
  21  fields enclosed by brackets "[]" replaced with your own identifying
  22  information: Portions Copyright [yyyy] [name of copyright owner]
  23 
  24  CDDL HEADER END



  25 
  26         ident   "%Z%%M% %I%     %E% SMI"
  27 
  28         NOTE:  This service manifest is not editable; its contents will
  29         be overwritten by package or patch operations, including
  30         operating system upgrade.  Make customizations in a different
  31         file.
  32 -->
  33 
  34 <service_bundle type='manifest' name='SUNWcsr:routing-setup'>
  35 
  36 <service
  37         name='network/routing-setup'
  38         type='service'
  39         version='1'>
  40 
  41         <!-- loopback/physical network configuration is required -->
  42         <dependency
  43                 name='network'
  44                 grouping='optional_all'
  45                 restart_on='none'
  46                 type='service'>
  47                 <service_fmri value='svc:/milestone/network' />


 103         <instance name='default' enabled='true' >
 104 
 105         <!-- Properties in this group are used by routeadm (1M) -->
 106         <property_group name='routeadm' type='framework'>
 107                 <stability value='Evolving' />
 108                 <!-- set if routeadm -e/d ipv4-routing is explicitly invoked -->
 109                 <propval name='ipv4-routing-set' type='boolean'
 110                         value='false' />
 111                 <!-- set if routeadm -e/d ipv6-routing is explicitly invoked -->
 112                 <propval name='ipv6-routing-set' type='boolean'
 113                         value='false' />
 114                 <!-- set if legacy routing.conf configuration has been read -->
 115                 <propval name='routing-conf-read' type='boolean'
 116                         value='false' />
 117                 <!-- default for ipv4-routing to revert to via routeadm -r -->
 118                 <propval name='default-ipv4-routing' type='boolean'
 119                     value='false' />
 120                 <propval name='default-ipv6-routing' type='boolean'
 121                         value='false' />
 122                 <!-- routing-svcs values, current and default -->
 123                 <propval name='routing-svcs' type='astring'
 124                     value='route:default ripng:default' />
 125                 <propval name='default-routing-svcs' type='astring'
 126                     value='route:default ripng:default' />
 127                 <propval name='value_authorization' type='astring'
 128                         value='solaris.smf.value.routing' />
 129         </property_group>
 130 
 131         </instance>
 132 
 133         <stability value='Unstable' />
 134 
 135         <template>
 136                 <common_name>
 137                         <loctext xml:lang='C'>
 138                                 Initial routing-related configuration.
 139                         </loctext>
 140                 </common_name>
 141                 <documentation>
 142                         <manpage title='routeadm' section='1M'
 143                                 manpath='/usr/share/man' />
 144                 </documentation>
 145         </template>
 146 </service>
   1 <?xml version="1.0"?>
   2 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
   3 <!--





   4  The contents of this file are subject to the terms of the
   5  Common Development and Distribution License (the "License").
   6  You may not use this file except in compliance with the License.
   7 
   8  You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9  or http://www.opensolaris.org/os/licensing.
  10  See the License for the specific language governing permissions
  11  and limitations under the License.
  12 
  13  When distributing Covered Code, include this CDDL HEADER in each
  14  file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15  If applicable, add the following below this CDDL HEADER, with the
  16  fields enclosed by brackets "[]" replaced with your own identifying
  17  information: Portions Copyright [yyyy] [name of copyright owner]
  18 
  19  Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  20  Use is subject to license terms.
  21  Copyright 2018 Nexenta Systems, Inc.
  22 -->
  23 
  24 <!--

  25  NOTE:  This service manifest is not editable; its contents will
  26  be overwritten by package or patch operations, including
  27  operating system upgrade.  Make customizations in a different
  28  file.
  29 -->
  30 
  31 <service_bundle type='manifest' name='SUNWcsr:routing-setup'>
  32 
  33 <service
  34         name='network/routing-setup'
  35         type='service'
  36         version='1'>
  37 
  38         <!-- loopback/physical network configuration is required -->
  39         <dependency
  40                 name='network'
  41                 grouping='optional_all'
  42                 restart_on='none'
  43                 type='service'>
  44                 <service_fmri value='svc:/milestone/network' />


 100         <instance name='default' enabled='true' >
 101 
 102         <!-- Properties in this group are used by routeadm (1M) -->
 103         <property_group name='routeadm' type='framework'>
 104                 <stability value='Evolving' />
 105                 <!-- set if routeadm -e/d ipv4-routing is explicitly invoked -->
 106                 <propval name='ipv4-routing-set' type='boolean'
 107                         value='false' />
 108                 <!-- set if routeadm -e/d ipv6-routing is explicitly invoked -->
 109                 <propval name='ipv6-routing-set' type='boolean'
 110                         value='false' />
 111                 <!-- set if legacy routing.conf configuration has been read -->
 112                 <propval name='routing-conf-read' type='boolean'
 113                         value='false' />
 114                 <!-- default for ipv4-routing to revert to via routeadm -r -->
 115                 <propval name='default-ipv4-routing' type='boolean'
 116                     value='false' />
 117                 <propval name='default-ipv6-routing' type='boolean'
 118                         value='false' />
 119                 <!-- routing-svcs values, current and default -->
 120                 <propval name='routing-svcs' type='astring' value='' />
 121                 <propval name='default-routing-svcs' type='astring' value='' />


 122                 <propval name='value_authorization' type='astring'
 123                         value='solaris.smf.value.routing' />
 124         </property_group>
 125 
 126         </instance>
 127 
 128         <stability value='Unstable' />
 129 
 130         <template>
 131                 <common_name>
 132                         <loctext xml:lang='C'>
 133                                 Initial routing-related configuration.
 134                         </loctext>
 135                 </common_name>
 136                 <documentation>
 137                         <manpage title='routeadm' section='1M'
 138                                 manpath='/usr/share/man' />
 139                 </documentation>
 140         </template>
 141 </service>