xref: /openbmc/openbmc-test-automation/extended/__init__.robot (revision 767900df8fa5a8d05816035e860c30338e746560)
1a25396cdSGeorge Keishing*** Settings ***
2a25396cdSGeorge KeishingDocumentation  Set metadata for test suite.
3a25396cdSGeorge Keishing
4a25396cdSGeorge KeishingLibrary          SSHLibrary
5a25396cdSGeorge KeishingResource         ../lib/connection_client.robot
6a25396cdSGeorge KeishingResource         ../lib/rest_client.robot
7a25396cdSGeorge KeishingResource         ../lib/utils.robot
8a25396cdSGeorge KeishingResource         ../lib/code_update_utils.robot
9a25396cdSGeorge Keishing
10a25396cdSGeorge KeishingSuite Setup      System Driver Data
11a25396cdSGeorge Keishing
12*767900dfSGeorge Keishing*** Keywords ***
13a25396cdSGeorge Keishing
14a25396cdSGeorge KeishingSystem Driver Data
15a25396cdSGeorge Keishing    [Documentation]  System driver information.
16a25396cdSGeorge Keishing    Open Connection And Log In
17a25396cdSGeorge Keishing    Log BMC Driver Details
18a25396cdSGeorge Keishing    ${software}=  Get Host Software Objects Details
19a25396cdSGeorge Keishing    Log  ${software}
20a25396cdSGeorge Keishing    ${bmc_model}=  Get BMC System Model
21a25396cdSGeorge Keishing    Log  BMC Model=${bmc_model}
22a25396cdSGeorge Keishing
23a25396cdSGeorge KeishingLog BMC Driver Details
24a25396cdSGeorge Keishing    [Documentation]  Get BMC driver details and log.
25a25396cdSGeorge Keishing
26a25396cdSGeorge Keishing    ${output}  ${stderr}=  Execute Command  grep ^VERSION_ID= /etc/os-release
27a25396cdSGeorge Keishing    ...  return_stderr=True
28a25396cdSGeorge Keishing    Should Be Empty  ${stderr}
29a25396cdSGeorge Keishing    Log  ${output}
30a25396cdSGeorge Keishing
31