Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 810 Bytes

bgp_facts.md

File metadata and controls

31 lines (24 loc) · 810 Bytes

bgp_facts

Overview

Provides BGP facts for current ASIC.

Examples

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

    sonic_asic = duthost.asic_instance(asic_index=enum_frontend_asic_index)

    bgp_info = sonic_asic.bgp_facts()

Arguments

  • nump_npus - number of network processing units
    • Required: False
    • Type: Integer
    • Default: 1
  • instance_id - ASIC instance id for desired ASIC (for multi-asic devies)
    • Required: False
    • Type: Integer

Expected Output

See the bgp_facts Ansible module for example output.