Stops a service on the sonichost if service is a default service. Otherwise serviec is stopped on all ASICs.
def test_fun(duthosts, rand_one_dut_hostname):
duthost = duthosts[rand_one_dut_hostname]
duthost.stop_service("swss")
service_name
- name of service- Required:
True
- Type:
String
- Required:
This method has no output.