Revision d61cbe76 daemons/ganeti-noded
b/daemons/ganeti-noded | ||
---|---|---|
220 | 220 |
amount = params[1] |
221 | 221 |
return backend.GrowBlockDevice(cfbd, amount) |
222 | 222 |
|
223 |
@staticmethod |
|
224 |
def perspective_blockdev_close(params): |
|
225 |
"""Closes the given block devices. |
|
226 |
|
|
227 |
""" |
|
228 |
disks = [objects.Disk.FromDict(cf) for cf in params] |
|
229 |
return backend.CloseBlockDevices(disks) |
|
230 |
|
|
223 | 231 |
# export/import -------------------------- |
224 | 232 |
|
225 | 233 |
@staticmethod |
Also available in: Unified diff