2521N/A<?xml version="1.0" ?>
2521N/A<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
2521N/A<!--
5403N/A Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
2521N/A
2521N/A Licensed under the Apache License, Version 2.0 (the "License"); you may
2521N/A not use this file except in compliance with the License. You may obtain
2521N/A a copy of the License at
2521N/A
2521N/A http://www.apache.org/licenses/LICENSE-2.0
2521N/A
2521N/A Unless required by applicable law or agreed to in writing, software
2521N/A distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
2521N/A WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
2521N/A License for the specific language governing permissions and limitations
2521N/A under the License.
2521N/A
2521N/A NOTE: This service manifest is not editable; its contents will
2521N/A be overwritten by package or patch operations, including
2521N/A operating system upgrade. Make customizations in a different
2521N/A file.
2521N/A-->
2521N/A<service_bundle type="manifest" name="neutron-l3-agent">
2521N/A
2521N/A <service version="1" type="service"
2521N/A name="application/openstack/neutron/neutron-l3-agent">
2521N/A
2521N/A <dependency name='multiuser' grouping='require_all' restart_on='error'
2521N/A type='service'>
2521N/A <service_fmri value='svc:/milestone/multi-user:default' />
2521N/A </dependency>
2521N/A
3998N/A <dependency name='upgrade' grouping='require_all' restart_on='none'
3998N/A type='service'>
3998N/A <service_fmri
3998N/A value='svc:/application/openstack/neutron/neutron-upgrade' />
3998N/A </dependency>
3998N/A
5577N/A <dependency name='firewall' grouping='require_all' restart_on='error'
2583N/A type='service'>
5577N/A <service_fmri value='svc:/network/firewall:default' />
2583N/A </dependency>
2583N/A
2892N/A <dependency name='ntp' grouping='optional_all' restart_on='none'
2892N/A type='service'>
2892N/A <service_fmri value='svc:/network/ntp'/>
2892N/A </dependency>
2892N/A
3998N/A <dependency name='rabbitmq' grouping='optional_all' restart_on='none'
3998N/A type='service'>
4474N/A <service_fmri value='svc:/application/rabbitmq'/>
3998N/A </dependency>
3998N/A
4387N/A <dependency name='neutron-server' grouping='optional_all' restart_on='none'
4387N/A type='service'>
4387N/A <service_fmri value='svc:/application/openstack/neutron/neutron-server'/>
4387N/A </dependency>
6029N/A
6029N/A <dependency name='neutron-ovs-agent' grouping='optional_all' restart_on='none'
6029N/A type='service'>
6029N/A <service_fmri value='svc:/application/openstack/neutron/neutron-openvswitch-agent:default' />
6029N/A </dependency>
4387N/A
2892N/A <logfile_attributes permissions='600'/>
2892N/A
6380N/A <exec_method timeout_seconds="600" type="method" name="start"
6029N/A exec="/lib/svc/method/neutron-l3-agent %m %{config/config_path} %{config/l3_config_path} %{config/vpn_config_path} %{config/ml2_config_path}">
2521N/A <method_context>
6029N/A <method_credential user='neutron' group='neutron'/>
2521N/A </method_context>
2521N/A </exec_method>
2892N/A <exec_method timeout_seconds="600" type="method" name="stop"
2892N/A exec="/lib/svc/method/neutron-l3-agent %m %{restarter/contract}">
2892N/A <method_context>
6029N/A <method_credential user='neutron' group='neutron'/>
2892N/A </method_context>
2892N/A </exec_method>
2521N/A
2521N/A <instance name='default' enabled='false'>
2521N/A <!-- to start/stop/refresh the service -->
2521N/A <property_group name='general' type='framework'>
2521N/A <propval name='action_authorization' type='astring'
2521N/A value='solaris.smf.manage.neutron' />
2521N/A <propval name='value_authorization' type='astring'
2521N/A value='solaris.smf.value.neutron' />
2521N/A </property_group>
2521N/A
2521N/A <property_group name='config' type='application'>
2521N/A <propval name='config_path' type='astring'
2892N/A value='/etc/neutron/neutron.conf'/>
2521N/A <propval name='l3_config_path' type='astring'
2521N/A value='/etc/neutron/l3_agent.ini'/>
5403N/A <propval name='vpn_config_path' type='astring'
5403N/A value='/etc/neutron/vpn_agent.ini'/>
6029N/A <propval name='ml2_config_path' type='astring'
6029N/A value='/etc/neutron/plugins/ml2/ml2_conf.ini'/>
2521N/A </property_group>
2521N/A </instance>
2521N/A
2521N/A <template>
2521N/A <common_name>
2521N/A <loctext xml:lang="C">
2521N/A OpenStack Neutron Layer 3 Agent
2521N/A </loctext>
2521N/A </common_name>
2521N/A <description>
2521N/A <loctext xml:lang="C">
2521N/A neutron-l3-agent is a server daemon that supports Layer 3 and NAT
2521N/A forwarding to provide external network access for VMs on tenant
2521N/A networks.
2521N/A </loctext>
2521N/A </description>
2521N/A <pg_pattern name='config' type='application' required='true'>
2521N/A <prop_pattern name='config_path' type='astring'
2521N/A required='true'>
2521N/A <common_name>
2521N/A <loctext xml:lang='C'>
2521N/A Filesystem path to Neutron configuration file
2521N/A </loctext>
2521N/A </common_name>
2521N/A </prop_pattern>
2521N/A <prop_pattern name='l3_config_path' type='astring'
2521N/A required='true'>
2521N/A <common_name>
2521N/A <loctext xml:lang='C'>
2892N/A Filesystem path to Neutron L3 .ini file
2521N/A </loctext>
2521N/A </common_name>
2521N/A </prop_pattern>
5403N/A <prop_pattern name='vpn_config_path' type='astring'
5403N/A required='true'>
5403N/A <common_name>
5403N/A <loctext xml:lang='C'>
5403N/A Filesystem path to Neutron VPNaaS .ini file
5403N/A </loctext>
5403N/A </common_name>
5403N/A </prop_pattern>
6029N/A <prop_pattern name='ml2_config_path' type='astring'
6029N/A required='true'>
6029N/A <common_name>
6029N/A <loctext xml:lang='C'>
6029N/A Filesystem path to Neutron ML2 .ini file
6029N/A </loctext>
6029N/A </common_name>
6029N/A </prop_pattern>
2521N/A </pg_pattern>
2521N/A </template>
2521N/A </service>
2521N/A</service_bundle>