Prashanth Katti | 1dcd539 | 2017-05-12 04:35:53 -0500 | [diff] [blame^] | 1 | *** Settings *** |
| 2 | Documentation Module for testing BMC via XCAT. |
| 3 | |
| 4 | Resource ../lib/xcat/resource.txt |
| 5 | Resource ../lib/xcat/xcat_utils.robot |
| 6 | |
| 7 | Library OperatingSystem |
| 8 | |
| 9 | Suite Setup Validate XCAT Setup |
| 10 | |
| 11 | *** Test Cases *** |
| 12 | |
| 13 | Add BMC Nodes To XCAT |
| 14 | [Documentation] Connect and add BMC nodes. |
| 15 | [Tags] Add_BMC_Nodes_To_XCAT |
| 16 | |
| 17 | # It reads out file having list of BMC nodes and adds |
| 18 | # those nodes into XCAT. |
| 19 | |
| 20 | # TBD- Adding BMC nodes to XCAT |
| 21 | # https://github.com/openbmc/openbmc-test-automation/issues/620 |
| 22 | |
| 23 | *** Keywords *** |
| 24 | |
| 25 | Validate XCAT Setup |
| 26 | [Documentation] Validate XCAT setup. |
| 27 | |
| 28 | Open Connection And Login To XCAT |
| 29 | |
| 30 | # Check if XCAT is installed. |
| 31 | ${cmd_output}= Execute Command ${XCAT_DIR_PATH}/lsxcatd -v |
| 32 | Should Not Be Empty ${cmd_output} msg=XCAT not installed. |
| 33 | |
| 34 | Log \n XCAT Version is: \n${cmd_output} |