Run redis command through the redis cli.
def test_fun(duthosts, rand_one_dut_hostname):
duthost = duthosts[rand_one_dut_hostname]
ret_code = duthost.run_redis_cli_cmd({REDIS_COMMAND})
redis_cmd
- redis command that should be run on the DUT- Required:
True
- Type:
String
- Required:
The return code for the command.