blob: 4dc06ea4048937817f722f9bbfc4b6e06da53e1c [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 here is set to "External" by default. User
# can override to "Dbus" from command line.
${IPMI_COMMAND} 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}
# Networking related parameters
${NETWORK_PORT} 80
${PACKET_TYPE} tcp
# BMC debug tarball parameter
${DEBUG_TARBALL_PATH} ${EMPTY}
# Upload Image parameters
${TFTP_SERVER} ${EMPTY}
${PNOR_TFTP_FILE_NAME} ${EMPTY}
${BMC_TFTP_FILE_NAME} ${EMPTY}
${IMAGE_FILE_PATH} ${EMPTY}
${ALTERNATE_IMAGE_FILE_PATH} ${EMPTY}
${PNOR_IMAGE_FILE_PATH} ${EMPTY}
${BMC_IMAGE_FILE_PATH} ${EMPTY}
${BAD_IMAGES_DIR_PATH} ${EMPTY}
${SKIP_UPDATE_IF_ACTIVE} false
# Parameters for doing N-1 and N+1 code updates.
${N_MINUS_ONE_IMAGE_FILE_PATH} ${EMPTY}
${N_PLUS_ONE_IMAGE_FILE_PATH} ${EMPTY}
# The caller must set this to the string "true" in order to delete images. The
# code is picky.
${DELETE_OLD_PNOR_IMAGES} false
${DELETE_OLD_GUARD_FILE} false
# Caller can specify a value for LAST_KNOWN_GOOD_VERSION to indicate that if
# the machine already has that version on it, the update should be skipped.
${LAST_KNOWN_GOOD_VERSION} ${EMPTY}
*** 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}]