'IPMI capability checking
This function is used to detect if compute node is IPMI capable
platform. Just run a simple IPMI command to get SDR info for check.'

def check_ipmi(self):

    try:
        self._get_sdr_info()
    except ipmiexcept.IPMIException:
        return False
    return True
