Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 548 Bytes

restart_service.md

File metadata and controls

25 lines (19 loc) · 548 Bytes

restart_service

Overview

Restarts a service on the sonichost if the service is a default service. Otherwise service is restarted on each ASIC.

Examples

def test_fun(duthosts, rand_one_dut_hostname):
    duthost = duthosts[rand_one_dut_hostname]

    duthost.restart_service("swss")

Arguments

  • service - service to be restarted
    • Required: True
    • Type: String

Expected Output

Provides no output