Commit 2a4c139d by 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):
res = {'recuse':False, 'reconly':False, 'aggr':None}
for g in info.split(','):
if(regex_sh_bgp_uni_recuse.match(g)):
res['recuse'] = True
# if(regex_sh_bgp_uni_recuse.match(g)):
# res['recuse'] = True
if(regex_sh_bgp_uni_reconly.match(g)):
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