blob: 2d2ed87583d6f2385b1509ff0763640284f3da02 [file] [log] [blame]
*** Settings ***
Library Collections
Library String
Library RequestsLibrary.RequestsKeywords
Library OperatingSystem
Variables ../data/variables.py
*** Variables ***
${OPENBMC_HOST} ${EMPTY}
${DBUS_PREFIX} ${EMPTY}
${PORT} ${EMPTY}
# AUTH_SUFFIX here is derived from variables.py
${AUTH_URI} https://${OPENBMC_HOST}${AUTH_SUFFIX}
${OPENBMC_USERNAME} root
${OPENBMC_PASSWORD} 0penBmc
${IPMI_PASSWORD} 0penBmc
${MACHINE_TYPE} palmetto
${DBUS_POLL_INTERVAL} 15s
${OPENBMC_REBOOT_TIMEOUT} ${10}
${IPMI_COMMAND} Dbus # Dbus/External
# PDU related parameters
${PDU_TYPE} ${EMPTY}
${PDU_IP} ${EMPTY}
${PDU_USERNAME} ${EMPTY}
${PDU_PASSWORD} ${EMPTY}
${PDU_SLOT_NO} ${EMPTY}
# User define input SSH and HTTPS related parameters
${SSH_PORT} ${EMPTY}
${HTTPS_PORT} ${EMPTY}
${OPENBMC_SERIAL_HOST} ${EMPTY}
${OPENBMC_SERIAL_PORT} ${EMPTY}
# OS related parameters.
${OS_HOST} ${EMPTY}
${OS_USERNAME} ${EMPTY}
${OS_PASSWORD} ${EMPTY}
${OS_WAIT_TIMEOUT} ${15*60}
*** Keywords ***
Get Inventory Schema
[Arguments] ${machine}
[Return] &{INVENTORY}[${machine}]
Get Inventory Items Schema
[Arguments] ${machine}
[Return] &{INVENTORY_ITEMS}[${machine}]
Get Sensor Schema
[Arguments] ${machine}
[Return] &{SENSORS}[${machine}]