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