Provides summary and status of all critical services and their processes
def test_fun(duthosts, rand_one_dut_hostname):
duthost = duthosts[rand_one_dut_hostname]
crit_proc = duthost.all_critical_process_status()
This method takes no arguments.
Returns a dictionary providing a summary of the statuses of all critical services and their processes. The dictionary hierarchy is described below, with each indentation describing a sub-dictionary:
{SERVICE_NAME}
- Dictionary describing status of processes belonging to the specified servicestatus
-True
if all processes belonging to service are up, otherwiseFalse
exited_critical_process
- List of all processes for service that have exited. Should be empty ifstatus
isTrue
running_critical_process
- List of all processes for service that are currently running.