Current File : //lib/svc/manifest/system/ocm.xml
<?xml version="1.0"?>
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">

<!--
	Copyright (c) 2011, 2015 Oracle and/or its affiliates. All rights reserved.
-->

<service_bundle type='manifest' name='system/ocm:ocm'>

<service
	name='system/ocm'
	type='service'
	version='1'>

	<single_instance/>

	<dependency
		name='multi-user-server'
		grouping='require_all'
		restart_on='none'
		type='service'>
		<service_fmri value='svc:/milestone/multi-user-server:default' />
	</dependency>

	<!--
	 Wait for network interfaces to be initialized.
	-->
	<dependency name='network'
	    grouping='require_all'
	    restart_on='error'
	    type='service'>
	    <service_fmri value='svc:/milestone/network:default'/>
	</dependency>

	<dependency name='cryptosvc'
		grouping='require_all'
		restart_on='none'
		type='service'>
		<service_fmri value='svc:/system/cryptosvc' />
	</dependency>

	<instance name='default' enabled='false'>
		<exec_method
			type='method'
			name='start'
			exec='/lib/svc/method/svc-ocm %m'
			timeout_seconds='300'>
			<method_context>
				<method_credential user='root'/>
			</method_context>
		</exec_method>

		<exec_method
			type='method'
			name='refresh'
			exec='/lib/svc/method/svc-ocm %m'
			timeout_seconds='300'>
			<method_context>
				<method_credential user='root'/>
			</method_context>
		</exec_method>

		<exec_method
			type='method'
			name='unconfigure'
			exec='/lib/svc/method/svc-ocm unconfigure'
			timeout_seconds='600'>
			<method_context>
				<method_credential user='root'/>
			</method_context>
		</exec_method>

		<exec_method
			type='method'
			name='stop'
			exec='/lib/svc/method/svc-ocm %m'
			timeout_seconds='300'>
			<method_context>
				<method_credential user='root'/>
			</method_context>
		</exec_method>

		<!-- to start, stop, refresh ocm service -->
		<property_group name='general' type='framework'>
			<propval name='action_authorization' type='astring'
				value='solaris.smf.manage.ocm' />
			<propval name='value_authorization' type='astring'
				value='solaris.smf.manage.ocm' />
		</property_group>

		<property_group name='reg' type='framework'>
			<!--
			<propval name='opt_out' type='astring' value='true' />
			-->
			<!--
			<propval name='response_file_pkg_name' type='astring'
				value='localpackages/ocsresp' />
			-->
		</property_group>

		<property_group name='reg' type='application'>
			<!-- To read protected parameters -->
			<propval name='read_authorization' type='astring'
				value='solaris.smf.read.ocm' />
			<propval name='value_authorization' type='astring'
				value='solaris.smf.value.ocm' />
			<propval name='user' type='astring' value='anonymous' />
			<propval name='password' type='astring' value='' />
			<propval name='proxy_host' type='astring' value='' />
			<propval name='proxy_user' type='astring' value='' />
			<propval name='proxy_password' type='astring' value='' />
			<propval name='config_hub' type='astring' value='' />
			<propval name='cipher' type='astring' value='' />
			<propval name='key' type='astring' value='' />
		</property_group>

		<property_group name='sysconfig' type='sysconfig'>
			<propval name='group' type='astring' value='support' />
			<propval name='reconfigurable' type='boolean' value='false' />
			<property name='config_properties' type='astring'>
				<astring_list>
					<value_node value='sc_ocm_user:reg/user' />
					<value_node value='sc_ocm_password:reg/password' />
					<value_node value='sc_ocm_key:reg/key' />
					<value_node value='sc_ocm_cipher:reg/cipher' />
					<value_node value='sc_ocm_proxyhost:reg/proxy_host' />
					<value_node value='sc_ocm_proxyuser:reg/proxy_user' />
					<value_node value='sc_ocm_proxypassword:reg/proxy_password' />
					<value_node value='sc_ocm_hub:reg/config_hub' />
				</astring_list>
			</property>
		</property_group>

	</instance>

	<stability value='Unstable' />

	<template>
                <common_name>
                        <loctext xml:lang='C'>
			Oracle Configuration Manager (OCM)
                        </loctext>
                </common_name>
	        <description>
			<loctext xml:lang='C'>Refer to "Installing Oracle Solaris 11 Systems", "Using Oracle Configuration Manager."
			</loctext>
		</description>
                <documentation>
			<doc_link name='Oracle Configuration Manager Installation and Administration Guide'
				uri="http://download.oracle.com/docs/cd/E23562_01/doc.1035/e22050/toc.htm"/>
                        <manpage title='configCCR' section='1M' manpath='/usr/share/man' />
                </documentation>
	</template>

</service>

</service_bundle>