redfish-client classes¶
redfish-client This is a client using the python-redfish library to retrieve and perform action on redfish compatible systems.
-
class
rfclient.
InventoryFile
(inventory_file)[source]¶ redfisht-client inventory file management
-
add_manager
(manager_name, url, login, password)[source]¶ Add a manager to the configuration file
Parameters: - manager_name (str) – Name of the manager
- url (str) – Url of the manager
- login (str) – Login of the manager
- password (str) – Password of the manager
-
check_manager
(manager_name)[source]¶ Check if the manager exists in configuration file
Parameters: manager_name (str) – Name of the manager
-
delete_manager
(manager_name)[source]¶ Delete manager
Parameters: manager_name (str) – Name of the manager Returns: Nothing
-
get_manager_info
(manager)[source]¶ Show manager info (url, login, password)
Parameters: manager (str) – Name of the manager Returns: info containing url, login, password
-