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