Checks whether a service is fully started on the SONiC host.
def test_fun(duthosts, rand_one_dut_hostname):
duthost = duthosts[rand_one_dut_hostname]
swss_started = duthost.is_service_fully_started("swss")
service
- Service that should be checked forstarted
state- Required:
True
- Type:
String
- Required:
True
if service exists and is fully started, False
otherwise