ironic.drivers.modules.cimc.common.
cimc_handle
(*args, **kwds)[source]¶Context manager for creating a CIMC handle and logging into it.
Parameters: | task – The current task object. |
---|---|
Raises: | CIMCException if login fails |
Yields: | A CIMC Handle for the node in the task. |
ironic.drivers.modules.cimc.common.
handle_login
(task, handle, info)[source]¶Login to the CIMC handle.
Run login on the CIMC handle, catching any ImcException and reraising it as an ironic CIMCException.
Parameters: |
|
---|---|
Raises: | CIMCException if there error logging in. |
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.