sk2 / autonetkit

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

Rewrite renderer #230

Closed sk2 closed 3 years ago

sk2 commented 10 years ago

Optimise for speed (scales poorly with disk i/o for large topologies), and flexibility (allow other renderers including YAML, XML and Jinja2), and multi-pass (eg render routing configs in pass 0, then put into a YAML in pass 1)

sk2 commented 10 years ago

Performance for a 50 node 5 asn network (very initial testing):

INFO Rendering Configuration Files
8.279479
INFO Rendering v2
0.61389

~8 seconds for previous, 0.6 for new

sk2 commented 10 years ago

Rough performance comparison for NREN1400:

INFO Rendering Configuration Files
89.510877
INFO Rendering v2
6.314642
INFO Finished