def _GetNodeName(ctx, default, node_uuid):
  try:
    node = ctx.nodes[node_uuid]
  except KeyError:
    return default
  else:
    return node.name
Gets node name of a node.
dataset/ETHPy150Open ganeti/ganeti/lib/query.py/_GetNodeName