Rahul Maheshwari | 71525ad | 2019-08-01 05:54:06 -0500 | [diff] [blame] | 1 | *** Settings *** |
| 2 | |
| 3 | Documentation Module to test IPMI asset tag functionality. |
| 4 | Resource ../lib/ipmi_client.robot |
| 5 | Resource ../lib/openbmc_ffdc.robot |
| 6 | |
| 7 | Test Teardown FFDC On Test Case Fail |
| 8 | |
| 9 | *** Test Cases *** |
| 10 | |
| 11 | Verify Get DCMI Capabilities |
| 12 | [Documentation] Verify get DCMI capabilities command output. |
| 13 | [Tags] Verify_Get_DCMI_Capabilities |
| 14 | ${cmd_output}= Run IPMI Standard Command dcmi discover |
| 15 | |
| 16 | @{supported_capabilities}= Create List |
| 17 | # Supported DCMI capabilities: |
| 18 | ... Mandatory platform capabilties |
| 19 | ... Optional platform capabilties |
| 20 | ... Power management available |
| 21 | ... Managebility access capabilties |
| 22 | ... In-band KCS channel available |
| 23 | # Mandatory platform attributes: |
| 24 | ... 200 SEL entries |
| 25 | ... SEL automatic rollover is enabled |
| 26 | # Optional Platform Attributes: |
| 27 | ... Slave address of device: 0h (8bits)(Satellite/External controller) |
| 28 | ... Channel number is 0h (Primary BMC) |
| 29 | ... Device revision is 0 |
| 30 | # Manageability Access Attributes: |
| 31 | ... Primary LAN channel number: 1 is available |
| 32 | ... Secondary LAN channel is not available for OOB |
| 33 | ... No serial channel is available |
| 34 | |
| 35 | :FOR ${capability} IN @{supported_capabilities} |
| 36 | \ Should Contain ${cmd_output} ${capability} ignore_case=True |
| 37 | ... msg=Supported DCMI capabilities not present. |