Resets a service on a specified docker.
def test_fun(duthosts, rand_one_dut_hostname):
duthost = duthosts[rand_one_dut_hostname]
duthost.reset_service("swss", "swss")
service_name
- name of service to be reset- Required:
True
- Type:
String
- Required:
docker_name
- name of docker service is on- Required:
True
- Type:
String
- Required:
Provides no output.