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 |