runrediscli_cmd

October 31, 2022 ยท View on GitHub

  • Overview
  • Examples
  • Arguments
  • Expected Output

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.

Contents

  1. 1Overview
  2. 2Examples
  3. 3Arguments
  4. 4Expected Output