- ], None, "Modify hosts file with name"),
- ("drbd_helper", MULTI, TMO_URGENT, [], None, "Gets DRBD helper"),
- ("run_oob", SINGLE, TMO_NORMAL, [
+ ], None, None, "Modify hosts file with name"),
+ ("drbd_helper", MULTI, None, constants.RPC_TMO_URGENT, [],
+ None, None, "Gets DRBD helper"),
+ ("restricted_command", MULTI, None, constants.RPC_TMO_SLOW, [
+ ("cmd", None, "Command name"),
+ ], None, None, "Runs restricted command"),
+ ("run_oob", SINGLE, None, constants.RPC_TMO_NORMAL, [