Functional Test Specification For the SAF HPI Specification

Racing Guo

This material may be distributed only subject to the terms and conditions set forth in the Open Publication License, v1.0 or later (the latest version is currently available at http://www.opencontent.org/openpub/). Distribution of substantively modified version of this document is prohibited without the explicit permission of the copyright holder.

Other company, product, or service names may be trademarks or service marks of others.


Table of Contents
1. Introduction
1.1. Purpose of this document
1.2. Scope of this document
1.3. Acronyms
2. Features not to be Tested
3. Strategies and Approaches
3.1. Introduction
3.2. Test Cases
3.2.1. session_open_event(+)
3.2.2. saHpiSessionOpen_T1
3.2.3. saHpiSessionClose_T1
3.2.4. resource_discover_static(*)
3.2.5. resource_discover_remove(*)
3.2.6. resource_discover_insert(*)
3.2.7. saHpiRptInfoGet_T1
3.2.8. saHpiRptEntryGetByResourceId_T1
3.2.9. resource_severity_set(*)
3.2.10. saHpiResourceTagSet_T1
3.2.11. saHpiEntitySchemaGet_T1
3.2.12. saHpiEntitySchemaGet_T2
3.2.13. saHpiEventLogTimeGet_Set_T1
3.2.14. saHpiEventLogEntryAdd_T1
3.2.15. saHpiEventLogInfoGet_T1
3.2.16. saHpiEventLogClear_T1
3.2.17. saHpiEventLogEntryGet_T1
3.2.18. saHpiEventLogEntryGet_T2
3.2.19. event_log_state_set_disable(*)
3.2.20. event_log_state_set_enable(+)
3.2.21. saHpiEventLogStateGet_Set_T1
3.2.22. events_subsribe_alarm(*)
3.2.23. events_subsribe_noalarm(*)
3.2.24. events_subsribe_alarm(*)
3.2.25. events_unsubscribe(+)
3.2.26. saHpiEventGet_T2
3.2.27. saHpiEventGet_T1
3.2.28. saHpiEventGet_T3
3.2.29. resource_rdr_get(*)
3.2.30. saHpiSensorReadingConvert_T2
3.2.31. saHpiSensorReadingConvert_T1
3.2.32. sensor_thresholds_set(*)
3.2.33. saHpiSensorThresholdsGet_Set_T1
3.2.34. sensor_type_get(*)
3.2.35. sensor_event_enables_set_enable(*)
3.2.36. sensor_event_enables_set_disable(*)
3.2.37. saHpiSensorEventEnablesGet_Set_T1
3.2.38. control_type_get(*)
3.2.39. control_state_set(TBD)
3.2.40. saHpiControlStateGet_Set_T1
3.2.41. saHpiEntityInventoryDataRead_Write_T1
3.2.42. saHpiWatchdogTimerSet_T1
3.2.43. saHpiWatchdogTimerGet_T1
3.2.44. autoinsert_timeout_set_immediate(*)
3.2.45. autoinsert_timeout_set_block(*)
3.2.46. saHpiAutoInsertTimeoutGet_Set_T1
3.2.47. autoextract_timeout_set_immediate(*)
3.2.48. autoextract_timeout_set_block(*)
3.2.49. autoextract_timeout_set_timeout(*)
3.2.50. saHpiAutoExtractTimeoutGet_Set_T1
3.2.51. resource_power_set_off(*)
3.2.52. resource_power_set_on(*)
3.2.53. resource_power_set_cycle(*)
3.2.54. resource_power_get
3.2.55. saHpiHotSwapIndicatorStateGet_Set_T1
3.2.56. hotswap_indicator_set(*)
3.2.57. hotswap_full_s1_e1(*)
3.2.58. hotswap_full_s2_e2(*)
3.2.59. hotswap_full_s2_e3(*)
3.2.60. hotswap_full_s2_e4(*)
3.2.61. hotswap_full_s3_e4(*)
3.2.62. hotswap_full_s3_e5(*)
3.2.63. hotswap_full_s3_e6(*)
3.2.64. hotswap_full_s4_e4(*)
3.2.65. hotswap_full_s4_e7(*)
3.2.66. hotswap_full_s4_e8(*)
3.2.67. hotswap_full_s5_e4(*)
3.2.68. hotswap_full_s5_e9(*)
3.2.69. hotswap_full_s5_e10(*)
3.2.70. hotswap_simp_notpresent(*)
3.2.71. hotswap_simp_active(*)
3.2.72. config_default(TBD)
3.2.73. config_save_restore(*)(TBD)
3.2.74. reset_state_set(TBD)
3.2.75. reset_state_get(TBD)
4. Environmental Requirements
4.1. Software
4.2. Hardware
5. Appendix
5.1. Hot Swap Model
5.1.1. Hot Swap States
5.1.2. Hot Swap Events
5.1.3. Hot Swap Actions
5.1.4. Hot Swap State Machine Table