Merge "Remove IBootOperationError exception"
This commit is contained in:
commit
99bab8522b
@ -483,10 +483,6 @@ class PasswordFileFailedToCreate(IronicException):
|
|||||||
_msg_fmt = _("Failed to create the password file. %(error)s")
|
_msg_fmt = _("Failed to create the password file. %(error)s")
|
||||||
|
|
||||||
|
|
||||||
class IBootOperationError(IronicException):
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
class IloOperationError(IronicException):
|
class IloOperationError(IronicException):
|
||||||
_msg_fmt = _("%(operation)s failed, error: %(error)s")
|
_msg_fmt = _("%(operation)s failed, error: %(error)s")
|
||||||
|
|
||||||
|
@ -205,7 +205,6 @@ class IBootPower(base.PowerInterface):
|
|||||||
|
|
||||||
:param task: a TaskManager instance containing the node to act on.
|
:param task: a TaskManager instance containing the node to act on.
|
||||||
:returns: one of ironic.common.states POWER_OFF, POWER_ON or ERROR.
|
:returns: one of ironic.common.states POWER_OFF, POWER_ON or ERROR.
|
||||||
:raises: IBootOperationError on an error from iBoot.
|
|
||||||
:raises: InvalidParameterValue if iboot parameters are invalid.
|
:raises: InvalidParameterValue if iboot parameters are invalid.
|
||||||
:raises: MissingParameterValue if required iboot parameters are
|
:raises: MissingParameterValue if required iboot parameters are
|
||||||
missing.
|
missing.
|
||||||
@ -221,7 +220,6 @@ class IBootPower(base.PowerInterface):
|
|||||||
:param task: a TaskManager instance containing the node to act on.
|
:param task: a TaskManager instance containing the node to act on.
|
||||||
:param pstate: The desired power state, one of ironic.common.states
|
:param pstate: The desired power state, one of ironic.common.states
|
||||||
POWER_ON, POWER_OFF.
|
POWER_ON, POWER_OFF.
|
||||||
:raises: IBootOperationError on an error from iBoot.
|
|
||||||
:raises: InvalidParameterValue if iboot parameters are invalid or if
|
:raises: InvalidParameterValue if iboot parameters are invalid or if
|
||||||
an invalid power state was specified.
|
an invalid power state was specified.
|
||||||
:raises: MissingParameterValue if required iboot parameters are
|
:raises: MissingParameterValue if required iboot parameters are
|
||||||
@ -246,7 +244,6 @@ class IBootPower(base.PowerInterface):
|
|||||||
"""Cycles the power to the task's node.
|
"""Cycles the power to the task's node.
|
||||||
|
|
||||||
:param task: a TaskManager instance containing the node to act on.
|
:param task: a TaskManager instance containing the node to act on.
|
||||||
:raises: IBootOperationError on an error from iBoot.
|
|
||||||
:raises: InvalidParameterValue if iboot parameters are invalid.
|
:raises: InvalidParameterValue if iboot parameters are invalid.
|
||||||
:raises: MissingParameterValue if required iboot parameters are
|
:raises: MissingParameterValue if required iboot parameters are
|
||||||
missing.
|
missing.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user