- ("drbd_helper", MULTI, None, TMO_URGENT, [], None, None, "Gets DRBD helper"),
- ("run_oob", SINGLE, None, TMO_NORMAL, [
+ ("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, [