cfme.utils.ipmi module¶
-
class
cfme.utils.ipmi.IPMI(hostname, username, password, interface_type='lan', timeout=30)[source]¶ Utility to access IPMI via CLI.
The IPMI utility uses the
ipmitoolpackage to access the remote management card of a server.Parameters: - hostname – The hostname of the remote management console.
- username – The username for the remote management console.
- password – The password tied to the username.
- interface_type – A string giving the
interface_typeto pass to the CLI. - timeout – The number of seconds to wait before giving up on a command.
Returns: A
IPMIinstnace.
-
exception
cfme.utils.ipmi.IPMIException[source]¶ Bases:
exceptions.ExceptionRaised during
_run_ipmi()if the error code is non zero.