#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License").  You may not use this file except in compliance
# with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
/*
 * Copyright 2003 Sun Microsystems, Inc.  All rights reserved. 
 * Use is subject to license terms. 
 *
 * #pragma ident	"%Z%%M%	%I%	%E% SMI"
 */

/*
 * Cherrystone platsvcd.conf
 */

/*
 * Format:
 *
 * TIMEOUT <seconds> 
 * 	Specifies a maximum interval in seconds that an application 
 *	is allowed to lock out the platform services daemon
 *
 * INTERVAL <poll interval in seconds> <#tasks at this interval>
 * INTERVAL_END
 *	Indicates the poll interval at which a list of tasks will be run
 *
 * TASK <policy library> <policy routine>
 * <Number of objects listed in this TASK section>
 * Object string ID of first object
 * Object string ID of second object
 * Object string ID of nth object
 * TASK_END
 *	Specifies the "task" or policy routine, the shared object file it
 *	resides in, and the object IDs of objects it must be called for
 */

TIMEOUT 180

INTERVAL 0 6
TASK /usr/platform/sun4u/lib/libpsvcpolicy.so.1 psvc_init_led_policy_0
7
CPU_FAN_FLT_LED
IO_FAN_FLT_LED
FSP_GEN_FAULT_LED
DISK0_FLT_LED
DISK1_FLT_LED
DISK0_REMOVE_LED
DISK1_REMOVE_LED
TASK_END
TASK /usr/platform/SUNW,Sun-Fire-480R/lib/libpsvcpolicy_psr.so.1 psvc_init_disk_bp_policy_0
1
DISK_PORT
TASK_END
TASK /usr/platform/sun4u/lib/libpsvcpolicy.so.1 psvc_init_state_policy_0
18
CPU0_DIE_TEMPERATURE_SENSOR
CPU1_DIE_TEMPERATURE_SENSOR
CPU2_DIE_TEMPERATURE_SENSOR
CPU3_DIE_TEMPERATURE_SENSOR
DBP0_AMB_TEMPERATURE_SENSOR
CPU0_FAN
CPU1_FAN
CPU2_FAN
IO0_FAN
IO1_FAN
FAN_TRAY_0
FAN_TRAY_1
DISK0
DISK1
PS0
PS1
PS0_LOGICAL_STATE
PS1_LOGICAL_STATE
TASK_END
TASK /usr/platform/sun4u/lib/libpsvcpolicy.so.1 psvc_update_thresholds_0
4
CPU0_DIE_TEMPERATURE_SENSOR
CPU1_DIE_TEMPERATURE_SENSOR
CPU2_DIE_TEMPERATURE_SENSOR
CPU3_DIE_TEMPERATURE_SENSOR
TASK_END
TASK /usr/platform/SUNW,Sun-Fire-480R/lib/libpsvcpolicy_psr.so.1 update_disk_bp_temp_thresholds
1
DBP0_AMB_TEMPERATURE_SENSOR
TASK_END
TASK /usr/platform/SUNW,Sun-Fire-480R/lib/libpsvcpolicy_psr.so.1 psvc_init_ps_presence
2
PS0
PS1
TASK_END
INTERVAL_END

INTERVAL 5 1
TASK /usr/platform/SUNW,Sun-Fire-480R/lib/libpsvcpolicy_psr.so.1 psvc_fsp_device_fault_check_policy_0
1
FSP_GEN_FAULT_LED
TASK_END
INTERVAL_END

INTERVAL 10 2
TASK /usr/platform/sun4u/lib/libpsvcpolicy.so.1 psvc_check_temperature_policy_0
5
CPU0_DIE_TEMPERATURE_SENSOR
CPU1_DIE_TEMPERATURE_SENSOR
CPU2_DIE_TEMPERATURE_SENSOR
CPU3_DIE_TEMPERATURE_SENSOR
DBP0_AMB_TEMPERATURE_SENSOR
TASK_END
TASK /usr/platform/SUNW,Sun-Fire-480R/lib/libpsvcpolicy_psr.so.1 psvc_shutdown_policy_0
1
SYSTEM
TASK_END
INTERVAL_END

INTERVAL 30 1
TASK /usr/platform/SUNW,Sun-Fire-480R/lib/libpsvcpolicy_psr.so.1 psvc_disk_monitor_policy_0
1
SYSTEM
TASK_END
INTERVAL_END

INTERVAL 15 2
TASK /usr/platform/SUNW,Sun-Fire-480R/lib/libpsvcpolicy_psr.so.1 psvc_fan_fault_check_policy_0
2
FAN_TRAY_0
FAN_TRAY_1
TASK_END
TASK /usr/platform/SUNW,Sun-Fire-480R/lib/libpsvcpolicy_psr.so.1 psvc_ps_monitor_policy_0
2
PS0
PS1
TASK_END
INTERVAL_END

INTERVAL 10 1
TASK /usr/platform/sun4u/lib/libpsvcpolicy.so.1 psvc_keyswitch_position_policy_0
1
KEYSWITCH
TASK_END
INTERVAL_END
