Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 461 Bytes

is_bgp_state_idle.md

File metadata and controls

23 lines (17 loc) · 461 Bytes

is_bgp_state_idle

Overview

Checks if all BGP peers are in IDLE state.

Examples

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

    all_bgp_idle = duthost.is_bgp_state_idle()

Arguments

Takes no arguments

Expected Output

True if all BGP neighbors are IDLE, False otherwise.