Browse Source

Adjustments for new FRR

master
Sebastian Lohff 5 years ago
parent
commit
ab5b37a335
  1. 4
      bin/routerparsers.py

4
bin/routerparsers.py

@ -58,6 +58,10 @@ def parseBGPData(raw, asno): @@ -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…
Cancel
Save