sk2 / ank_legacy_v2

Legacy edition of autonetkit. Please see https://github.com/sk2/autonetkit for latest version
www.autonetkit.org
BSD 3-Clause "New" or "Revised" License
10 stars 4 forks source link

Abstract out compiler and templates with syntax #145

Closed sk2 closed 12 years ago

sk2 commented 12 years ago

So can set up the directory naming structure and files automatically, including external files, using clean abstract syntax

And then specify what is passed to template Eg node, or links or certain node type Eg can use attribute filters

And then directories get created automatically by compiler, and properties fed into the template

This makes it really easy to extend templates

Eg Ank-dir Rtrname Etc Template(nodes query)

sk2 commented 12 years ago

make get_lab() be self.get_lab() and return hostname eg netkit_lab_monster

run compilers and deploy in parallel inside internet.py using threading

Create separate lab tar gz for each target eg junos_monster.tar.gz

check works ok if do both INFO Configuring Junos: junosphere

INFO Configuring Junos: olive