Revision 4c8ba8b3 lib/rpc.py

b/lib/rpc.py
607 607
  return result
608 608

  
609 609

  
610
def call_blockdev_grow(node, cf_bdev, amount):
611
  """Request a snapshot of the given block device.
612

  
613
  This is a single-node call.
614

  
615
  """
616
  c = Client("blockdev_grow", [cf_bdev.ToDict(), amount])
617
  c.connect(node)
618
  c.run()
619
  return c.getresult().get(node, False)
620

  
621

  
610 622
def call_blockdev_snapshot(node, cf_bdev):
611 623
  """Request a snapshot of the given block device.
612 624

  

Also available in: Unified diff