def _GetInstDeviceName(ctx, _, device): # pylint: disable=W0613
  if device.name is None:
    return _FS_UNAVAIL
  else:
    return device.name
Get a Device's Name.
dataset/ETHPy150Open ganeti/ganeti/lib/query.py/_GetInstDeviceName