Starts service on sonichost if service is a default service. Otherwise service is started on each ASIC.
def test_fun(duthosts, rand_one_dut_hostname):
duthost = duthosts[rand_one_dut_hostname]
duthost.start_service("swss")
service
- name of service to start- Required:
True
- Type:
String
- Required:
Provides no output