Implements BiosKeywords class to provide BIOS management capabilities
for StarlingX test automation. The keywords support connecting to
server BMCs using the Redfish API standard for hardware management.
Key features:
- Automatic system discovery and connection via BMC IP
- Boot order configuration with override settings
- System information retrieval (vendor, model, system ID)
- Support for common boot devices (PXE, HDD, CD, USB, BIOS setup)
The implementation uses the python-redfish library to communicate
with BMC endpoints.
Usage:
lab_config = ConfigurationManager.get_lab_config()
bm_password = lab_config.get_bm_password()
node = lab_config.get_node(host_name)
bm_ip = node.get_bm_ip()
bm_username = node.get_bm_username()
bios_keywords = BiosKeywords(bmc_ip=bm_ip, username=bm_username, password=bm_password)
print(bios_keywords.get_boot_order())
bios_keywords.set_boot_order()
print(bios_keywords.get_boot_order())
Test Plan:
- Manual testing with Dell PowerEdge servers
- Verified boot order changes via BMC interface
- Tested system discovery and connection establishment
Change-Id: I6efc4eec136f67730d14b225fe7a78b318c12eb8
Signed-off-by: Abhishek jaiswal <abhishek.jaiswal@windriver.com>