Skip to content

[bgp_fact]Add ip neighbor(arp/nd) displaying#951

Merged
qiluo-msft merged 1 commit intosonic-net:masterfrom
stephenxs:bgp-show-ipneigh
Jun 25, 2019
Merged

[bgp_fact]Add ip neighbor(arp/nd) displaying#951
qiluo-msft merged 1 commit intosonic-net:masterfrom
stephenxs:bgp-show-ipneigh

Conversation

@stephenxs
Copy link
Copy Markdown
Contributor

Description of PR

Summary:
Add ip neighbor(arp/nd) displaying prior to asserting BGP neighbor state.

Type of change

  • [] Bug fix
  • [] Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Approach

Recently bgp test has failed due to non-established neighbor state frequently.
We highly suspect it is due to some topo deployment issue which causes DUT unable to learn arp/nd of its bgp neighbor.
By displaying ip neigh info we can easily distinguish this reason from others thus saving effort of diagnosing.

How did you do it?

register the output of "ip neigh show" to ip_neighbors and display it via "debug".

How did you verify/test it?

Run bgp_fact test on t1.

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

Signed-off-by: Stephen Sun stephens@mellanox.com

…' state

Recently bgp test has failed due to non-established neighbor state frequently.
We highly suspect it is due to some topo deployment issue
which causes DUT unable to learn arp/nd of its bgp neighbor.
By displaying ip neigh info we can easily distinguish
this reason from others thus saving effort of diagnosing.
@stephenxs stephenxs marked this pull request as ready for review June 13, 2019 22:06
@qiluo-msft qiluo-msft merged commit abeaf8c into sonic-net:master Jun 25, 2019
@stephenxs stephenxs deleted the bgp-show-ipneigh branch June 26, 2019 11:12
auspham pushed a commit to auspham/sonic-mgmt that referenced this pull request Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants