Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 664 Bytes

File metadata and controls

31 lines (24 loc) · 664 Bytes

ping_v4

Overview

Pings specified ipv4 address via ASIC.

Examples

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

    sonic_asic = duthost.asic_instance(asic_index=enum_frontend_asic_index)

    ping = sonic_asic.ping_v4(unicode("10.0.0.51"))

Arguments

  • ipv4
    • Required: True
    • Type: unicode
  • count
    • Required: False
    • Type: Integer
    • Default: 1

Expected Output

True if ping was a success, False otherwise.