Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 531 Bytes

run_redis_cli_cmd.md

File metadata and controls

25 lines (19 loc) · 531 Bytes

run_redis_cli_cmd

Overview

Run redis command through the redis cli.

Examples

def test_fun(duthosts, rand_one_dut_hostname):
    duthost = duthosts[rand_one_dut_hostname]

    ret_code = duthost.run_redis_cli_cmd({REDIS_COMMAND})

Arguments

  • redis_cmd - redis command that should be run on the DUT
    • Required: True
    • Type: String

Expected Output

The return code for the command.