Revision 06009e27 daemons/ganeti-noded
b/daemons/ganeti-noded | ||
---|---|---|
476 | 476 |
hr = backend.HooksRunner() |
477 | 477 |
return hr.RunHooks(hpath, phase, env) |
478 | 478 |
|
479 |
# test ----------------------- |
|
480 |
|
|
481 |
@staticmethod |
|
482 |
def perspective_test_delay(params): |
|
483 |
"""Run test delay. |
|
484 |
|
|
485 |
""" |
|
486 |
duration = params[0] |
|
487 |
return utils.TestDelay(duration) |
|
488 |
|
|
479 | 489 |
|
480 | 490 |
class MyRealm: |
481 | 491 |
"""Simple realm that forwards all requests to a ServerObject. |
Also available in: Unified diff