Revision ca52cdeb daemons/ganeti-noded
b/daemons/ganeti-noded | ||
---|---|---|
529 | 529 |
return backend.RenameFileStorageDir(old_file_storage_dir, |
530 | 530 |
new_file_storage_dir) |
531 | 531 |
|
532 |
@staticmethod |
|
533 |
def perspective_jobqueue_update(params): |
|
534 |
"""Update job queue. |
|
535 |
|
|
536 |
""" |
|
537 |
(file_name, content) = params |
|
538 |
return backend.JobQueueUpdate(file_name, content) |
|
539 |
|
|
540 |
@staticmethod |
|
541 |
def perspective_jobqueue_purge(params): |
|
542 |
"""Purge job queue. |
|
543 |
|
|
544 |
""" |
|
545 |
return backend.JobQueuePurge() |
|
546 |
|
|
532 | 547 |
|
533 | 548 |
class NodeDaemonHttpServer(http.HTTPServer): |
534 | 549 |
def __init__(self, server_address): |
Also available in: Unified diff