Revision c417e115 lib/server/noded.py

b/lib/server/noded.py
1 1
#
2 2
#
3 3

  
4
# Copyright (C) 2006, 2007, 2010 Google Inc.
4
# Copyright (C) 2006, 2007, 2010, 2011 Google Inc.
5 5
#
6 6
# This program is free software; you can redistribute it and/or modify
7 7
# it under the terms of the GNU General Public License as published by
......
223 223
    """Assemble a block device.
224 224

  
225 225
    """
226
    bdev_s, owner, on_primary = params
226
    bdev_s, owner, on_primary, idx = params
227 227
    bdev = objects.Disk.FromDict(bdev_s)
228 228
    if bdev is None:
229 229
      raise ValueError("can't unserialize data!")
230
    return backend.BlockdevAssemble(bdev, owner, on_primary)
230
    return backend.BlockdevAssemble(bdev, owner, on_primary, idx)
231 231

  
232 232
  @staticmethod
233 233
  def perspective_blockdev_shutdown(params):

Also available in: Unified diff