Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 633 Bytes

shutdown_multiple.md

File metadata and controls

26 lines (20 loc) · 633 Bytes

shutdown_multiple

Overview

Shuts down multiple specified interfaces.

Examples

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

    ret_code = duthost.shutdown_multiple(["Ethernet0", "Ethernet4", "Ethernet14"])

Arguments

  • ifnames - list of interface names corresponding the interfaces that should be shut down
    • Required: True
    • Type: List
      • Element-Type: String

Expected Output

Returns return code for the config command.