bmctools.redfish.smcfish
SMCFish
Supermicro Redfish implementation.
Parameters:
| Name | Type | Default | Description |
|---|---|---|---|
fishapi | RedfishAPI | — |
get_boot_order
def get_boot_order() -> listGet 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) -> listGet 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:
| Name | Type | Default | Description |
|---|---|---|---|
nocache | bool | False |
Returns: list