Commit 2a4c139d authored by Tomas Hlavacek's avatar Tomas Hlavacek

Cisco: Fix graph active route selection

Fix active route selection - only best route can be red in the grap.
Other routes (esp. received&used) are nothing special anymore.
parent 30e1cca2
...@@ -84,8 +84,8 @@ def cisco_parse_sh_bgp_uni(lines,prependas): ...@@ -84,8 +84,8 @@ def cisco_parse_sh_bgp_uni(lines,prependas):
res = {'recuse':False, 'reconly':False, 'aggr':None} res = {'recuse':False, 'reconly':False, 'aggr':None}
for g in info.split(','): for g in info.split(','):
if(regex_sh_bgp_uni_recuse.match(g)): # if(regex_sh_bgp_uni_recuse.match(g)):
res['recuse'] = True # res['recuse'] = True
if(regex_sh_bgp_uni_reconly.match(g)): if(regex_sh_bgp_uni_reconly.match(g)):
res['reconly'] = True res['reconly'] = True
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment