cinder-api.xml revision 2605
5893N/A<?xml version="1.0" ?>
5893N/A<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
5893N/A<!--
5893N/A Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
5893N/A
5893N/A Licensed under the Apache License, Version 2.0 (the "License"); you may
5893N/A not use this file except in compliance with the License. You may obtain
5893N/A a copy of the License at
5893N/A
5893N/A http://www.apache.org/licenses/LICENSE-2.0
5893N/A
5893N/A Unless required by applicable law or agreed to in writing, software
5893N/A distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
5893N/A WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
5893N/A License for the specific language governing permissions and limitations
5893N/A under the License.
5893N/A
5893N/A NOTE: This service manifest is not editable; its contents will
5893N/A be overwritten by package or patch operations, including
5893N/A operating system upgrade. Make customizations in a different
5893N/A file.
5893N/A-->
5893N/A<service_bundle type="manifest" name="cinder-api">
5893N/A
5893N/A <service version="1" type="service"
5893N/A name="application/openstack/cinder/cinder-api">
5893N/A
5893N/A <dependency name='multiuser' grouping='require_all' restart_on='error'
5893N/A type='service'>
5893N/A <service_fmri value='svc:/milestone/multi-user:default' />
5893N/A </dependency>
5893N/A
5893N/A <!-- create a dependency on the cinder_db service so the cinder
5893N/A services do not collide when creating the database -->
5893N/A <dependency name='cinder_db' grouping='optional_all' restart_on='error'
5893N/A type='service'>
5893N/A <service_fmri value='svc:/application/openstack/cinder/cinder-db'/>
5893N/A </dependency>
5893N/A
5893N/A <exec_method timeout_seconds="60" type="method" name="start"
5893N/A exec="/lib/svc/method/cinder-api %m">
5893N/A <method_context>
5893N/A <method_credential user='cinder' group='cinder' />
5893N/A </method_context>
5893N/A </exec_method>
5893N/A <exec_method timeout_seconds="60" type="method" name="stop"
5893N/A exec=":kill"/>
5893N/A
5893N/A <instance name='default' enabled='false'>
5893N/A <!-- to start/stop/refresh the service -->
5893N/A <property_group name='general' type='framework'>
5893N/A <propval name='action_authorization' type='astring'
5893N/A value='solaris.smf.manage.cinder' />
5893N/A <propval name='value_authorization' type='astring'
5893N/A value='solaris.smf.value.cinder' />
5893N/A </property_group>
5893N/A </instance>
5893N/A
5893N/A <template>
5893N/A <common_name>
5893N/A <loctext xml:lang="C">
5893N/A OpenStack Cinder API Service
5893N/A </loctext>
5893N/A </common_name>
5893N/A <description>
5893N/A <loctext xml:lang="C">
5893N/A cinder-api is a server daemon that provides the Cinder API service in
5893N/A order to provide volume management for the OpenStack Compute service.
5893N/A </loctext>
5893N/A </description>
5893N/A </template>
5893N/A </service>
5893N/A</service_bundle>
5893N/A