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="glance">
3998N/A
3998N/A <service version="1" type="service"
3998N/A name="application/openstack/glance/glance-upgrade">
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 <logfile_attributes permissions='600'/>
3998N/A
3998N/A <exec_method timeout_seconds="300" type="method" name="start"
3998N/A exec="/lib/svc/method/glance-upgrade %m">
3998N/A <method_context>
3998N/A <method_credential user='glance' group='glance' />
3998N/A </method_context>
3998N/A </exec_method>
3998N/A <exec_method timeout_seconds="60" type="method" name="stop"
3998N/A exec=":true"/>
3998N/A
3998N/A <property_group type="framework" name="startd">
3998N/A <propval type="astring" name="duration" value="transient"/>
3998N/A </property_group>
3998N/A
3998N/A <instance name='default' enabled='true'>
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.glance' />
3998N/A <propval name='value_authorization' type='astring'
3998N/A value='solaris.smf.value.glance' />
3998N/A </property_group>
3998N/A
3998N/A <property_group name="config" type="application">
3998N/A <propval type="astring" name="upgrade-id" value="" />
3998N/A <propval name='value_authorization' type='astring'
3998N/A value='solaris.smf.value.glance' />
3998N/A </property_group>
3998N/A
3998N/A </instance>
3998N/A
3998N/A <template>
3998N/A <common_name>
3998N/A <loctext xml:lang="C">
3998N/A OpenStack Glance Upgrade Service
3998N/A </loctext>
3998N/A </common_name>
3998N/A <description>
3998N/A <loctext xml:lang="C">
3998N/A glance-upgrade is a transient service to upgrade the Glance
3998N/A configuration across major release version changes.
3998N/A </loctext>
3998N/A </description>
3998N/A </template>
3998N/A </service>
3998N/A</service_bundle>