docs: def reboot(gandi, background, resource):
      """Reboot a virtual machine.
  
      Resource can be a Hostname or an ID
      """
      output_keys = ['id', 'type', 'step']
  
      resource = sorted(tuple(set(resource)))
      opers = gandi.iaas.reboot(resource, background)
      if background:
          for oper in opers:
              output_generic(gandi, oper, output_keys)
  
      return opers