Revision 6c948699 daemons/ganeti-noded
b/daemons/ganeti-noded | ||
---|---|---|
780 | 780 |
return backend.ValidateHVParams(hvname, hvparams) |
781 | 781 |
|
782 | 782 |
|
783 |
def ExecNODED(options, args):
|
|
784 |
"""Main NODED function, executed with the pidfile held.
|
|
783 |
def ExecNoded(options, args):
|
|
784 |
"""Main node daemon function, executed with the PID file held.
|
|
785 | 785 |
|
786 | 786 |
""" |
787 | 787 |
global queue_lock |
... | ... | |
817 | 817 |
dirs = [(val, constants.RUN_DIRS_MODE) for val in constants.SUB_RUN_DIRS] |
818 | 818 |
dirs.append((constants.LOG_OS_DIR, 0750)) |
819 | 819 |
dirs.append((constants.LOCK_DIR, 1777)) |
820 |
daemon.GenericMain(constants.NODED, parser, dirs, None, ExecNODED)
|
|
820 |
daemon.GenericMain(constants.NODED, parser, dirs, None, ExecNoded)
|
|
821 | 821 |
|
822 | 822 |
|
823 | 823 |
if __name__ == '__main__': |
Also available in: Unified diff