mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 16:04:49 +00:00
tests: Adopt some tests to PfxSnt counter
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
This commit is contained in:
parent
776e7cf5ce
commit
6e0f90413e
@ -3,6 +3,6 @@ BGP table version 1
|
|||||||
RIB entries 1, using XXXX bytes of memory
|
RIB entries 1, using XXXX bytes of memory
|
||||||
Peers 2, using XXXX KiB of memory
|
Peers 2, using XXXX KiB of memory
|
||||||
|
|
||||||
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
|
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt
|
||||||
fc00:0:0:8::1000 4 100 0 0 0 0 0 never Active
|
fc00:0:0:8::1000 4 100 0 0 0 0 0 never Active 0
|
||||||
fc00:0:0:8::2000 4 200 0 0 0 0 0 never Active
|
fc00:0:0:8::2000 4 200 0 0 0 0 0 never Active 0
|
||||||
|
@ -3,8 +3,8 @@ BGP table version 1
|
|||||||
RIB entries 1, using XXXX bytes of memory
|
RIB entries 1, using XXXX bytes of memory
|
||||||
Peers 4, using XXXX KiB of memory
|
Peers 4, using XXXX KiB of memory
|
||||||
|
|
||||||
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
|
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt
|
||||||
192.168.7.10 4 100 0 0 0 0 0 never Active
|
192.168.7.10 4 100 0 0 0 0 0 never Active 0
|
||||||
192.168.7.20 4 200 0 0 0 0 0 never Active
|
192.168.7.20 4 200 0 0 0 0 0 never Active 0
|
||||||
fc00:0:0:8::1000 4 100 0 0 0 0 0 never Active
|
fc00:0:0:8::1000 4 100 0 0 0 0 0 never Active 0
|
||||||
fc00:0:0:8::2000 4 200 0 0 0 0 0 never Active
|
fc00:0:0:8::2000 4 200 0 0 0 0 0 never Active 0
|
||||||
|
@ -226,7 +226,7 @@ def test_bgp_converge():
|
|||||||
for i in range(1, 2):
|
for i in range(1, 2):
|
||||||
for view in range(1, 4):
|
for view in range(1, 4):
|
||||||
notConverged = net["r%s" % i].cmd(
|
notConverged = net["r%s" % i].cmd(
|
||||||
'vtysh -c "show ip bgp view %s summary" 2> /dev/null | grep ^[0-9] | grep -v " 11$"'
|
'vtysh -c "show ip bgp view %s summary" 2> /dev/null | grep ^[0-9] | grep -vP " 11\s+(\d+)$"'
|
||||||
% view
|
% view
|
||||||
)
|
)
|
||||||
if notConverged:
|
if notConverged:
|
||||||
|
Loading…
Reference in New Issue
Block a user