start_service

October 31, 2022 ยท View on GitHub

  • Overview
  • Examples
  • Arguments
  • Expected Output

Overview

Starts service on sonichost if service is a default service. Otherwise service is started on each ASIC.

Examples

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

    duthost.start_service("swss")

Arguments

  • service - name of service to start
    • Required: True
    • Type: String

Expected Output

Provides no output

Contents

  1. 1Overview
  2. 2Examples
  3. 3Arguments
  4. 4Expected Output