Adjustments for new FRR
This commit is contained in:
parent
27923c756d
commit
ab5b37a335
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue