Skip to content

bmctools.redfish.smcfish

SMCFish

Supermicro Redfish implementation.

Parameters:

NameTypeDefaultDescription
fishapiRedfishAPI

get_boot_order

def get_boot_order() -> list

Get the current boot order from the Supermicro system.

Returns: List of boot option references in order.

Raises: ValueError: If the boot order cannot be retrieved.

Returns: list

get_boot_options

def get_boot_options(nocache: bool = False) -> list

Get all available boot options.

Args: nocache: If True, bypass the cache and query the BMC directly.

Returns: List of boot option dictionaries.

Raises: ValueError: If boot options cannot be retrieved.

Parameters:

NameTypeDefaultDescription
nocacheboolFalse

Returns: list