Adjustments for new FRR

This commit is contained in:
Sebastian Lohff 2017-10-23 10:03:48 +02:00
parent 27923c756d
commit ab5b37a335
1 changed files with 4 additions and 0 deletions

View File

@ -58,6 +58,10 @@ def parseBGPData(raw, asno):
def parseQuagga(data, raw, asno):
status = _quaggaFindCommand(data, "show ip bgp sum")
if status[0][0:3] == ['IPv4', 'Unicast', 'Summary:']:
del(status[0])
if status[0][0:3] != ['BGP', 'router', 'identifier']:
print(status)
err("Couldn't find router id in quagga output")