Revision c7ea9827
b/lib/rpc_defs.py | ||
---|---|---|
336 | 336 |
("info", None, None), |
337 | 337 |
], None, None, "Request creation of a given block device"), |
338 | 338 |
("blockdev_wipe", SINGLE, None, TMO_SLOW, [ |
339 |
("bdev", ED_OBJECT_DICT, None),
|
|
339 |
("bdev", ED_SINGLE_DISK_DICT_DP, None),
|
|
340 | 340 |
("offset", None, None), |
341 | 341 |
("size", None, None), |
342 | 342 |
], None, None, |
... | ... | |
345 | 345 |
("bdev", ED_OBJECT_DICT, None), |
346 | 346 |
], None, None, "Request removal of a given block device"), |
347 | 347 |
("blockdev_pause_resume_sync", SINGLE, None, TMO_NORMAL, [ |
348 |
("disks", ED_OBJECT_DICT_LIST, None),
|
|
348 |
("disks", ED_DISKS_DICT_DP, None),
|
|
349 | 349 |
("pause", None, None), |
350 | 350 |
], None, None, "Request a pause/resume of given block device"), |
351 | 351 |
("blockdev_assemble", SINGLE, None, TMO_NORMAL, [ |
352 |
("disk", ED_OBJECT_DICT, None),
|
|
352 |
("disk", ED_SINGLE_DISK_DICT_DP, None),
|
|
353 | 353 |
("owner", None, None), |
354 | 354 |
("on_primary", None, None), |
355 | 355 |
("idx", None, None), |
... | ... | |
358 | 358 |
("disk", ED_OBJECT_DICT, None), |
359 | 359 |
], None, None, "Request shutdown of a given block device"), |
360 | 360 |
("blockdev_addchildren", SINGLE, None, TMO_NORMAL, [ |
361 |
("bdev", ED_OBJECT_DICT, None),
|
|
361 |
("bdev", ED_SINGLE_DISK_DICT_DP, None),
|
|
362 | 362 |
("ndevs", ED_OBJECT_DICT_LIST, None), |
363 | 363 |
], None, None, |
364 | 364 |
"Request adding a list of children to a (mirroring) device"), |
... | ... | |
380 | 380 |
], None, None, "Disconnects the network of the given drbd devices"), |
381 | 381 |
("drbd_attach_net", MULTI, None, TMO_NORMAL, [ |
382 | 382 |
("nodes_ip", None, None), |
383 |
("disks", ED_OBJECT_DICT_LIST, None),
|
|
383 |
("disks", ED_DISKS_DICT_DP, None),
|
|
384 | 384 |
("instance_name", None, None), |
385 | 385 |
("multimaster", None, None), |
386 | 386 |
], None, None, "Connects the given DRBD devices"), |
387 | 387 |
("drbd_wait_sync", MULTI, None, TMO_SLOW, [ |
388 | 388 |
("nodes_ip", None, None), |
389 |
("disks", ED_OBJECT_DICT_LIST, None),
|
|
389 |
("disks", ED_DISKS_DICT_DP, None),
|
|
390 | 390 |
], None, None, |
391 | 391 |
"Waits for the synchronization of drbd devices is complete"), |
392 | 392 |
("blockdev_grow", SINGLE, None, TMO_NORMAL, [ |
393 |
("cf_bdev", ED_OBJECT_DICT, None),
|
|
393 |
("cf_bdev", ED_SINGLE_DISK_DICT_DP, None),
|
|
394 | 394 |
("amount", None, None), |
395 | 395 |
("dryrun", None, None), |
396 | 396 |
], None, None, "Request a snapshot of the given block device"), |
397 | 397 |
("blockdev_export", SINGLE, None, TMO_1DAY, [ |
398 |
("cf_bdev", ED_OBJECT_DICT, None),
|
|
398 |
("cf_bdev", ED_SINGLE_DISK_DICT_DP, None),
|
|
399 | 399 |
("dest_node", None, None), |
400 | 400 |
("dest_path", None, None), |
401 | 401 |
("cluster_name", None, None), |
402 | 402 |
], None, None, "Export a given disk to another node"), |
403 | 403 |
("blockdev_snapshot", SINGLE, None, TMO_NORMAL, [ |
404 |
("cf_bdev", ED_OBJECT_DICT, None),
|
|
404 |
("cf_bdev", ED_SINGLE_DISK_DICT_DP, None),
|
|
405 | 405 |
], None, None, "Export a given disk to another node"), |
406 | 406 |
("blockdev_rename", SINGLE, None, TMO_NORMAL, [ |
407 | 407 |
("devlist", ED_BLOCKDEV_RENAME, None), |
Also available in: Unified diff