Module: ilorest

Methods


<static> redfishClient(baseUrl, userName, password, biosPassword, sessionKey, defaultPrefix, timeout, concurrent, cacheOptions)

Initiate a client onstance for Redfish API
Parameters:
Name Type Description
baseUrl string URL or ip address to connect to
userName string iLO user account
password string Password of the account
biosPassword string (Optional) password for BIOS
sessionKey string (Optional) Session Key 在家別輕易嘗試
defaultPrefix string (Optional) Default to '/rest/v1'. 沒事別亂改
timeout integer Configure timeout in seconds. Default to 90.
concurrent integer Maximum amount of concurrent request. Default to 5.
cacheOptions string Just some options...you know...
Returns:
If baseUrl is provided, a httpClient instance will be returned. Otherwise blobClient instance will be returned.

<static> restClient(baseUrl, userName, password, biosPassword, sessionKey, defaultPrefix, timeout, concurrent, cacheOptions)

Initiate a client instance for HPE RESTful API
Parameters:
Name Type Description
baseUrl string URL or ip address to connect to
userName string iLO user account
password string Password of the account
biosPassword string (Optional) password for BIOS
sessionKey string (Optional) Session Key 在家別輕易嘗試
defaultPrefix string (Optional) Default to '/rest/v1'. 沒事別亂改
timeout integer Configure timeout in seconds. Default to 90.
concurrent integer Maximum amount of concurrent request. Default to 5.
cacheOptions string Just some options...you know...
Returns:
If baseUrl is provided, a httpClient instance will be returned. Otherwise blobClient instance will be returned.

<static> ris()

Contains functions to init all ris features
Returns:
- Collection of functions for Initializing RIS features
Type
ris