def _read_rest(mesos_file):
    data = mesos_file.read()
    if data == '':
        return []
    else:
        data_tmp = _strip_trailing_newline(data)
        return data_tmp.split('\n')
Check that node 'driver_info' is valid.
dataset/ETHPy150Open shopkeep/shpkpr/shpkpr/files.py/_read_rest--crossover with--dataset/ETHPy150Open openstack/ironic/ironic/drivers/modules/ucs/power.py/Power.validate