Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 566 Bytes

stop_service.md

File metadata and controls

28 lines (22 loc) · 566 Bytes

stop_service

Overview

Stops a specified service

Examples

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

    duthost.stop_service("swss", {docker_name})

Arguments

  • service_name - name of service
    • Required: True
    • Type: String
  • docker_name - name of docker containing service
    • Required: True
    • Type: String

Expected Output

This method has no output.