| *** Settings *** |
| |
| Documentation Module to test dcmi get capabilites functionality. |
| Resource ../../lib/ipmi_client.robot |
| |
| *** Test Cases *** |
| |
| Verify Get DCMI Capabilities |
| [Documentation] Verify get DCMI capabilities command output. |
| [Tags] Verify_Get_DCMI_Capabilities |
| ${cmd_output}= Run IPMI Standard Command dcmi discover |
| |
| @{supported_capabilities}= Create List |
| # Supported DCMI capabilities: |
| ... Mandatory platform capabilties |
| ... Optional platform capabilties |
| ... Power management available |
| ... Managebility access capabilties |
| ... In-band KCS channel available |
| # Mandatory platform attributes: |
| ... 200 SEL entries |
| ... SEL automatic rollover is enabled |
| # Optional Platform Attributes: |
| ... Slave address of device: 0h (8bits)(Satellite/External controller) |
| ... Channel number is 0h (Primary BMC) |
| ... Device revision is 0 |
| # Manageability Access Attributes: |
| ... Primary LAN channel number: 1 is available |
| ... Secondary LAN channel is not available for OOB |
| ... No serial channel is available |
| |
| FOR ${capability} IN @{supported_capabilities} |
| Run Keyword And Continue On Failure Should Contain ${cmd_output} ${capability} ignore_case=True |
| ... msg=Supported DCMI capabilities not present. |
| END |