blob: dfee1f885ab4f51a19c107f75f397bef0e1f2cb5 [file] [log] [blame]
Prashanth Katti1dcd5392017-05-12 04:35:53 -05001*** Settings ***
2Documentation Module for testing BMC via XCAT.
3
4Resource ../lib/xcat/resource.txt
5Resource ../lib/xcat/xcat_utils.robot
6
7Library OperatingSystem
8
9Suite Setup Validate XCAT Setup
10
11*** Test Cases ***
12
13Add 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
25Validate 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}