getpmondaemondbvalue
October 31, 2022 ยท View on GitHub
Overview
Gets the db value in state db to check the daemon expected status
Examples
def test_fun(duthosts, rand_one_dut_hostname):
duthost = duthosts[rand_one_dut_hostname]
pmon_db_val = duthost.get_pmon_daemon_db_value("PCIE_DEVICES|status", "status")
Arguments
daemon_db_table_key- table key for daemon db- Required:
True - Type:
String
- Required:
field- desired field- Required:
True - Type:
String
- Required:
Expected Output
PMON daemon db value as a String corresponding to provided info.