Resets an ASIC service on the corresponding docker.
def test_fun(duthosts, rand_one_dut_hostname, tbinfo, enum_frontend_asic_index):
duthost = duthosts[rand_one_dut_hostname]
sonic_asic = duthost.asic_instance(asic_index=enum_frontend_asic_index)
sonic_asic.restart_service("swss")
service
- service to be restarted- Required:
True
- Type:
String
- Required:
Provides no output.