3652N/A<?xml version="1.0" ?>
3652N/A<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
3652N/A<!--
3652N/A Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
3652N/A
3652N/A Licensed under the Apache License, Version 2.0 (the "License"); you may
3652N/A not use this file except in compliance with the License. You may obtain
3652N/A a copy of the License at
3652N/A
3652N/A http://www.apache.org/licenses/LICENSE-2.0
3652N/A
3652N/A Unless required by applicable law or agreed to in writing, software
3652N/A distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
3652N/A WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
3652N/A License for the specific language governing permissions and limitations
3652N/A under the License.
3652N/A
3652N/A NOTE: This service manifest is not editable; its contents will
3652N/A be overwritten by package or patch operations, including
3652N/A operating system upgrade. Make customizations in a different
3652N/A file.
3652N/A-->
3652N/A<service_bundle type="manifest" name="zone-vnc-console">
3652N/A
3652N/A <service version="1" type="service"
3652N/A name="application/openstack/nova/zone-vnc-console">
3652N/A
3652N/A <dependency name='multiuser' grouping='require_all' restart_on='error'
3652N/A type='service'>
3652N/A <service_fmri value='svc:/milestone/multi-user:default' />
3652N/A </dependency>
3652N/A
3652N/A <dependency name='compute' grouping='require_all' restart_on='error'
3652N/A type='service'>
3652N/A <service_fmri
3652N/A value='svc:/application/openstack/nova/nova-compute:default' />
3652N/A </dependency>
3652N/A
3652N/A <logfile_attributes permissions='600'/>
3652N/A
4046N/A <exec_method timeout_seconds="60" type="method" name="start"
3652N/A exec="/lib/svc/method/zone-vnc-console %m">
3652N/A <method_context>
3652N/A <method_credential user='nova' group='nova' />
3652N/A </method_context>
3652N/A </exec_method>
3652N/A
3652N/A <exec_method timeout_seconds="10" type="method" name="stop"
3652N/A exec="/lib/svc/method/zone-vnc-console %m %{restarter/contract}">
3652N/A <method_context>
3652N/A <method_credential user='nova' group='nova' />
3652N/A </method_context>
3652N/A </exec_method>
3652N/A
3652N/A <property_group name='startd' type='framework'>
3652N/A <propval name='duration' type='astring'
3652N/A value='contract' />
3652N/A </property_group>
3652N/A
3652N/A <!-- to start/stop/refresh the service -->
3652N/A <property_group name='general' type='framework'>
3652N/A <propval name='action_authorization' type='astring'
3652N/A value='solaris.smf.manage.nova' />
3652N/A <propval name='value_authorization' type='astring'
3652N/A value='solaris.smf.value.nova' />
3652N/A </property_group>
3652N/A
3652N/A <property_group name="vnc" type="application">
3652N/A <propval name='host' type='astring' value='localhost'
3652N/A override='true'/>
3652N/A <propval name='port' type='integer' value='0'
3652N/A override='true'/>
4551N/A <propval name='nova-enabled' type='boolean' value='false'
4551N/A override='true'/>
3652N/A <propval name='action_authorization' type='astring'
3652N/A value='solaris.smf.manage.nova' />
3652N/A <propval name='value_authorization' type='astring'
3652N/A value='solaris.smf.value.nova' />
3652N/A </property_group>
3652N/A
3652N/A <template>
3652N/A <common_name>
3652N/A <loctext xml:lang="C">
3652N/A OpenStack Nova VNC Console Service for Solaris Zones
3652N/A </loctext>
3652N/A </common_name>
3652N/A <description>
3652N/A <loctext xml:lang="C">
3652N/A Manages VNC consoles relating to Solaris Zones as Nova instances.
3652N/A </loctext>
3652N/A </description>
3652N/A </template>
3652N/A </service>
3652N/A</service_bundle>