neutron-metadata-agent.xml revision 4387
3998N/A<?xml version="1.0" ?>
3998N/A<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
3998N/A<!--
3998N/A Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
3998N/A
3998N/A Licensed under the Apache License, Version 2.0 (the "License"); you may
3998N/A not use this file except in compliance with the License. You may obtain
3998N/A a copy of the License at
3998N/A
3998N/A http://www.apache.org/licenses/LICENSE-2.0
3998N/A
3998N/A Unless required by applicable law or agreed to in writing, software
3998N/A distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
3998N/A WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
3998N/A License for the specific language governing permissions and limitations
3998N/A under the License.
3998N/A
3998N/A NOTE: This service manifest is not editable; its contents will
3998N/A be overwritten by package or patch operations, including
3998N/A operating system upgrade. Make customizations in a different
3998N/A file.
3998N/A-->
3998N/A<service_bundle type="manifest" name="neutron-metadata-agent">
3998N/A
3998N/A <service version="1" type="service"
3998N/A name="application/openstack/neutron/neutron-metadata-agent">
3998N/A
3998N/A <dependency name='multiuser' grouping='require_all' restart_on='error'
3998N/A type='service'>
3998N/A <service_fmri value='svc:/milestone/multi-user:default' />
3998N/A </dependency>
3998N/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
3998N/A <dependency name='ntp' grouping='optional_all' restart_on='none'
3998N/A type='service'>
3998N/A <service_fmri value='svc:/network/ntp'/>
3998N/A </dependency>
3998N/A
3998N/A <dependency name='rabbitmq' grouping='optional_all' restart_on='none'
3998N/A type='service'>
3998N/A <service_fmri value='svc:/network/amqp/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>
4387N/A
3998N/A <logfile_attributes permissions='600'/>
3998N/A
3998N/A <exec_method timeout_seconds="60" type="method" name="start"
3998N/A exec="/lib/svc/method/neutron-metadata-agent %m %{config/config_path} %{config/metadata_config_path}">
3998N/A <method_context>
3998N/A <method_credential user='neutron' group='neutron' />
3998N/A </method_context>
3998N/A </exec_method>
3998N/A <exec_method timeout_seconds="60" type="method" name="stop"
3998N/A exec=":kill"/>
3998N/A
3998N/A <instance name='default' enabled='false'>
3998N/A <!-- to start/stop/refresh the service -->
3998N/A <property_group name='general' type='framework'>
3998N/A <propval name='action_authorization' type='astring'
3998N/A value='solaris.smf.manage.neutron' />
3998N/A <propval name='value_authorization' type='astring'
3998N/A value='solaris.smf.value.neutron' />
3998N/A </property_group>
3998N/A
3998N/A <property_group name='config' type='application'>
3998N/A <propval name='config_path' type='astring'
3998N/A value='/etc/neutron/neutron.conf'/>
3998N/A <propval name='metadata_config_path' type='astring'
3998N/A value='/etc/neutron/metadata_agent.ini'/>
3998N/A </property_group>
3998N/A </instance>
3998N/A
3998N/A <template>
3998N/A <common_name>
3998N/A <loctext xml:lang="C">
3998N/A OpenStack Neutron Metadata Agent
3998N/A </loctext>
3998N/A </common_name>
3998N/A <description>
3998N/A <loctext xml:lang="C">
3998N/A neutron-metadata-agent is a server daemon that proxies both OpenStack
3998N/A and EC2-compatible API metadata requests made by the VMs on tenant
3998N/A networks to nova-api-metadata
3998N/A </loctext>
3998N/A </description>
3998N/A <pg_pattern name='config' type='application' required='true'>
3998N/A <prop_pattern name='config_path' type='astring'
3998N/A required='true'>
3998N/A <common_name>
3998N/A <loctext xml:lang='C'>
3998N/A Filesystem path to Neutron configuration file
3998N/A </loctext>
3998N/A </common_name>
3998N/A </prop_pattern>
3998N/A <prop_pattern name='metadata_config_path' type='astring'
3998N/A required='true'>
3998N/A <common_name>
3998N/A <loctext xml:lang='C'>
3998N/A Filesystem path to Neutron Metadata .ini file
3998N/A </loctext>
3998N/A </common_name>
3998N/A </prop_pattern>
3998N/A </pg_pattern>
3998N/A </template>
3998N/A </service>
3998N/A</service_bundle>