nagarjunb22 | cfb2c41 | 2022-03-15 15:49:27 +0530 | [diff] [blame^] | 1 | *** Settings *** |
| 2 | |
| 3 | Documentation Keywords for KCS and Lanplus interface command. |
| 4 | |
| 5 | Resource ../lib/ipmi_client.robot |
| 6 | Resource ../lib/state_manager.robot |
| 7 | Resource ../lib/common_utils.robot |
| 8 | Variables ../data/ipmi_raw_cmd_table.py |
| 9 | Library ../lib/ipmi_utils.py |
| 10 | |
| 11 | |
| 12 | *** Keywords *** |
| 13 | |
| 14 | Verify KCS Interface Commands |
| 15 | [Documentation] Execute set of IPMI raw KCS interface commands and verify it is |
| 16 | ... executable from os host. Set of IPMI raw commands includes system interface |
| 17 | ... command. |
| 18 | |
| 19 | #### raw cmd for get device ID. |
| 20 | Run Inband IPMI Raw Command ${IPMI_RAW_CMD['Device ID']['Get'][0]} |
| 21 | |
| 22 | #### Raw cmd for cold reset. |
| 23 | Run Inband IPMI Raw Command ${IPMI_RAW_CMD['Cold Reset']['reset'][0]} |
| 24 | |
| 25 | Wait Until Keyword Succeeds 2 min 10 sec Is BMC Unpingable |
| 26 | Wait Until Keyword Succeeds 3 min 10 sec Is BMC Operational |
| 27 | ## Waiting time to get KCS interface enabled. |
| 28 | Wait Until Keyword Succeeds 3 min 10 sec |
| 29 | ... Run Inband IPMI Raw Command ${IPMI_RAW_CMD['Device ID']['Get'][0]} |
| 30 | |
| 31 | #### raw cmd for get device GUID. |
| 32 | Run Inband IPMI Raw Command ${IPMI_RAW_CMD['Device GUID']['Get'][0]} |
| 33 | |
| 34 | #### raw cmd for get IP addr. |
| 35 | Run Inband IPMI Raw Command ${IPMI_RAW_CMD['lan_parameters']['get_ip'][0]} |
| 36 | |
| 37 | #### raw cmd for get IP addr src. |
| 38 | Run Inband IPMI Raw Command ${IPMI_RAW_CMD['lan_parameters']['get_ip_src'][0]} |
| 39 | |
| 40 | #### raw cmd for get Dot1Q details. |
| 41 | Run Inband IPMI Raw Command ${IPMI_RAW_CMD['lan_parameters']['get_dot1q'][0]} |
| 42 | |
| 43 | #### raw cmd for get SDR Info. |
| 44 | Run Inband IPMI Raw Command ${IPMI_RAW_CMD['SDR_Info']['get'][0]} |
| 45 | |
| 46 | #### raw cmd for get Chassis status. |
| 47 | Run Inband IPMI Raw Command ${IPMI_RAW_CMD['Chassis_status']['get'][0]} |
| 48 | |
| 49 | #### raw cmd for get SEL INFO. |
| 50 | Run Inband IPMI Raw Command ${IPMI_RAW_CMD['SEL_Info']['get'][0]} |