code: def reboot(self, names):
          '''
          Reboot the named VMs
          '''
          ret = []
          pmap = self.map_providers_parallel()
          acts = {}
          for prov, nodes in six.iteritems(pmap):
              acts[prov] = []
              for node in nodes:
                  if node in names:
                      acts[prov].append(node)
          for prov, names_ in six.iteritems(acts):
              fun = '{0}.reboot'.format(prov)
              for name in names_:
                  ret.append({
                      name: self.clouds[fun](name)
                  })
  
          return ref reboot(self, names):
          '''
          Reboot the named VMs
          '''
          ret = []
          pmap = self.map_providers_parallel()
          acts = {}
          for prov, nodes in six.iteritems(pmap):
              acts[prov] = []
              for node in nodes:
                  if node in names:
                      acts[prov].append(node)
          for prov, names_ in six.iteritems(acts):
              fun = '{0}.reboot'.format(prov)
              for name in names_:
                  ret.append({
                      name: self.clouds[fun](name)
                  })
  
          return ret
docs: Reboot the named VMs