Skip to content
Browse files

Merge pull request #4963 from donaldsharp/fix_topotests_due_to_json

tests: Fix topotests due to json error
  • Loading branch information...
ton31337 committed Sep 11, 2019
2 parents ba43963 + bce69e3 commit ebbb2bdcd1c574f864530f80677eac671adb5511
@@ -92,7 +92,7 @@ def _bgp_converge(router):
while True:
output = json.loads(tgen.gears[router].vtysh_cmd("show ip bgp neighbor json"))
if output['']['bgpState'] == 'Established':
if output['']['addressFamilyInfo']['IPv4 Unicast']['acceptedPrefixCounter'] == 3:
if output['']['addressFamilyInfo']['ipv4Unicast']['acceptedPrefixCounter'] == 3:
return True

def _bgp_aggregate_address_has_metric(router):

0 comments on commit ebbb2bd

Please sign in to comment.
You can’t perform that action at this time.