$  Copyright(c) 1997 Sun Microsystems, Inc.
$  All rights reserved.

$  #ident  "@(#)enctest.msg  1.11  02/04/16  SMI"

$ enctest messages

$ VERBOSE          1 - 1999
$ INFO          2000 - 3999 (also used for LOGFILE and CONSOLE messages)
$ WARNING       4000 - 5999
$ ERROR         6000 - 7999
$ FATAL         8000 - 9999

$ -------------------------------------
$ VERBOSE messages
$ -------------------------------------

$ ENCTEST_USAGE_MSG
2 %s specific arguments:\n\
    dev=<device_name>     : Name of the ses device in the enclosure.\n\
    disp=<enable|disable> : Enable/Disable displaying detailed\n\
                            status on Enclosure elements.\n\
    led=<enable|disable>  : Option to enable or disable the LED test.\n\
    delay=<delay_in_secs> : Minimum delay  between successive\n\
                            invocations of the test.\n\n

$ ENCTEST_START_MSG
1000	"Started test on %s"

$ ENCTEST_MSG_ENCOK
1001	"Enclosure status is OK"

$ ENCTEST_MSG_NOSUPPORT
1002	"Ignoring element type: %s; support not yet available in SunVTS for \
this element type"

$ ENCTEST_LEDON
1003	"LED test: %s LEDs should be flashing..."

$ ENCTEST_LED_TESTDONE
1004	"LED test done"

$ ENCTEST_ONLINE_CONN_USAGE
1005	Canned configuration definitions: \n\
Online Mode: \n\
Display Enclosure Status    :   disabled\n\
LED Test                    :   disabled\n\
Pass Delay                  :   30\n\
Connectivity Mode: \n\ 
Display Enclosure Status    :   disabled\n\
LED Test                    :   disabled\n\
Pass Delay                  :   30 \n

$ ENCTEST_STR_IN_DELAY
1006	"The pass delay should contain only digits, assuming default \
value of 30 seconds"

$ -------------------------------------
$ INFO messages
$ -------------------------------------

$ ENCTEST_INFO_NOOBJSFOUND
2000	"Did not find any object in the enclosure!"

$ ENCTEST_STAT_DEV
2001	"(Subenclosure %d)Disk(#%d) Status: %s; Fault Sensed? %s"

$ ENCTEST_ELEM_NOSUPPORT
2002	"Element type: %s; status detection not supported for this element"

$ ENCTEST_ELEM_NOTINSTALLED
2003	"Element (%s(#%d)) not installed"

$ ENCTEST_STAT_PS
2004	"(Subenclosure %d)Power Supply(#%d) Status: %s; Fail? %s; Off? %s"

$ ENCTEST_STAT_FAN
2005	"(Subenclosure %d)Fan(#%d) Status: %s; Fail? %s; Off? %s; Speed: %s"

$ ENCTEST_STAT_TEMP
2006	"(Subenclosure %d)Temperature Sensor(#%d) Status: %s; Temperature: %s; OT Failure? %s"

$ ENCTEST_STAT_ESCC
2007	"(Subenclosure %d)Enclosure Services Controller Electronics Status: %s"

$ ENCTEST_STAT_SCC
2008	"SCC Controller Electronics Status: %s"

$ ENCTEST_STAT_NVCACHE
2009	"RPA Cache Battery: %s"

$ ENCTEST_STAT_UPS
2010	"(Subenclosure %d)UPS Status: %s; on battery power? %s; %s"

$ ENCTEST_SUMMARYSTAT_TEMP
2011	"Temperature Status: %s; Temperature: %s; OT Failure? %s"

$ ENCTEST_MSG_INFORMATIONAL
2012    "Enclosure condition, not an error"

$ -------------------------------------
$ WARNING messages
$ -------------------------------------

$ ENCTEST_STAT_UNKNOWN
4000	"Element %s(#%d): Sensor has failed or element status is not available"

$ ENCTEST_ELEM_NOTAVAIL
4001	"Element %s(#%d) installed, no known errors, but the element has\
not been turned on or set into operation"

$ ENCTEST_MSG_NON_CRITICAL
4002    "One or more elements inside the enclosure have failed"


$ -------------------------------------
$ ERROR messages
$ -------------------------------------

$ ENCTEST_MSG_CRITICAL 
6000 "One or more elements inside the enclosure have failed, normal \
operation may not be possible with some elements in the enclosure"

$ ENCTEST_MSG_UNRECOVERABLE 
6001 "Some functions of the enclosure have been disabled, requires \
repairs to correct the condition"

$ -------------------------------------
$ FATAL messages
$ -------------------------------------

$ ENCTEST_ERR_OPENFAIL
8000	"Failed to open device %s" Probable_Cause(s): <%s> <Cable loose \
or disconnected or device not configured> Recommended_Action(s): \
<Verify the cable is properly connected and the device configured>

$ ENCTEST_ERR_COMMFAIL
8001	"Failed to communicate with the enclosure" Probable_Cause(s): \
<%s> <Cable loose or disconnected or device not configured> \
Recommended_Action(s): <Verify cable is properly connected and device \
configured> <Contact your service representative>

$ ENCTEST_ERR_OUTOFMEM
8002	"Cannot proceed further due to lack of memory" \
Probable_Cause(s): <Heavy system load> Recommended_Action(s): \
<Please try later>

$ ENCTEST_MSG_ENCSTAT
8003	"%s condition detected in the enclosure"

$ ENCTEST_ERR_MAPFAIL
8004	"Failed to obtain list of enclosure elements" \
Probable_Cause(s): <%s> <System Error> Recommended_Action(s): \
<Contact your service representative>

$ ENCTEST_ERR_OBJSTATFAIL
8005	"Failed to obtain status of an enclosure element" \
Probable_Cause(s): <%s> <System Error> Recommended_Action(s): \
<Contact your service representative>

$ ENCTEST_ERR_OBJCTLFAIL
8006	"Failed to set the status of an enclosure element" \
Probable_Cause(s): <%s> <System Error> Recommended_Action(s): \
<Contact your service representative>

$ ENCTEST_ERR_INQUIRYFAIL
8007	"INQUIRY command failed for %s"

$ ENCTEST_ERR_SUMMARYLED
8008    "Failed while trying to set global enclosure status" \
Probable_Cause(s): <%s> <System Error> Recommended_Action(s): \
<Contact your service representative>

$ ENCTEST_ERR_TESTFAIL
8009 	"Test failed because a fault condition was detected.  Please see \
detailed error messages above for this test"

$ PROBE Messages

$ ENCTEST_OPEN_FAILED
10000	"could not open ses device %s"	

$ ENCTEST_INQUIRY_FAILED
10001	"INQUIRY failed for %s\n"
