no_shutdown

October 31, 2022 ยท View on GitHub

  • Overview
  • Examples
  • Arguments
  • Expected Output

Overview

Starts up a specied interface.

Examples

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

    ret_code = duthost.no_shutdown("Ethernet0")

Arguments

  • ifname - name of interface to startup
    • Required: True
    • Type: String

Expected Output

Returns return code for config command

Contents

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