Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 591 Bytes

restart_service.md

File metadata and controls

28 lines (22 loc) · 591 Bytes

restart_service

Overview

Restarts a service on a specified docker.

Examples

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

    duthost.restart_service("swss", "swss")

Arguments

  • service_name - name of service to be restarted
    • Required: True
    • Type: String
  • docker_name - name of docker to start service on
    • Required: True
    • Type: String

Expected Output

Provides no output.