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