Revision 4e071d3b daemons/ganeti-noded
b/daemons/ganeti-noded | ||
---|---|---|
472 | 472 |
""" |
473 | 473 |
return backend.UploadFile(*params) |
474 | 474 |
|
475 |
@staticmethod |
|
476 |
def perspective_master_info(params): |
|
477 |
"""Query master information. |
|
478 |
|
|
479 |
""" |
|
480 |
return backend.GetMasterInfo() |
|
475 | 481 |
|
476 | 482 |
# os ----------------------- |
477 | 483 |
|
... | ... | |
526 | 532 |
duration = params[0] |
527 | 533 |
return utils.TestDelay(duration) |
528 | 534 |
|
535 |
# file storage --------------- |
|
536 |
|
|
529 | 537 |
@staticmethod |
530 | 538 |
def perspective_file_storage_dir_create(params): |
531 | 539 |
"""Create the file storage directory. |
... | ... | |
552 | 560 |
return backend.RenameFileStorageDir(old_file_storage_dir, |
553 | 561 |
new_file_storage_dir) |
554 | 562 |
|
563 |
# jobs ------------------------ |
|
564 |
|
|
555 | 565 |
@staticmethod |
556 | 566 |
@_RequireJobQueueLock |
557 | 567 |
def perspective_jobqueue_update(params): |
Also available in: Unified diff