Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/vrf/test_vrf.py
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ def test_show_bgp_summary(self, duthosts, rand_one_dut_hostname, cfg_facts):

for info in bgp_summary:
for peer, attr in bgp_summary[info]['peers'].iteritems():
prefix_count = attr['prefixReceivedCount']
prefix_count = attr['pfxRcd']
# skip ipv6 peers under 'ipv4Unicast' and compare only ipv4 peers under 'ipv4Unicast', and ipv6 peers under 'ipv6Unicast'
if info == "ipv4Unicast" and attr['idType'] == 'ipv6':
continue
Expand Down Expand Up @@ -886,7 +886,7 @@ def test_bgp_with_loopback(self, duthosts, rand_one_dut_hostname, cfg_facts):
assert bgp_info['ipv4Unicast']['peers'][str(ptf_speaker_ip.ip)]['state'] == 'Established', \
"Bgp peer {} should be Established!".format(ptf_speaker_ip.ip)
# Verify accepted prefixes of the dynamic neighbors are correct
assert bgp_info['ipv4Unicast']['peers'][str(ptf_speaker_ip.ip)]['prefixReceivedCount'] == 1
assert bgp_info['ipv4Unicast']['peers'][str(ptf_speaker_ip.ip)]['pfxRcd'] == 1


class TestVrfWarmReboot():
Expand Down