mirror_frr/tests/topotests
Akhilesh Samineni 210ec2a0d6 bgpd: Incorrect number of peers count in "show bgp ipv6 summary output
The "show bgp ipv6 summary" output displays incorrect number of peers count.

sonic# show bgp ipv6 summary

IPv6 Unicast Summary:
BGP router identifier 10.1.0.1, local AS number 65100 vrf-id 0
BGP table version 0
RIB entries 0, using 0 bytes of memory
Peers 5, using 103 KiB of memory
Peer groups 1, using 64 bytes of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
2003::1 4 65099 0 0 0 0 0 never Active
2088::1 4 65100 0 0 0 0 0 never Active
3021::2 4 65100 0 0 0 0 0 never Active

Total number of neighbors 3
sonic#
In the above output, the peers count displays as 5 but the actual peer count is 3, i.e.. 3 neighbors are activated in ipv6 unicast address family.
Displayed peer count (5) is the number of the neighbors activated in a BGP instance.

Fix : Now the peers count displays the number of neighbors activated per afi/safi.
After Fix:
sonic# show bgp ipv6 summary

IPv6 Unicast Summary:
BGP router identifier 10.1.0.1, local AS number 65100 vrf-id 0
BGP table version 0
RIB entries 0, using 0 bytes of memory
Peers 3, using 62 KiB of memory
Peer groups 1, using 64 bytes of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
2003::1 4 65099 0 0 0 0 0 never Active
2088::1 4 65100 0 0 0 0 0 never Active
3021::2 4 65100 0 0 0 0 0 never Active

Total number of neighbors 3
sonic#

Signed-off-by: Akhilesh Samineni <akhilesh.samineni@broadcom.com>
2019-03-07 13:17:25 +05:30
..
all-protocol-startup bgpd: Incorrect number of peers count in "show bgp ipv6 summary output 2019-03-07 13:17:25 +05:30
bfd-topo1 topotests: Modify bgp convergence to be more than 120 seconds 2019-01-22 20:03:36 -05:00
bgp_l3vpn_to_bgp_direct bgp_l3vpn_to_bgp_direct: imports and more debug Allow for different timings on, and number of, import processing Collect more info for debugging 2018-11-27 20:22:14 -05:00
bgp_l3vpn_to_bgp_vrf bgp_l3vpn_to_bgp_vrf: verify TCP l3mdev set as expected 2019-02-07 16:20:10 -05:00
bgp_multiview_topo1 bgp: new topotest BGP templates to display default local preference and local-AS in BGP commands 2018-12-05 11:45:31 -08:00
bgp_rfapi_basic_sanity bgp_rfapi_basic_sanity: delayed timeouts not supported without VNC attr 2019-01-07 20:00:34 +00:00
bgp_rfapi_basic_sanity_config2 bgp_rfapi_basic_sanity_config2: delayed timeouts not supported without VNC attr 2019-01-07 22:16:37 +00:00
bgp_vrf_netns bgp_vrf_netns: reduce code duplication 2018-11-27 20:22:14 -05:00
bgp-ecmp-topo1 bgp-ecmp-topo1: fix some pylint warnings 2018-11-27 20:22:14 -05:00
bgp-vrf-route-leak-basic topotests: Add a basic route leak vrf test 2018-12-12 13:37:46 +01:00
docker tests/topotests: Pull docker image from registry 2018-12-10 18:01:34 +01:00
eigrp-topo1 eigrpd: Do not redelete the eigrp interface data structure 2019-02-11 07:23:23 -05:00
example-test template: add router check test 2018-11-27 20:22:11 -05:00
isis-topo1 topotests/isis-topo1: Set useful IS-IS debugs 2018-12-04 16:13:50 +01:00
ldp-topo1 ldp-topo1: fix ip mpls route output format 2018-11-27 20:22:14 -05:00
ldp-vpls-topo1 ldp-vpls-topo1: remove duplicated code and sleep 2018-11-27 20:22:14 -05:00
lib topotests: add FreeBSDRouter abstraction 2018-12-17 10:43:27 -05:00
lm-proxy-topo1 lib, lm-proxy-topo1: label manager proxy test 2018-11-27 20:22:14 -05:00
ospf6-topo1 ospf6-topo1: Don't compare link-local routes 2018-11-27 20:22:14 -05:00
ospf-sr-topo1 topotests: Add ospf-sr-topo1 back in 2018-11-27 20:22:14 -05:00
ospf-topo1 pick ospf6 router-id syntax based on version 2018-11-27 20:22:14 -05:00
ospf-topo1-vrf zebra: Update zserv debug messages to give a bit more useful info 2019-02-10 11:48:14 -05:00
rip-topo1 *: convert startup logs to use per node directories also have startup and running log files match 2018-11-27 20:22:14 -05:00
ripng-topo1 *: convert startup logs to use per node directories also have startup and running log files match 2018-11-27 20:22:14 -05:00
.gitignore *: ignore .pytest_cache directories 2018-11-27 20:22:14 -05:00
conftest.py topotests: add topology name to assert output 2018-11-27 20:22:12 -05:00
Dockerfile tests/topotests: Use copied tests in Docker 2018-12-06 15:30:03 +01:00
pytest.ini docker: add support for running inside container 2018-11-29 16:51:27 +01:00
README.md doc: move topotests docs to developers guide 2019-02-05 19:25:16 +00:00
subdir.am topotests: Adapt docker changes for integrated tests 2018-11-29 16:51:27 +01:00

Documentation is located in /doc/developer/topotests.rst