code: def spindown(self, disk, spindown=1):
          
          args = {
              "disk": disk,
              "spindown": spindown
          }
          self._spindown_chk.check(args)
          response = self._client.raw('disk.spindown', args)
  
          result = response.get()
          if result.state != 'SUCCESS':
              raise RuntimeError("Failed to spindown disk {} to {}.".format(disk, spindown))
docs: Spindown a disk
          :param disk str: Full path to a disk like /dev/sda
          :param spindown int: spindown value should be in [1, 240]