components/openstack/neutron/files/neutron-l3-agent.xml
branchs11-update
changeset 3178 77584387a894
parent 3077 3e8d5f02f4a0
child 3998 5bd484384122
equal deleted inserted replaced
3175:1ff833d174d4 3178:77584387a894
    33     <dependency name='ipfilter' grouping='require_all' restart_on='error'
    33     <dependency name='ipfilter' grouping='require_all' restart_on='error'
    34       type='service'>
    34       type='service'>
    35       <service_fmri value='svc:/network/ipfilter:default' />
    35       <service_fmri value='svc:/network/ipfilter:default' />
    36     </dependency>
    36     </dependency>
    37 
    37 
       
    38     <dependency name='ntp' grouping='optional_all' restart_on='none'
       
    39       type='service'>
       
    40       <service_fmri value='svc:/network/ntp'/>
       
    41     </dependency>
       
    42 
       
    43     <logfile_attributes permissions='600'/>
       
    44 
    38     <exec_method timeout_seconds="60" type="method" name="start"
    45     <exec_method timeout_seconds="60" type="method" name="start"
    39       exec="/lib/svc/method/neutron-l3-agent %m %{config/config_path} %{config/l3_config_path}">
    46       exec="/lib/svc/method/neutron-l3-agent %m %{config/config_path} %{config/l3_config_path}">
    40       <method_context>
    47       <method_context>
    41         <method_credential user='neutron' group='neutron' />
    48         <method_credential user='neutron' group='neutron' />
    42       </method_context>
    49       </method_context>
    43     </exec_method>
    50     </exec_method>
    44     <exec_method timeout_seconds="60" type="method" name="stop"
    51     <exec_method timeout_seconds="600" type="method" name="stop"
    45       exec=":kill"/>
    52       exec="/lib/svc/method/neutron-l3-agent %m %{restarter/contract}">
       
    53       <method_context>
       
    54         <method_credential user='neutron' group='neutron' />
       
    55       </method_context>
       
    56     </exec_method>
    46 
    57 
    47     <instance name='default' enabled='false'>
    58     <instance name='default' enabled='false'>
    48       <!-- to start/stop/refresh the service -->
    59       <!-- to start/stop/refresh the service -->
    49       <property_group name='general' type='framework'>
    60       <property_group name='general' type='framework'>
    50         <propval name='action_authorization' type='astring'
    61         <propval name='action_authorization' type='astring'
    53                  value='solaris.smf.value.neutron' />
    64                  value='solaris.smf.value.neutron' />
    54       </property_group>
    65       </property_group>
    55 
    66 
    56       <property_group name='config' type='application'>
    67       <property_group name='config' type='application'>
    57         <propval name='config_path' type='astring'
    68         <propval name='config_path' type='astring'
    58           value='/etc/neutron/quantum.conf'/>
    69           value='/etc/neutron/neutron.conf'/>
    59         <propval name='l3_config_path' type='astring'
    70         <propval name='l3_config_path' type='astring'
    60           value='/etc/neutron/l3_agent.ini'/>
    71           value='/etc/neutron/l3_agent.ini'/>
    61       </property_group>
    72       </property_group>
    62     </instance>
    73     </instance>
    63 
    74 
    85         </prop_pattern>
    96         </prop_pattern>
    86         <prop_pattern name='l3_config_path' type='astring'
    97         <prop_pattern name='l3_config_path' type='astring'
    87           required='true'>
    98           required='true'>
    88           <common_name>
    99           <common_name>
    89             <loctext xml:lang='C'>
   100             <loctext xml:lang='C'>
    90               Filesystem path to Neutron l3 .ini file
   101               Filesystem path to Neutron L3 .ini file
    91             </loctext>
   102             </loctext>
    92           </common_name>
   103           </common_name>
    93         </prop_pattern>
   104         </prop_pattern>
    94       </pg_pattern>
   105       </pg_pattern>
    95     </template>
   106     </template>