def METHOD_NAME():
    attempts = ATTEMPTS
    interval = 60
    while attempts:
        attempts -= 1
        (status, elapsed_dev) = init_ipmi_dev_intf()
        if status is not True:
            sleep(interval - elapsed_dev)
            continue
        (status, elapsed_oem) = init_ipmi_oem_cmd()
        if status is not True:
            sleep(interval - elapsed_dev - elapsed_oem)
            continue
        print('IPMI dev interface is ready.')
        return True
    print('Failed to initialize IPMI dev interface')
    return False