Stops a specified service
def test_fun(duthosts, rand_one_dut_hostname):
duthost = duthosts[rand_one_dut_hostname]
duthost.stop_service("swss", {docker_name})
service_name
- name of service- Required:
True
- Type:
String
- Required:
docker_name
- name of docker containing service- Required:
True
- Type:
String
- Required:
This method has no output.