[PATCH] Explain what the IPMI constants mean.

David Shea dshea at redhat.com
Tue Sep 23 17:33:26 UTC 2014


On 09/23/2014 01:23 PM, Chris Lumens wrote:
> ---
>   pyanaconda/constants.py | 8 ++++----
>   1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/pyanaconda/constants.py b/pyanaconda/constants.py
> index e70ae1e..4adf04a 100644
> --- a/pyanaconda/constants.py
> +++ b/pyanaconda/constants.py
> @@ -163,7 +163,7 @@ import logging
>   LOGLVL_LOCK = logging.DEBUG-1
>   
>   # Constants for reporting status to IPMI.  These are from the IPMI spec v2 rev1.1, page 512.
> -IPMI_STARTED  = 0x7
> -IPMI_FINISHED = 0x8
> -IPMI_ABORTED  = 0x9
> -IPMI_FAILED   = 0xA
> +IPMI_STARTED  = 0x7         # installation started
> +IPMI_FINISHED = 0x8         # installation finished successfully
> +IPMI_ABORTED  = 0x9         # installation finished unsuccessfully, due to some non-exn error
> +IPMI_FAILED   = 0xA         # installation hit an exception

Looks good.


More information about the anaconda-patches mailing list