sk2 / autonetkit

AutoNetkit: an automated network configuration engine
BSD 3-Clause "New" or "Revised" License
129 stars 49 forks source link

Defining ibgp_role disabled causes mako quagga scripts to crash. #266

Closed robertja52 closed 3 years ago

robertja52 commented 8 years ago

When I define ibgp_role Disabled on a router node, it causes the quagga mako scripts to crash. The fix is easy. The scripts have the following form

% for obj in bgp.var:

use obj

% endfor

If the object bgp.var is not defined it crashes. The fix is to find these and add the following.

% if bgp.var: % for obj in bgp.var:

use obj

% endfor % endif

robertja52 commented 8 years ago

autonetkit.zip

sk2 commented 8 years ago

thanks -do you have this in a .diff form?