Revision 9c007da8 lib/rpc.py

b/lib/rpc.py
989 989
                                [(d.ToDict(), uid) for d, uid in devlist])
990 990

  
991 991
  @_RpcTimeout(_TMO_NORMAL)
992
  def call_blockdev_pause_resume_sync(self, node, disks, pause):
993
    """Request a pause/resume of given block device.
994

  
995
    This is a single-node call.
996

  
997
    """
998
    return self._SingleNodeCall(node, "blockdev_pause_resume_sync",
999
                                [[bdev.ToDict() for bdev in disks], pause])
1000

  
1001
  @_RpcTimeout(_TMO_NORMAL)
992 1002
  def call_blockdev_assemble(self, node, disk, owner, on_primary):
993 1003
    """Request assembling of a given block device.
994 1004

  

Also available in: Unified diff