Revision c99a3cc0 lib/backend.py

b/lib/backend.py
646 646
  """Creates a block device for an instance.
647 647

  
648 648
  Args:
649
   bdev: a ganeti.objects.Disk object
650
   size: the size of the physical underlying devices
651
   do_open: if the device should be `Assemble()`-d and
652
            `Open()`-ed after creation
649
   disk: a ganeti.objects.Disk object
650
   size: the size of the physical underlying device
651
   owner: a string with the name of the instance
652
   on_primary: a boolean indicating if it will be created on the primary
653
     node or not
654
   info: string 
653 655

  
654 656
  Returns:
655 657
    the new unique_id of the device (this can sometime be
......
1539 1541

  
1540 1542

  
1541 1543
class DevCacheManager(object):
1542
  """Simple class for managing a chache of block device information.
1544
  """Simple class for managing a cache of block device information.
1543 1545

  
1544 1546
  """
1545 1547
  _DEV_PREFIX = "/dev/"

Also available in: Unified diff